fixed a bug where the expired flag would be cleared when the makeup wafer record is updated by trigger
This commit is contained in:
parent
30bd03049a
commit
c53542c746
@ -342,8 +342,12 @@ WRITE_RECORD:
|
||||
If CurrWaferCount GT 0 then
|
||||
// Populate MAKEUP_WAFERS table
|
||||
// Add/update cassette data to the MAKEUP_WAFERS table
|
||||
WOMatKey = {WO_MAT_KEY}
|
||||
MUWfrRec = ''
|
||||
WOMatKey = {WO_MAT_KEY}
|
||||
If RowExists('MAKEUP_WAFERS', WOMatKey) then
|
||||
MUWfrRec = Database_Services('ReadDataRow', 'MAKEUP_WAFERS', WOMatKey)
|
||||
end else
|
||||
MUWfrRec = ''
|
||||
end
|
||||
MUWfrRec<MAKEUP_WAFERS.SAP_BATCH_NO$> = {SAP_BATCH_NO}
|
||||
MUWfrRec<MAKEUP_WAFERS.PS_NO$> = {PS_NO}
|
||||
MUWfrRec<MAKEUP_WAFERS.CUST_NO$> = Xlate('WO_LOG', WONo, 'CUST_NO', 'X')
|
||||
|
@ -581,7 +581,11 @@ WRITE_RECORD:
|
||||
If CurrWaferCount GT 0 then
|
||||
// Populate MAKEUP_WAFERS table
|
||||
// Add/update cassette data to the MAKEUP_WAFERS table
|
||||
MUWfrRec = ''
|
||||
If RowExists('MAKEUP_WAFERS', WOMatKeyID) then
|
||||
MUWfrRec = Database_Services('ReadDataRow', 'MAKEUP_WAFERS', WOMatKeyID)
|
||||
end else
|
||||
MUWfrRec = ''
|
||||
end
|
||||
MUWfrRec<MAKEUP_WAFERS.SAP_BATCH_NO$> = {SAP_BATCH_NO}
|
||||
MUWfrRec<MAKEUP_WAFERS.PS_NO$> = Xlate('WO_LOG', WONo, 'PS_NO', 'X')
|
||||
MUWfrRec<MAKEUP_WAFERS.CUST_NO$> = {CUST_NO}
|
||||
|
Loading…
x
Reference in New Issue
Block a user