From e8ba145debbace4e1016d854ccd0a92f3403fd5e Mon Sep 17 00:00:00 2001
From: yanweiyuan3 <yanweiyuan3@gmail.com>
Date: 星期三, 11 十月 2023 17:59:33 +0800
Subject: [PATCH] Merge branch 'dev' into dev_yy

---
 _Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl b/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
index f011f1d..7c5d308 100644
--- a/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
+++ b/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
@@ -3,15 +3,11 @@
 StaticMethod FromSupplyPlanning (
   GlobalOTDTable otdTable,
   MacroPlan macroPlan,
-  MacroPlan mappingRoot,
-  String mrpCalverNo
+  String mrpCalverNo,
+  String userId
 )
 {
-  Description:
-  [*
-    SupplyPlanning杞琍RData
-    todo 淇敼mappingRoot涓篗PSync
-  *]
+  Description: 'SupplyPlanning杞琍RData'
   TextBody:
   [*
     // yypsybs Sep-12-2023 (created)
@@ -21,7 +17,7 @@
     if( isnull( oldRecords ) or oldRecords.Size() = 0 ) {
       pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo );
       traverse( pispips, Elements, item, item.NewSupplyQuantity() > 0 ) {
-        PRData::FromSupplyPlanning( otdTable, macroPlan, mappingRoot, item );
+        PRData::FromSupplyPlanning( otdTable, macroPlan, item, userId );
       }
     }
   *]

--
Gitblit v1.9.3