GetByKey(String,String,String,Int32) Method
- Last UpdatedMar 17, 2026
- 1 minute read
The GetByKey() method retrieves the specified sublot attribute record from the Sublot_Attr table.
This overload of the method identifies the sublot attribute by its ID.
Parameters
- itemId
Required. Holds the ID of the item of the lot to which the sublot belongs.
- lotNo
Required. Holds the lot number of the lot to which a sublot belongs.
- subLotNo
Required. Holds the number of the sublot 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 sublot attribute in the Sublot_Attr table. If no matching record for the specified sublot attribute is found, an empty DataSet is returned.