Modified auto scheduler logic to prevent it from re-opening an event that was manually marked closed

This commit is contained in:
Infineon\StieberD
2025-10-30 11:24:27 -07:00
parent 0eed1a83f5
commit 55cebe9f3a

View File

@ -1287,8 +1287,10 @@ Service AdjustScheduleEvents(ReactNo)
EventRec<SCHED_DET_NG.EVENT_TOTAL_WFRS$> = EventWfrs
Database_Services('WriteDataRow', 'SCHED_DET_NG', EventKey, EventRec, True$, False$, True$)
// Check each cassette in the event to see if it is now processed or unprocessed (i.e., unload un-signed)
Schedule_Services('UpdateEventCassLists', EventKey)
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)
Schedule_Services('UpdateEventCassLists', EventKey)
end
EventRec = Schedule_Services('GetScheduleDetail', EventKey)
UnprocessedCass = EventRec<SCHED_DET_NG.UNPROCESSED_CASS$>