Pushed a change for TW Tracking Phase 2 yesterday that broke current system. Added in gating logic
This commit is contained in:
parent
824b2a0d8f
commit
3ba7ffe782
@ -321,7 +321,9 @@ Service CreateTestRunRecord(RunTypeID, EqpType, EqpID, PSNo, RDSNo, UserID, TWLo
|
|||||||
TWRunKey = ''
|
TWRunKey = ''
|
||||||
Response = ''
|
Response = ''
|
||||||
ErrorMessage = ''
|
ErrorMessage = ''
|
||||||
|
TWTrackingSystemActive = Database_Services('ReadDataColumn', 'APP_INFO', 'NEW_TW_SYSTEM_ACTIVE_SWITCH', 1, True$, 0, False$)
|
||||||
//Pre-Checks.
|
//Pre-Checks.
|
||||||
|
If TWTrackingSystemActive then
|
||||||
If TWLotIds NE '' then
|
If TWLotIds NE '' then
|
||||||
for each TWLotId in TWLotIds using @VM setting twLotPos
|
for each TWLotId in TWLotIds using @VM setting twLotPos
|
||||||
ThisTWLotCurrQty = Database_Services('ReadDataColumn', 'LOT', TWLotId, LOT_WAFER_QTY$, True$, 0, False$)
|
ThisTWLotCurrQty = Database_Services('ReadDataColumn', 'LOT', TWLotId, LOT_WAFER_QTY$, True$, 0, False$)
|
||||||
@ -338,6 +340,7 @@ Service CreateTestRunRecord(RunTypeID, EqpType, EqpID, PSNo, RDSNo, UserID, TWLo
|
|||||||
end else
|
end else
|
||||||
ErrorMessage = 'Error in Create Test Run Record routine. No test wafer lots entered.'
|
ErrorMessage = 'Error in Create Test Run Record routine. No test wafer lots entered.'
|
||||||
end
|
end
|
||||||
|
end
|
||||||
If ErrorMessage EQ '' then
|
If ErrorMessage EQ '' then
|
||||||
If RunTypeID NE '' AND EqpType NE '' AND EqpID NE '' AND UserID NE '' then
|
If RunTypeID NE '' AND EqpType NE '' AND EqpID NE '' AND UserID NE '' then
|
||||||
RunDTM = SRP_Datetime('Now')
|
RunDTM = SRP_Datetime('Now')
|
||||||
@ -794,3 +797,4 @@ end service
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user