GetByKey Method (BomItemOperLink)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified BOM item/operation link record from the Bom_Item_Oper_Link table.
public static DataSet GetByKey(
string parentItemId,
string verId,
int bomPos,
string processId,
string operId
)
Parameters
- parentItemId
Required. Holds the ID of the parent item that identifies the record to be retrieved.
- verId
Required. Holds the ID of the BOM version that identifies the record to be retrieved.
- bomPos
Required. Holds the BOM position that identifies the record to be retrieved. The BOM position is not necessarily in a sequence.
- processId
Optional. Holds the ID of the process that identifies the record to be retrieved.
- operId
Optional. Holds the ID of an operation that identifies the record to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified BOM item operation link in the Bom_Item_Oper_Link table. If no matching record for the specified BOM item operation link is found, an empty DataSet is returned.