EndJob Method (Jobs)
- Last UpdatedNov 06, 2025
- 1 minute read
The EndJob() method ends the specified job. If the job is part of a batch, an attempt is made to end all jobs in the batch. Ending a job puts the job state into a Completed state.
Parameters
- woId
- Required. Holds the ID of the work order used to identify the job that is to be ended.
- operId
- Required. Holds the ID of the operation used to identify the job that is to be ended.
- seqNo
- Required. Holds the operation sequence number used to identify the job that is to be ended.
- statusNotes
- Required. Holds the status notes that are to be saved with the job when the job is ended. These notes are edited in the dialog used to confirm that the user wants to end the job.