GetByKey(String,String,Int32) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves a single row from the Lot_Attr table using the specified primary key fields.
This overload of the method identifies the lot attribute by its ID.
Parameters
- itemId
Required. Holds the item ID of the lot whose attribute is being retrieved.
- lotNo
Required. Holds the number of the lot whose attribute is being retrieved.
- attrId
Required. Holds the ID of the attribute.
Return Value
Returns a DataSet that contains the DataRow of the specified lot attribute in the Lot_Attr table. If no matching record for the specified lot attribute is found, an empty DataSet is returned.