From 0764eaf0e5c9603fa5f7643c9eadf5091138a50c Mon Sep 17 00:00:00 2001
From: hongji.li <hongji.a.li@capgemini.com>
Date: 星期二, 17 十月 2023 12:25:40 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_lhj
---
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl b/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
index 7c5d308..dff5567 100644
--- a/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
+++ b/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
@@ -14,10 +14,15 @@
// 鎸塎RPCalverNo鏌ワ紝宸叉湁鏃ц褰曟椂涓嶅鐞�
oldRecords := selectset( macroPlan, PRData, item,
item.MRPCalverNo() = mrpCalverNo );
+ nowNo := 1;
if( isnull( oldRecords ) or oldRecords.Size() = 0 ) {
pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo );
traverse( pispips, Elements, item, item.NewSupplyQuantity() > 0 ) {
PRData::FromSupplyPlanning( otdTable, macroPlan, item, userId );
+ nowNo := nowNo + 1;
+ if( nowNo mod 1000 = 0 ) {
+ info( "SupplyPlanning to prData : " + [String]nowNo );
+ }
}
}
*]
--
Gitblit v1.9.3