Removing qty less than 25 notitifcations because this is normal for engineering lots. Pre-emptively updated RList call in Schedule_Services to use external datetime instead of internal datetime.

This commit is contained in:
Infineon\StieberD
2025-02-03 14:21:34 -07:00
parent fcc0ce6b72
commit f1eb8e9812
2 changed files with 4 additions and 17 deletions

View File

@ -3113,9 +3113,9 @@ end service
Service MarkCassProcessed(WONo, CassNo, ProcessedDTM)
If ((WONo NE '') and (CassNo NE '') and (ProcessedDTM NE '') ) then
If Not(Num(ProcessedDTM)) then ProcessedDTM = IConv(ProcessedDTM, 'DT')
If Num(ProcessedDTM) then ProcessedDTM = OConv(ProcessedDTM, 'DT2/^H')
// Find the SCHED_DET_NG event record that contains the cassette number
Query = 'SELECT SCHED_DET_NG WITH WO_NO EQ ':WONo:' AND WITH START_DTM LE ':ProcessedDTM:' '
Query = 'SELECT SCHED_DET_NG WITH WO_NO EQ ':WONo:' AND WITH START_DTM LE "':ProcessedDTM:'" '
Query := 'AND WITH UNPROCESSED_CASS EQ ':CassNo:' BY START_DTM'
GoSub ClearCursors
RList(Query, TARGET_ACTIVELIST$, '', '', '')