Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Batch Management

ScheduleMoveBatchBeforeWC()

  • Last UpdatedJun 23, 2017
  • 1 minute read

This method moves the currently selected batch in the ScheduleSched list to the position before the batch identified in the Campaign, Lot, and Batch parameters. 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 ScheduleMoveBatchBeforeWC() method when the DoneByComment and CheckByComment is made mandatory in the System Parameter.

Syntax

ReturnCode = OcxBatchVar.ScheduleMoveBatchBeforeWC ( Campaign, Lot, Batch, 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

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

Related Links
TitleResults for “How to create a CRG?”Also Available in