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

AVEVA™ Manufacturing Execution System 2023 R2

SelectRowByKey() method

  • Last UpdatedNov 26, 2024
  • 1 minute read

Use the SelectRowByKey() method to select the row in the grid corresponding to the specified job. If the row is not found, the method optionally selects the first row based on a parameter.

If the specified job cannot be found and the selectFirstRowAsDefault parameter is False, then leave the existing selected rows as is and return False.

If a new job is selected, a call is made to enable/disable any buttons based on this new selection.

Syntax

result = SelectRowByKey(woID, operID, seqNo, selectFirstRowAsDefault);

Parameters

woId

A string that indicates the work order ID used to identify the job that is to be selected.

operId

A string that indicates the operation ID used to identify the job that is to be selected.

seqNo

An integer that represents the sequence number used to identify the job that is to be selected.

selectFirstRowAsDefault

A Boolean value that, if True, signifies to select the first row if the specified job is not found.

Return Value

result

A Boolean value that is True, if a match is found; otherwise it returns False.

In This Topic
TitleResults for “How to create a CRG?”Also Available in