From ff1d40a1a235da7c3bdfa26070af267f19c7a3d3 Mon Sep 17 00:00:00 2001 From: renhao <renhui.hao@capgemini.com> Date: 星期三, 18 十月 2023 09:29:50 +0800 Subject: [PATCH] Merge branch 'dev' --- _Main/BL/Type_CapacityAllocationResults/StaticMethod_Test.qbl | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test.qbl b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test.qbl index 416ea24..bc20514 100644 --- a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test.qbl +++ b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test.qbl @@ -2,14 +2,14 @@ #parent: #root StaticMethod Test ( MacroPlan macroPlan, - GlobalOTDTable globalOTDTable + GlobalOTDSOP globalOTDSOP ) { TextBody: [* - globalOTDTable.CapacityAllocationResults( relflush ); + globalOTDSOP.CapacityAllocationResults( relflush ); - capacityAllocationResultsRuleConfiguration := select( globalOTDTable, CapacityAllocationResultsRuleConfiguration, carrc, + capacityAllocationResultsRuleConfiguration := select( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, carrc, carrc.ModuleMaterialCode() = "ProXOver 1 D2.6 A" and carrc.StockingPointID() = "Carco Philadelphia" ); @@ -18,7 +18,7 @@ traverse ( pisp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ).Supply_MP, smp, /*smp.ProductInStockingPointInPeriodPlanning().Start().Date() = Date::Construct( 2020, 4, 7 ) and*/ smp.Quantity() > 0 ) { - CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp, smp, 1, smp.Quantity(), capacityAllocationResultsRuleConfiguration ); + CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp, smp, 1, smp.Quantity(), capacityAllocationResultsRuleConfiguration ); } } *] -- Gitblit v1.9.3