xiaoding721
2024-11-15 9fa1722ee249e570b82183107cdc643428fb067b
_Main/BL/Type_NewOfflinePlanCell/StaticMethod_SynchronizeToNewSupply.qbl
@@ -2,12 +2,13 @@
#parent: #root
StaticMethod SynchronizeToNewSupply (
  MacroPlan macroPlan,
  NewOfflinePlanTable nopt
  NewOfflinePlanTable nopt,
  NewOfflinePlanRows selectedRows
)
{
  TextBody:
  [*
    traverse ( nopt, NewOfflinePlanRow.NewOfflinePlanCell, cell,
    traverse ( selectedRows, Elements.NewOfflinePlanCell, cell,
               cell.NewOfflinePlanRow().Type() = "1" and cell.Quantity() > 0.0 
    //           and cell.NewOfflinePlanRow().ProductionLine() = "eMotor Assy (France)" and cell.NewOfflinePlanColumn().StartDate() = Date::Construct( 2020, 4, 4 )
             )