GetByKey Method (JobSpec)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified job specification record from the Job_Spec table.
Parameters
- woId
Required. Holds the ID of the work order that identifies the record to be retrieved.
- operId
Required. Holds the ID of the operation that identifies the record to be retrieved.
- seqNo
Required. Holds the operation sequence number of the job that identifies the record to be retrieved.
- stepNo
Required. Holds the step number that identifies the record to be retrieved.
- specId
Required. Holds the specification ID that identifies the record to be retrieved.
Return Value
Returns a DataSet that contains the DataRow of the specified job specification in the Job_Spec table. If no matching record for the specified job specification is found, an empty DataSet is returned.