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

AVEVA™ Batch Management

PhaseSetCtrlButton1WC()

  • Last UpdatedJun 23, 2017
  • 1 minute read

This method performs the first control button action for the currently selected phase in the PhasePhase list. This method should be called only if the Enable Control Button 1 bit is set in the value returned from the PhaseGetEditMask method. 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.PhaseSetCtrlButton1WC (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

Done by comment

CheckByComment

Data Type: String

Check by comment

NOTE: You must use the PhaseSetCtrlButton1WC () method when the DoneByComment and CheckByComment is made mandatory in the System Parameter.

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