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)
|
OIWizardID = Field(Cookie, '=', 2)
|
||||||
end
|
end
|
||||||
Next Cookie
|
Next Cookie
|
||||||
|
|
||||||
ValidSession = OI_Wizard_Services('ValidateSession', OIWizardID)
|
ValidSession = OI_Wizard_Services('ValidateSession', OIWizardID)
|
||||||
If ValidSession then
|
If ValidSession then
|
||||||
// Check if payload has the required information to create a react mode change record
|
// 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')
|
Username = Xlate('OI_WIZARD', OIWizardID, OI_WIZARD.EMPLOYEE_ID$, 'X')
|
||||||
PrinterID = 'WEB'
|
PrinterID = 'WEB'
|
||||||
SRP_JSON(TWLotObject, 'Release')
|
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
|
If Error_Services('NoError') And RowExists('LOT', LotId) then
|
||||||
Message = 'Create TW Lot Successful: New Lot ID - ' : LotId
|
Message = 'Create TW Lot Successful: New Lot ID - ' : LotId
|
||||||
GoSub CreateHALItem
|
GoSub CreateHALItem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user