| | |
| | | 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(); |
| | | *] |
| | | } |