Skip to content
Snippets Groups Projects
Commit bb814930 authored by madhu sr's avatar madhu sr
Browse files

#Fixes::158300385::madhusr::import the records,source field is updating with the 'WEBSERVICE'

parent f415cfda
No related branches found
No related tags found
No related merge requests found
...@@ -765,11 +765,9 @@ class Import_Data_Action extends Vtiger_Action_Controller { ...@@ -765,11 +765,9 @@ class Import_Data_Action extends Vtiger_Action_Controller {
$_REQUEST['cur_'.$this->lineitem_currency_id.'_check'] = 1; $_REQUEST['cur_'.$this->lineitem_currency_id.'_check'] = 1;
} }
$fieldData['currency_id'] = $this->lineitem_currency_id; $fieldData['currency_id'] = $this->lineitem_currency_id;
// to save Source of Record while Creating
$fieldData['source'] = $this->recordSource;
} }
// to save Source of Record while Creating
$fieldData['source'] = $this->recordSource;
if ($fieldData != null && $checkMandatoryFieldValues) { if ($fieldData != null && $checkMandatoryFieldValues) {
foreach ($moduleFields as $fieldName => $fieldInstance) { foreach ($moduleFields as $fieldName => $fieldInstance) {
if ((($fieldData[$fieldName] == '') || ($fieldData[$fieldName] == null)) && $fieldInstance->isMandatory()) { if ((($fieldData[$fieldName] == '') || ($fieldData[$fieldName] == null)) && $fieldInstance->isMandatory()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment