ScheduleMultiAddBatch()
- Last UpdatedJun 12, 2017
- 1 minute read
This method adds multiple batches to the ScheduleSched list by dividing the Batch Size argument by the default batch size defined in the recipe. To determine whether to call this method or to call the ScheduleAddBatch method, use the MiscGetRecipeMaxBatchSize method and compare the value to the user entered batch size. If thebatch size entered by the operator is greater than the maximum batch size, this method can be used to add multiple batches. 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".
Syntax
ReturnCode = OcxBatchVar.ScheduleMultiAddBatch ( Campaign, Lot, Batch, Recipe, Size, Train, Mode, DoneBy, CheckBy, DoneByPswd, CheckByPswd)
Parameters
Campaign
Data Type: String
Campaign ID
Lot
Data Type: String
Lot ID
Batch
Data Type: String
Batch ID
RecipeId
Data Type: String
Recipe 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