GetByKey Method (JobStepFile)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified job step file record from the Job_Step_File table.
public static DataSet GetByKey(
string woId,
string operId,
int seqNo,
int stepNo,
string assocFile
)
Parameters
- woId
- Required. Holds the ID of the work order associated with the job.
- operId
- Required. Holds the ID of the operation associated with the job.
- seqNo
- Required. Holds the operation sequence number to which the job step belongs.
- stepNo
- Required. Holds the job step number.
- assocFile
- Required. Holds the path and file name of the file associated with the job step file.
Return Value
Returns a DataSet that contains the DataRow of the specified job step file in the Job_Step_File table. If no matching record for the specified job step file is found, an empty DataSet is returned.