GetByKey Method (ItemReasGrp)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified item reason group record from the Item_Reas_Grp table.
'Usage
Dim reasGrpId As Integer
Dim value As DataSet
value = ItemReasGrp.GetByKey(reasGrpId)
Parameters
- reasGrpId
- Required. Holds the ID of the reason group to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified item reason group in the Item_Reas_Grp table. If no matching record for the specified item reason group is found, an empty DataSet is returned.