GetByKey(String,String,String,String) Method
- Last UpdatedNov 06, 2025
- 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 description.
public static DataSet GetByKey(
string itemId,
string lotNo,
string subLotNo,
string attrDescription
)
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.
- attrDescription
Required. Holds the description 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.