GetJobPath Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetJobPath() method retrieves a list of jobs for the specified work order, optionally in the order that the jobs should be executed.
'Declaration
Public Shared Function GetJobPath( _
ByVal woId As String, _
ByVal sortOrder As Nullable(Of Boolean) _
) As DataSet
'Usage
Dim woId As String
Dim sortOrder As Nullable(Of Boolean)
Dim value As DataSet
value = JobRoute.GetJobPath(woId, sortOrder)
public static DataSet GetJobPath(
string woId,
Nullable<bool> sortOrder
)
Parameters
- woId
- Required. Holds the work order ID of the jobs being retrieved.
- sortOrder
- Optional. A flag that, if set to true, specifies that the returned list of jobs be sorted in the order in which they should be executed. The default setting is true.
Return Value
Returns a DataSet that contains all the the job records in the Job table for the specified work order. If the passed sortOrder flag was set to true, the records will be sorted in the order in which the jobs should be executed. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
wo_id |
A string that is the work order of the job. |
|
oper_id |
A string that is the operation of the job. |
|
seq_no |
An integer that is the sequence number of the job. |