Modified API to create a new test wafer lot to use the new generic routine CreateNewLot
This commit is contained in:
parent
507106971b
commit
8282b5a7d4
@ -68,7 +68,6 @@ API createnewtestwaferlot.POST
|
||||
OIWizardID = Field(Cookie, '=', 2)
|
||||
end
|
||||
Next Cookie
|
||||
|
||||
ValidSession = OI_Wizard_Services('ValidateSession', OIWizardID)
|
||||
If ValidSession then
|
||||
// Check if payload has the required information to create a react mode change record
|
||||
@ -91,7 +90,7 @@ API createnewtestwaferlot.POST
|
||||
Username = Xlate('OI_WIZARD', OIWizardID, OI_WIZARD.EMPLOYEE_ID$, 'X')
|
||||
PrinterID = 'WEB'
|
||||
SRP_JSON(TWLotObject, 'Release')
|
||||
LotId = Lot_Services('CreateNewTestWaferLot', LotType, ProdName, LotQty, VendorPartNo, VendorLotNo, VendorCode, Username, PrinterID)
|
||||
LotId = Lot_Services('CreateNewLot', LotType, ProdName, LotQty, VendorPartNo, VendorLotNo, VendorCode, Username, PrinterID)
|
||||
If Error_Services('NoError') And RowExists('LOT', LotId) then
|
||||
Message = 'Create TW Lot Successful: New Lot ID - ' : LotId
|
||||
GoSub CreateHALItem
|
||||
|
Loading…
x
Reference in New Issue
Block a user