From ffa07b2a8c4e06a1fdc7c38c1c88f85845ff83cb Mon Sep 17 00:00:00 2001 From: hongji.li <hongji.a.li@capgemini.com> Date: 星期六, 11 十一月 2023 14:20:16 +0800 Subject: [PATCH] 添加订单&对应面板分配分析 --- _Main/BL/Type_CapacityAndSaleBudgeCompareItemCell/StaticMethod_GetPanelAllocationQuantity.qbl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_CapacityAndSaleBudgeCompareItemCell/StaticMethod_GetPanelAllocationQuantity.qbl b/_Main/BL/Type_CapacityAndSaleBudgeCompareItemCell/StaticMethod_GetPanelAllocationQuantity.qbl index 58dc15c..6056f3e 100644 --- a/_Main/BL/Type_CapacityAndSaleBudgeCompareItemCell/StaticMethod_GetPanelAllocationQuantity.qbl +++ b/_Main/BL/Type_CapacityAndSaleBudgeCompareItemCell/StaticMethod_GetPanelAllocationQuantity.qbl @@ -2,6 +2,7 @@ #parent: #root StaticMethod GetPanelAllocationQuantity ( GlobalOTDSOP globalOTDSOP, + ModulePanelCorrespondenceRule modulePanelCorrespondenceRule, Strings productIDs, Number year, Number month @@ -17,7 +18,7 @@ tempPRPISPMP.NumberOfPlies() = 0 ); total := total + sum( targetPRPISPMPs, Elements.AllChild, tempAC, - exists( globalOTDSOP, ModulePanelCorrespondence.Panel, tempP, + exists( modulePanelCorrespondenceRule, ModulePanelCorrespondence.Panel, tempP, tempP.Module().ModuleProductID() = pid and tempP.PanelProductID() = tempAC.ProductID() ) and tempAC.StartDate().Year() = year and -- Gitblit v1.9.3