GetByKey(String,Int32) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified work order attribute record from the WO_Attr table.
This overload of the method identifies the work order attribute by its ID.
Parameters
- woId
- Required. Holds the ID of the work order whose attribute is being retrieved.
- attrId
- Required. Holds the ID of the attribute that is being retrieved.
Return Value
Returns a DataSet that contains a DataRow for the specified work order attribute in the WO_Attr table. If no matching record for the specified work order attribute is found, an empty DataSet is returned.