| | |
| | | dispatchShiftPlan.InterfaceTime( now ); |
| | | }else{ |
| | | if( archiveShiftPlan.Outcome() <> "" ){ |
| | | interfaceLoginfo.DispatchShiftPlan( relnew,ID := OS:: GenerateGUIDAsString(), |
| | | ProductLine := productLine, |
| | | FactoryName := factoryName, |
| | | ShiftQty := archiveShiftPlan.Outcome(), |
| | | dispatchShiftPlan := interfaceLoginfo.DispatchShiftPlan( relnew,ID := OS:: GenerateGUIDAsString(), |
| | | ProductLine := productLine, |
| | | FactoryName := factoryName, |
| | | ShiftQty := archiveShiftPlan.Outcome(), |
| | | |
| | | ShiftDate := shiftDate, |
| | | Tips := archiveShiftPlan.Remark(), |
| | | VersionName := archiveShiftPlan.MacroPlanName(), |
| | | InterfaceTime := now ); |
| | | ShiftDate := shiftDate, |
| | | Tips := archiveShiftPlan.Remark(), |
| | | VersionName := archiveShiftPlan.MacroPlanName(), |
| | | InterfaceTime := now ); |
| | | dispatchShiftPlan.CalcFac(); |
| | | } |
| | | } |
| | | } |