From e7c56c4676e153f0af05083b1f5ab0ed73d4b2c3 Mon Sep 17 00:00:00 2001 From: Kevin Kok Khah Whey <khahwhey.kok@3ds.com> Date: 星期四, 12 十月 2023 19:19:53 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_Kevin --- _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