Skip to content
Snippets Groups Projects
Commit a36dccff authored by yogeshwar's avatar yogeshwar
Browse files

#Fixes::158082441::Yogeshwar::Have set source as IMPORT

parent 05291d39
No related branches found
No related tags found
No related merge requests found
......@@ -451,6 +451,7 @@ class PriceBooks extends CRMEntity {
unset($fieldData['listprice']); unset($fieldData['relatedto']);
$fieldData = $obj->transformForImport($fieldData, $moduleMeta);
try{
$fieldData['source'] = $obj->recordSource;
$entityInfo = vtws_create($moduleName, $fieldData, $obj->user);
if($entityInfo && $productList){
$this->relatePriceBookWithProduct($entityInfo, $productList);
......
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