From 5fa4a6a06c62fd41731ff6cc1f1f6e031bd7436f Mon Sep 17 00:00:00 2001 From: yypsybs <yypsybs@foxmail.com> Date: 星期三, 18 十月 2023 09:50:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into 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