GetByKey Method (SubLot)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves a single row from the Sublot table using the specified primary key fields.
Parameters
- itemId
Required. Holds the ID of the item of the sublot for the record that is to be retrieved.
- lotNo
Required. Holds the lot number of the lot the sublot is part of, for the record to be retrieved.
- subLotNo
Required. Holds the sublot number for the record to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified sublot in the Sublot table. If no matching record for the specified sublot is found, an empty DataSet is returned.