ScheduleInitBatchWC()
- Last UpdatedJun 23, 2017
- 1 minute read
This method initializes the currently selected batch in the ScheduleSched list. This method should be called only if the batch status is Open. 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.ScheduleInitBatchWC (DoneBy, CheckBy, DoneByPswd, CheckByPswd, DoneByComment, CheckByComment)
Parameters
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
NOTE: You must use the ScheduleInitBatchWC () method when the DoneByComment and CheckByComment is made mandatory in the System Parameter.