SetJobQueue Method
- Last UpdatedNov 06, 2025
- 2 minute read
The SetJobQueue() method sets the new job state of the job. This method is used when changing from one paused state to another.
'Declaration
Public Shared Sub SetJobQueue( _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Integer, _
ByVal newJobState As JobStates, _
ByVal concurrentLink As Integer, _
ByVal statusNotes As String, _
ByVal editTime As String _
)
public static void SetJobQueue(
string woId,
string operId,
int seqNo,
JobStates newJobState,
int concurrentLink,
string statusNotes,
string editTime
)
Parameters
- woId
- Required. Holds the ID of the work order used to identify the job whose job state is being changed.
- operId
- Required. Holds the ID of the operation used to identify the job whose job state is being changed.
- seqNo
- Required. Holds the operation sequence number used to identify the job whose job state is being changed.
- newJobState
- Required. Holds the new job state into which the job is to be put.
- concurrentLink
- Required. Holds the concurrent link number of the job. If the job is part of a batch, all jobs with this concurrent link value will be put into the new job state at the same time.
- statusNotes
- Required. Holds the status notes of the job that are to be saved with the job when the job state is changed. These notes can be edited/added in the confirmation window that is presented for the user to confirm what job state the job is to be put.
- editTime
- Required. Holds the last time the record was edited. Used to identify the correct job record when changing the job state to a new paused state.