GetByKey Method (JobBomSubstitute)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified job BOM substitute record from the Job_Bom_Subst table.
Parameters
- woId
Required. Holds the ID of the work order for the job.
- operId
Required. Holds the ID of the operation for the job.
- seqNo
Required. Holds the operation sequence number of the job.
- bomPos
Required. Holds the BOM position.
- altNo
Required. Holds the alternative for the given BOM position.
Return Value
Returns a DataSet that contains the DataRow of the specified job BOM substitute record in the Job_Bom_Subst table. If no matching record for the specified job BOM substitute is found, an empty DataSet is returned.