Delete Method (JobSpec)
- Last UpdatedNov 06, 2025
- 1 minute read
The Delete() method deletes the specified job specification record from the Job_Spec table.
public static void Delete(
int sessionId,
string woId,
string operId,
int seqNo,
int stepNo,
string specId,
string modId
)
Parameters
- sessionId
Required. Holds the session ID and thus the user who is making this method call.
- woId
Required. Holds the ID of the work order.
- operId
Required. Holds the ID of the operation.
- seqNo
Required. Holds the operation sequence number of the job.
- stepNo
Required. Holds the number of the step with which the specification is associated.
- specId
Required. Holds the specification ID.
- modId
Required. Holds a modification ID value to avoid data contention. The passed value must match the record's modification ID value for the record to be deleted.