From a36dccff15cd4908fe196e9d89d11a107842f21d Mon Sep 17 00:00:00 2001 From: "yogeshwar.g" <yogeshwar.g@vtigersolutions.com> Date: Tue, 9 Jan 2024 12:42:01 +0530 Subject: [PATCH] #Fixes::158082441::Yogeshwar::Have set source as IMPORT --- modules/PriceBooks/PriceBooks.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/PriceBooks/PriceBooks.php b/modules/PriceBooks/PriceBooks.php index 8bb2fc7ef..7ecbf15fd 100755 --- a/modules/PriceBooks/PriceBooks.php +++ b/modules/PriceBooks/PriceBooks.php @@ -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); -- GitLab