Merged PR 27477: Removed Error setting if ScanNotAcceptableReason is due to RDS Layer Params n...

Removed Error setting if ScanNotAcceptableReason is due to RDS Layer Params needing to be verified. Also added this same check for lots at the VER stage

Related work items: #330648
This commit is contained in:
Ouellette Jonathan (CSC FI SPS MESLEO)
2025-10-01 16:46:26 +00:00
parent 2fa474880d
commit baa9af3e1a

View File

@ -999,33 +999,38 @@ Service ProcessScanData(ScanID, ScanJSON)
LoadStageReady = '' LoadStageReady = ''
PreStageReady = QA_Services('PreEpiSignatureReady', RDSNo, Username, WaferQty, Reactor) PreStageReady = QA_Services('PreEpiSignatureReady', RDSNo, Username, WaferQty, Reactor)
If PreStageReady EQ True$ then If PreStageReady EQ True$ then
LoadStageReady = QA_Services('LoadSignatureReady', RDSNo, Username, WaferQty, LLSide, True$, Reactor) RDSLayerAckReq = Xlate('RDS', RDSNo, 'RDS_LAYER_ACK_REQ', 'X')
If (LoadStageReady NE True$) then If RDSLayerAckReq EQ False$ then
// Why is it not ready? LoadStageReady = QA_Services('LoadSignatureReady', RDSNo, Username, WaferQty, LLSide, True$, Reactor)
ErrMsg = Error_Services('GetMessage') If (LoadStageReady NE True$) then
Begin Case // Why is it not ready?
Case IndexC(ErrMsg, 'supplement', 1) ErrMsg = Error_Services('GetMessage')
// Clear the error to return a JSON payload and handle the acknowledgements. Begin Case
Error_Services('Clear') Case IndexC(ErrMsg, 'supplement', 1)
Scan_Services('AddNotAcceptableReason', ErrMsg) // Clear the error to return a JSON payload and handle the acknowledgements.
Case IndexC(ErrMsg, 'ROTR', 1)
ROTRBlock = Database_Services('ReadDataColumn', 'REACTOR', Reactor, REACTOR_ROTR_STATUS$, True$, 0, False$)
ROTRBlockReason = Database_Services('ReadDataColumn', 'REACTOR', Reactor, REACTOR_ROTR_STATUS_REASON$, True$, 0, False$)
ROTREnabled = Database_Services('ReadDataColumn', 'REACTOR', Reactor, REACTOR_ENABLE_ROTR$, True$, 0, False$)
If ( (ROTRBlock NE 'P') AND (ROTREnabled EQ True$) ) then
// Clear the error to return a JSON payload and allow for OVERRIDE scan.
ScansRow<SCANS.OVERRIDE_REQD$> = True$
ScansRow<SCANS.OVERRIDE_REASON$> = ROTRBlockReason
ScansRow<SCANS.OVERRIDE_TYPE$> = 'ROTR'
Error_Services('Clear') Error_Services('Clear')
ErrMsg = '' Scan_Services('AddNotAcceptableReason', ErrMsg)
Scan_Services('AddNotAcceptableReason', "ROTR Load Block Enabled") Case IndexC(ErrMsg, 'ROTR', 1)
end else ROTRBlock = Database_Services('ReadDataColumn', 'REACTOR', Reactor, REACTOR_ROTR_STATUS$, True$, 0, False$)
ScansRow<SCANS.OVERRIDE_REQD$> = False$ ROTRBlockReason = Database_Services('ReadDataColumn', 'REACTOR', Reactor, REACTOR_ROTR_STATUS_REASON$, True$, 0, False$)
ScansRow<SCANS.OVERRIDE_REASON$> = '' ROTREnabled = Database_Services('ReadDataColumn', 'REACTOR', Reactor, REACTOR_ENABLE_ROTR$, True$, 0, False$)
ScansRow<SCANS.OVERRIDE_TYPE$> = '' If ( (ROTRBlock NE 'P') AND (ROTREnabled EQ True$) ) then
end // Clear the error to return a JSON payload and allow for OVERRIDE scan.
End Case ScansRow<SCANS.OVERRIDE_REQD$> = True$
ScansRow<SCANS.OVERRIDE_REASON$> = ROTRBlockReason
ScansRow<SCANS.OVERRIDE_TYPE$> = 'ROTR'
Error_Services('Clear')
ErrMsg = ''
Scan_Services('AddNotAcceptableReason', "ROTR Load Block Enabled")
end else
ScansRow<SCANS.OVERRIDE_REQD$> = False$
ScansRow<SCANS.OVERRIDE_REASON$> = ''
ScansRow<SCANS.OVERRIDE_TYPE$> = ''
end
End Case
end
end else
Scan_Services('AddNotAcceptableReason', 'RDS layer parameters must be reviewed for accuracy and acknowledged before the load operation can be signed.')
end end
end else end else
// Why is it not ready? // Why is it not ready?
@ -1113,8 +1118,7 @@ Service ProcessScanData(ScanID, ScanJSON)
Scan_Services('AddNotAcceptableReason', 'The LWI stage engineering instructions must be acknowledged before the load operation can be signed.') Scan_Services('AddNotAcceptableReason', 'The LWI stage engineering instructions must be acknowledged before the load operation can be signed.')
end end
end else end else
ErrMsg = 'RDS layer parameters must be reviewed for accuracy and acknowledged before the load operation can be signed.' Scan_Services('AddNotAcceptableReason', 'RDS layer parameters must be reviewed for accuracy and acknowledged before the load operation can be signed.')
Scan_Services('AddNotAcceptableReason', ErrMsg)
end end
end else end else
ErrMsg = 'Scanned tool ':ScanTool:' does not match the scheduled tool ':SchedTool:'. (':RDSNo:')' ErrMsg = 'Scanned tool ':ScanTool:' does not match the scheduled tool ':SchedTool:'. (':RDSNo:')'
@ -2420,3 +2424,4 @@ ClearCursors:
return return