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 search and select the first row in the grid that matches the specified work order, operation, sequence, and BOM position. If no such row is found and the selectFirstRowAsDefault parameter is set to True, the first row in the grid is selected. Otherwise the previous row selection is not changed.

Syntax

result = SelectRowByKey(string woId, string operId, int seqNo,
int bomPos, bool selectFirstRowAsDefault);

Parameters

woId

A string value that is the work order ID to match.

operId

A string value that is the operation ID to match.

seqNo

An integer value that is the sequence number to match.

bomPos

An integer value that is the BOM position to match.

selectFirstRowAsDefault

A Boolean value that is set to True if the first row must be selected when there is no match. It is set to False if the row selection must not change when there is no match.

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