ScheduleChangeFormulaBatchWC()
- Last UpdatedJun 23, 2017
- 1 minute read
This method changes the information for the currently selected formula specific batch in the ScheduleSched list. The formula batch status changes to Open. This method can be called only if the formula batch status is Open or Ready. The return code is a Short integer value that can be used for error handling.
For more information on the error codes returned, see "Error Return Values".
NOTE: You must use the ScheduleChangeFormulaBatchWC() method when the DoneByComment and CheckByComment is made mandatory in the System Parameter.
Syntax
ReturnCode = OcxBatchVar.ScheduleChangeFormulaBatchWC ( Campaign, Lot, Batch, Recipe, Formula,Size, Train, Mode, DoneBy, CheckBy, DoneByPswd, CheckByPswd, DoneByComment, CheckByComment)
Parameters
Campaign
Data Type: String
Campaign ID
Lot
Data Type: String
Lot ID
Batch
Data Type: String
Batch ID
Recipe
Data Type: String
Recipe ID
Formula
Data Type: String
Formula ID
Size
Data Type: Long
Batch Quantity
Train
Data Type: String
Name of train
Mode
Data Type: Short
Batch Mode:
0 = Automatic
1 = Semi-Automatic
2 = Manual
DoneBy
Data Type: String
Done by user ID
CheckBy
Data Type: String
Check by user ID
DoneByPswd
Data Type: String
Done by password
CheckByPswd
Data Type: String
Check by password
DoneByComment
Data Type: String
Check by Comment
CheckByComment
Data Type: String
Check by Comment