GetByKey Method (JobBomDefault)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified job BOM default record from the Job_Bom_Default table.
'Declaration
Public Shared Function GetByKey( _
ByVal itemId As String, _
ByVal entId As Integer _
) As DataSet
'Usage
Dim itemId As String
Dim entId As Integer
Dim value As DataSet
value = JobBomDefault.GetByKey(itemId, entId)
Parameters
- itemId
Required. Holds the ID of the component item that identifies the record to be retrieved.
- entId
Required. Holds the ID of the entity that identifies the record to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified job BOM default record in the Job_Bom_Default table. If no matching record for the specified job BOM default record is found, an empty DataSet is returned.