GetByKey Method (LaborRawReas)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified labor raw reason record from the Labor_Raw_Reas table.
'Declaration
Public Shared Function GetByKey( _
ByVal entId As Integer, _
ByVal rawReasCd As String _
) As DataSet
'Usage
Dim entId As Integer
Dim rawReasCd As String
Dim value As DataSet
value = LaborRawReas.GetByKey(entId, rawReasCd)
Parameters
- entId
- Required. Holds the ID of the entity.
- rawReasCd
- Required. Holds the raw reason code from I/O.
Return Value
Returns a DataSet that contains the DataRow of the specified labor raw reason from the Labor_Raw_Reas table. If no matching record for the specified labor raw reason is found, an empty DataSet is returned.