Merged PR 29248: Stop Writing Erroneous PACKAGING events
Related work items: #337599
This commit is contained in:
parent
521233b0b4
commit
0eed1a83f5
@ -379,9 +379,9 @@ Create:
|
|||||||
RDS_Services('VerifyWOMatRDSNoIndex', RDSNo)
|
RDS_Services('VerifyWOMatRDSNoIndex', RDSNo)
|
||||||
RDS_Services('VerifyWOStepRDSKeyIndex', RDSNo)
|
RDS_Services('VerifyWOStepRDSKeyIndex', RDSNo)
|
||||||
|
|
||||||
|
If Rds_Services('IsEpiPro', RDSNo) then
|
||||||
NewLotId = Lot_Services('CreateNewLot', 'RDS', '', WaferQty, SubPartNo, LotNo, SubVendCd, @User4, '', RDSNo)
|
NewLotId = Lot_Services('CreateNewLot', 'RDS', '', WaferQty, SubPartNo, LotNo, SubVendCd, @User4, '', RDSNo)
|
||||||
|
|
||||||
If Rds_Services('IsEpiPro', RDSNo) then
|
|
||||||
Lot_Services('AddLotOperationIntoSequence', NewLotId, 'RDS_CREATE', 1, False$)
|
Lot_Services('AddLotOperationIntoSequence', NewLotId, 'RDS_CREATE', 1, False$)
|
||||||
Lot_Services('AddLotOperationIntoSequence', NewLotId, 'PRE_EPI', 2, False$)
|
Lot_Services('AddLotOperationIntoSequence', NewLotId, 'PRE_EPI', 2, False$)
|
||||||
Lot_Services('AddLotOperationIntoSequence', NewLotId, 'REACTOR_RUN', 3, False$)
|
Lot_Services('AddLotOperationIntoSequence', NewLotId, 'REACTOR_RUN', 3, False$)
|
||||||
@ -1254,3 +1254,4 @@ CalcThickTarget:
|
|||||||
|
|
||||||
RETURN
|
RETURN
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -157,14 +157,17 @@ Service CompletePackaging(CassetteID, OperatorID, BaggerIdentifier)
|
|||||||
|
|
||||||
//Handle NG lot functions.
|
//Handle NG lot functions.
|
||||||
If LotId NE '' then
|
If LotId NE '' then
|
||||||
NewPackRecId = Packaging_Services('CreatePackagingRecord', LotId, UserID, ToolID)
|
|
||||||
CurrOperationId = Lot_Services('GetLotCurrOperationId', LotId)
|
CurrOperationId = Lot_Services('GetLotCurrOperationId', LotId)
|
||||||
If CurrOperationId NE '' then
|
If CurrOperationId NE '' then
|
||||||
|
NewPackRecId = Packaging_Services('CreatePackagingRecord', LotId, UserID, ToolID)
|
||||||
|
If Error_Services('NoError') then
|
||||||
Packaging_Services('AddPackToLotOperation', CurrOperationId, NewPackRecId, UserID)
|
Packaging_Services('AddPackToLotOperation', CurrOperationId, NewPackRecId, UserID)
|
||||||
If Error_Services('NoError') then
|
If Error_Services('NoError') then
|
||||||
Lot_Services('MoveOutLot', LotId, UserId)
|
Lot_Services('MoveOutLot', LotId, UserId)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
If Error_Services('HasError') then
|
If Error_Services('HasError') then
|
||||||
//Remove any error messages as a result of NG Lot functions. At the moment we don't want them interrupting production when they occur.
|
//Remove any error messages as a result of NG Lot functions. At the moment we don't want them interrupting production when they occur.
|
||||||
@ -765,3 +768,4 @@ Service AddPackToLotOperation(LotOperationId, PackagingId, UserId)
|
|||||||
|
|
||||||
end service
|
end service
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user