Modified auto scheduler logic to prevent it from re-opening an event that was manually marked closed
This commit is contained in:
@ -1287,8 +1287,10 @@ Service AdjustScheduleEvents(ReactNo)
|
|||||||
EventRec<SCHED_DET_NG.EVENT_TOTAL_WFRS$> = EventWfrs
|
EventRec<SCHED_DET_NG.EVENT_TOTAL_WFRS$> = EventWfrs
|
||||||
Database_Services('WriteDataRow', 'SCHED_DET_NG', EventKey, EventRec, True$, False$, True$)
|
Database_Services('WriteDataRow', 'SCHED_DET_NG', EventKey, EventRec, True$, False$, True$)
|
||||||
|
|
||||||
|
If Not(EventRec<SCHED_DET_NG.EVENT_COMP$>) then
|
||||||
// Check each cassette in the event to see if it is now processed or unprocessed (i.e., unload un-signed)
|
// Check each cassette in the event to see if it is now processed or unprocessed (i.e., unload un-signed)
|
||||||
Schedule_Services('UpdateEventCassLists', EventKey)
|
Schedule_Services('UpdateEventCassLists', EventKey)
|
||||||
|
end
|
||||||
|
|
||||||
EventRec = Schedule_Services('GetScheduleDetail', EventKey)
|
EventRec = Schedule_Services('GetScheduleDetail', EventKey)
|
||||||
UnprocessedCass = EventRec<SCHED_DET_NG.UNPROCESSED_CASS$>
|
UnprocessedCass = EventRec<SCHED_DET_NG.UNPROCESSED_CASS$>
|
||||||
|
|||||||
Reference in New Issue
Block a user