From face55e7f35130d29d7f395a4b4501d57b97ef81 Mon Sep 17 00:00:00 2001 From: yanweiyuan3 <yanweiyuan3@gmail.com> Date: 星期二, 17 十月 2023 18:07:35 +0800 Subject: [PATCH] Merge branch 'dev' into dev_yy --- _Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate1.qbl | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate1.qbl b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate1.qbl index 2b6d0a6..867dabd 100644 --- a/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate1.qbl +++ b/_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate1.qbl @@ -2,7 +2,7 @@ #parent: #root StaticMethod CreateDate1 ( MacroPlan macroPlan, - GlobalOTDTable globalOTDTable, + GlobalOTDSOP globalOTDSOP, DependentDemand dependentDemand, NewSupply newSupply, Supply_MP firstNewSupply, @@ -18,25 +18,25 @@ if ( capacityAllocationResultsRuleConfiguration.PanelMaterialCode() = productID ) { info( "鎵惧埌浜嗭紒锛侊紒" ); - globalOTDTable.CapacityAllocationResults( relnew, - PanelBase := panelPISP.StockingPointID(), - PanelMaterialCode := panelPISP.ProductID(), - NumberOfPanels := fulfillmentQuantity, - PanelMeasurementUnit := panelPISP.UnitOfMeasure_MP().Name(), - ModuleMaterialCode := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().ProductID(), - NumberOfModules := firstNewSupply.Quantity(), - ModuleMeasurementUnit := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName(), - ModuleBase := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().StockingPointID(), - RequirementDate := dependentDemand.Start().Date(), - // 瀵煎嚭澶栭儴渚涘簲瀛楁 - Date := dependentDemand.Start().Date(), - Description := "", - ID := OS::GenerateGUIDAsString(), - ProductID := panelPISP.ProductID(), - StockingPointID := panelPISP.StockingPointID(), - UserQuantity := fulfillmentQuantity, - ManufacturedDate := Date::MinDate() - ); + globalOTDSOP.CapacityAllocationResults( relnew, + PanelBase := panelPISP.StockingPointID(), + PanelMaterialCode := panelPISP.ProductID(), + NumberOfPanels := fulfillmentQuantity, + PanelMeasurementUnit := panelPISP.UnitOfMeasure_MP().Name(), + ModuleMaterialCode := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().ProductID(), + NumberOfModules := firstNewSupply.Quantity(), + ModuleMeasurementUnit := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName(), + ModuleBase := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().StockingPointID(), + RequirementDate := dependentDemand.Start().Date(), + // 瀵煎嚭澶栭儴渚涘簲瀛楁 + Date := dependentDemand.Start().Date(), + Description := "", + ID := OS::GenerateGUIDAsString(), + ProductID := panelPISP.ProductID(), + StockingPointID := panelPISP.StockingPointID(), + UserQuantity := fulfillmentQuantity, + ManufacturedDate := Date::MinDate() + ); } *] } -- Gitblit v1.9.3