Merged PR 19663: Modified the decrease lot qty functionality to reduce qty via test wafer usag...
Modified the decrease lot qty functionality to reduce qty via test wafer usage rather than directly reducing the qty.,
This commit is contained in:
parent
60b5386f27
commit
a878c9bb2e
@ -126,12 +126,11 @@ Event PUB_SUBMIT.CLICK()
|
|||||||
Begin Case
|
Begin Case
|
||||||
Case NewWfrQty LT CurrWfrQty
|
Case NewWfrQty LT CurrWfrQty
|
||||||
AmountToDecrease = CurrWfrQty - NewWfrQty
|
AmountToDecrease = CurrWfrQty - NewWfrQty
|
||||||
Lot_Services('ReduceLotWaferCount', LotId, AmountToDecrease, @User4)
|
PSNNo = Xlate('RDS', LotID, 'PROD_SPEC_ID', 'X')
|
||||||
|
Test_Run_Services('CreateTestRunRecord', 13, '', '', PSNNo, '', @User4, LotID, NewWfrQty, True$)
|
||||||
If Error_Services('NoError') then
|
If Error_Services('NoError') then
|
||||||
Lot_Event_Services('CreateLotEvent', LotId, Datetime(), 'COMMENT', 'Manual Lot Qty decrease performed.', '', @User4, '' , '')
|
Lot_Event_Services('CreateLotEvent', LotId, Datetime(), 'COMMENT', 'Manual Lot Qty decrease performed.', '', @User4, '' , '')
|
||||||
end
|
end
|
||||||
PSNNo = Xlate('RDS', LotID, 'PROD_SPEC_ID', 'X')
|
|
||||||
Test_Run_Services('CreateTestRunRecord', 13, '', '', PSNNo, '', @User4, LotID, NewWfrQty, True$)
|
|
||||||
Case NewWfrQty GT CurrWfrQty
|
Case NewWfrQty GT CurrWfrQty
|
||||||
AmountToIncrease = NewWfrQty - CurrWfrQty
|
AmountToIncrease = NewWfrQty - CurrWfrQty
|
||||||
Lot_Services('IncreaseLotWaferCount', LotId, AmountToIncrease, @User4)
|
Lot_Services('IncreaseLotWaferCount', LotId, AmountToIncrease, @User4)
|
||||||
@ -194,3 +193,4 @@ return
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user