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:
parent
fcc0ce6b72
commit
f1eb8e9812
@ -3113,9 +3113,9 @@ end service
|
|||||||
Service MarkCassProcessed(WONo, CassNo, ProcessedDTM)
|
Service MarkCassProcessed(WONo, CassNo, ProcessedDTM)
|
||||||
|
|
||||||
If ((WONo NE '') and (CassNo NE '') and (ProcessedDTM NE '') ) then
|
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
|
// 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'
|
Query := 'AND WITH UNPROCESSED_CASS EQ ':CassNo:' BY START_DTM'
|
||||||
GoSub ClearCursors
|
GoSub ClearCursors
|
||||||
RList(Query, TARGET_ACTIVELIST$, '', '', '')
|
RList(Query, TARGET_ACTIVELIST$, '', '', '')
|
||||||
|
@ -792,20 +792,7 @@ WRITE_RECORD:
|
|||||||
end
|
end
|
||||||
|
|
||||||
PSNo = {WO_STEP_PS_NO}
|
PSNo = {WO_STEP_PS_NO}
|
||||||
SpecType = Xlate('PROD_SPEC', PSNo, 'SPEC_TYPE', 'X')
|
|
||||||
If ( (SpecType EQ 'P') and (Record<WO_MAT_WAFER_QTY$> LT 25) ) then
|
|
||||||
// Notify FI as this is unusual and can cause systematic issues.
|
|
||||||
Recipients = XLATE('SEC_GROUPS', 'OI_ADMIN', 'USER', 'X')
|
|
||||||
SentFrom = 'OI Admin'
|
|
||||||
Subject = 'WO_MAT cassette quantity less than 25 detected!'
|
|
||||||
Message = 'WO_MAT ':@ID:' quantity is ':Record<WO_MAT_WAFER_QTY$>:'. Correct if needed!'
|
|
||||||
AttachWindow = 'WO_MAT'
|
|
||||||
AttachKey = @ID
|
|
||||||
SendToGroup = ''
|
|
||||||
Parms = Recipients:@RM:SentFrom:@RM:Subject:@RM:Message:@RM:AttachWindow:@RM:AttachKey:@RM:SendToGroup
|
|
||||||
obj_Notes('Create',Parms)
|
|
||||||
end
|
|
||||||
|
|
||||||
If {REACTOR_TYPE} EQ 'EPP' then
|
If {REACTOR_TYPE} EQ 'EPP' then
|
||||||
NewEppMUFlag = Record<WO_MAT_EPO_MAKEUP_BOX$>
|
NewEppMUFlag = Record<WO_MAT_EPO_MAKEUP_BOX$>
|
||||||
OrigEppMUFlag = OrigRecord<WO_MAT_EPO_MAKEUP_BOX$>
|
OrigEppMUFlag = OrigRecord<WO_MAT_EPO_MAKEUP_BOX$>
|
||||||
@ -826,7 +813,7 @@ WRITE_RECORD:
|
|||||||
Work_Order_Services('UpdateReceivedQty', WONo)
|
Work_Order_Services('UpdateReceivedQty', WONo)
|
||||||
Work_Order_Services('UpdateReleasedQty', WONo)
|
Work_Order_Services('UpdateReleasedQty', WONo)
|
||||||
end
|
end
|
||||||
|
|
||||||
CurrWaferCount = obj_WO_Mat('CurrWaferCnt', WOMatKeyID)
|
CurrWaferCount = obj_WO_Mat('CurrWaferCnt', WOMatKeyID)
|
||||||
If CurrWaferCount EQ 0 then
|
If CurrWaferCount EQ 0 then
|
||||||
// This should catch cases where the entire cassette is "peeled off", NCR'ed, or used for destructive testing.
|
// This should catch cases where the entire cassette is "peeled off", NCR'ed, or used for destructive testing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user