hongji.li
2023-11-11 ffa07b2a8c4e06a1fdc7c38c1c88f85845ff83cb
_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