From 93b4b535d06d9dd71039827e759bfc211c3ff4ef Mon Sep 17 00:00:00 2001
From: yypsybs <yypsybs@foxmail.com>
Date: 星期二, 19 九月 2023 14:13:45 +0800
Subject: [PATCH] PR

---
 _Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl b/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
index 356fd18..5b37c1c 100644
--- a/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
+++ b/_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
@@ -1,6 +1,7 @@
 Quintiq file version 2.0
 #parent: #root
 StaticMethod FromSupplyPlanning (
+  GlobalOTDTable otdTable,
   MacroPlan macroPlan,
   MacroPlan mappingRoot,
   String mrpCalverNo
@@ -20,7 +21,7 @@
     if( isnull( oldRecords ) or oldRecords.Size() = 0 ) {
       pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo );
       traverse( pispips, Elements, item ) {
-        PRData::FromSupplyPlanning( macroPlan, mappingRoot, item );
+        PRData::FromSupplyPlanning( otdTable, macroPlan, mappingRoot, item );
       }
     }
   *]

--
Gitblit v1.9.3