xiaoding721
2024-11-11 a80361675b58ab61191e977723f94c01f87d9753
_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
@@ -52,18 +52,19 @@
         dispatchShiftPlan.VersionName( macroPlanName );
         dispatchShiftPlan.InterfaceTime( now );
       }else{
         interfaceLoginfo.DispatchShiftPlan( relnew,ID := OS:: GenerateGUIDAsString(),
                                             ProductLine := productLine,
                                             FactoryName := factory.ID(),
                                             ShiftQty := shiftPlan.Outcome(),
         if( shiftPlan.Outcome() <> "" ){
           interfaceLoginfo.DispatchShiftPlan( relnew,ID := OS:: GenerateGUIDAsString(),
                                               ProductLine := productLine,
                                               FactoryName := factory.ID(),
                                               ShiftQty := shiftPlan.Outcome(),
                                  
                                             ShiftDate := shiftDate,
                                             Tips := shiftPlan.Remark(),
                                             VersionName := macroPlanName,
                                             InterfaceTime := now );
                                               ShiftDate := shiftDate,
                                               Tips := shiftPlan.Remark(),
                                               VersionName := macroPlanName,
                                               InterfaceTime := now );
         }
       }
    }
    DispatchShiftPlan::Publish( interfaceLoginfo );
    // owner.RB_DispatchShiftPlanBroker().AsyncExecute();
  *]
}