From 609d17f466b80466d7069871e54ec78542bcd991 Mon Sep 17 00:00:00 2001 From: hongjli <3117313295@qq.com> Date: 星期二, 17 十月 2023 17:20:50 +0800 Subject: [PATCH] 产能分配和面板拉料数据集迁移 --- _Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate.qbl | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate.qbl b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate.qbl index 2340157..0f65a44 100644 --- a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate.qbl +++ b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate.qbl @@ -1,16 +1,16 @@ Quintiq file version 2.0 #parent: #root StaticMethod CreateDate ( - GlobalOTDTable globalOTDTable, + GlobalOTDSOP globalOTDSOP, MacroPlan macroPlan, Scenario scenario ) { TextBody: [* - globalOTDTable.CapacityAllocationResults( relflush ); + globalOTDSOP.CapacityAllocationResults( relflush ); - finaleProductInStockingPoint_MPs := CapacityAllocationResults::ObtainTheFinalOutputProduct( macroPlan, globalOTDTable ); + finaleProductInStockingPoint_MPs := CapacityAllocationResults::ObtainTheFinalOutputProduct( macroPlan, globalOTDSOP ); period_MPS := null( Period_MPs ); traverse ( macroPlan, PeriodSpecification_MP, psmp, psmp.ID() = "Planning periods" ) { @@ -18,15 +18,15 @@ } traverse ( finaleProductInStockingPoint_MPs, Elements, fpispmp ) { - capacityAllocationResultsRuleConfigurations := selectset( globalOTDTable, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = fpispmp.ProductID() and tempCARRC.StockingPointID() = fpispmp.StockingPointID() ); + capacityAllocationResultsRuleConfigurations := selectset( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = fpispmp.ProductID() and tempCARRC.StockingPointID() = fpispmp.StockingPointID() ); // info( "鐢熶骇鐨勪骇鍝侊細", fpispmp.ProductID(), "------浜у搧鍦ㄥ簱瀛樼偣-------锛�", fpispmp.StockingPointID() ); traverse ( period_MPS, Elements, pmp ) { // CapacityAllocationResults::IterativeGeneration( globalOTDTable, pisp, 1, null( NewSupply ), -1.0, pmp.StartDate() ); 鑰佺増 - CapacityAllocationResults::IterativeGeneration2( globalOTDTable, fpispmp, pmp.StartDate(), capacityAllocationResultsRuleConfigurations, 0, null( NewSupply ), 0.0 ); + CapacityAllocationResults::IterativeGeneration2( globalOTDSOP, fpispmp, pmp.StartDate(), capacityAllocationResultsRuleConfigurations, 0, null( NewSupply ), 0.0 ); } } - traverse ( globalOTDTable, CapacityAllocationResults, car ) { + traverse ( globalOTDSOP, CapacityAllocationResults, car ) { car.VersionNumber( scenario.Name() ); } *] -- Gitblit v1.9.3