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_IterativeGeneration.qbl | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration.qbl b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration.qbl index af2857c..92e3c7f 100644 --- a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration.qbl +++ b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration.qbl @@ -1,7 +1,7 @@ Quintiq file version 2.0 #parent: #root StaticMethod IterativeGeneration ( - GlobalOTDTable globalOTDTable, + GlobalOTDSOP globalOTDSOP, ProductInStockingPoint_MP pisp, Number numberOfLayers, NewSupply finaleNewSupply, @@ -27,7 +27,7 @@ oi := dd.ProcessInput().astype( OperationInput ); finaleDependentDemand := finaleDependentDemand * oo.Quantity() * oi.Quantity(); // info( "渚濊禆闇�姹備骇鍝両D锛�", dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), " 渚濊禆鏁伴噺锛�", dd.Quantity(), " 褰撳墠鍛ㄦ湡浠诲姟Key锛�", dd.PeriodTask_MP().astype( PeriodTaskOperation ).Key() ); - CapacityAllocationResults::IterativeGeneration( globalOTDTable, dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), numberOfLayers, finaleNewSupply, finaleDependentDemand, targetDate ); + CapacityAllocationResults::IterativeGeneration( globalOTDSOP, dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), numberOfLayers, finaleNewSupply, finaleDependentDemand, targetDate ); } // info( "----------------------------------------------------" ); } else { @@ -35,17 +35,17 @@ // info( "======" ); pispPanel := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(); pispModule := finaleNewSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(); - globalOTDTable.CapacityAllocationResults( relnew, - PanelBase := pispPanel.StockingPointID(), - PanelMaterialCode := pispPanel.ProductID(), - NumberOfPanels := finaleDependentDemand, - PanelMeasurementUnit := pispPanel.UnitOfMeasure_MP().Name(), - ModuleMaterialCode := pispModule.ProductID(), - NumberOfModules := finaleNewSupply.Quantity(), - ModuleMeasurementUnit := pispModule.UnitOfMeasure_MP().Name(), - ModuleBase := pispModule.StockingPointID(), - RequirementDate := finaleNewSupply.Start().Date() - ); + globalOTDSOP.CapacityAllocationResults( relnew, + PanelBase := pispPanel.StockingPointID(), + PanelMaterialCode := pispPanel.ProductID(), + NumberOfPanels := finaleDependentDemand, + PanelMeasurementUnit := pispPanel.UnitOfMeasure_MP().Name(), + ModuleMaterialCode := pispModule.ProductID(), + NumberOfModules := finaleNewSupply.Quantity(), + ModuleMeasurementUnit := pispModule.UnitOfMeasure_MP().Name(), + ModuleBase := pispModule.StockingPointID(), + RequirementDate := finaleNewSupply.Start().Date() + ); } finaleNewSupply := null( NewSupply ); } -- Gitblit v1.9.3