GetAll Method (JobStepGroup)
- Last UpdatedNov 06, 2025
- 3 minute read
'Declaration
Public Shared Function GetAll( _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Nullable(Of Integer), _
ByVal stepGrpId As Nullable(Of Integer), _
ByVal stepGrpSeq As Nullable(Of Integer), _
ByVal repeatability As Nullable(Of Integer), _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim woId As String
Dim operId As String
Dim seqNo As Nullable(Of Integer)
Dim stepGrpId As Nullable(Of Integer)
Dim stepGrpSeq As Nullable(Of Integer)
Dim repeatability As Nullable(Of Integer)
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = JobStepGroup.GetAll(woId, operId, seqNo, stepGrpId, stepGrpSeq, repeatability, lastEditBy, lastEditAt)
public static DataSet GetAll(
string woId,
string operId,
Nullable<int> seqNo,
Nullable<int> stepGrpId,
Nullable<int> stepGrpSeq,
Nullable<int> repeatability,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- woId
- Optional filter parameter. Holds the ID of a work order associated with a job.
- operId
- Optional filter parameter. Holds the ID of tha e operation associated with a job.
- seqNo
- Optional filter parameter. Holds the sequence number of an operation.
- stepGrpId
- Optional filter parameter. Holds the ID of a job step group.
- stepGrpSeq
- Optional filter parameter. Holds the sequence number of a step group.
- repeatability
Optional filter parameter. Holds an enumeration that indicates the repeatability of steps in a step group:
0 = steps can be performed only once during the execution of the job, as for setup and teardown steps.
1 = steps should be repeated for each lot that is produced (the default).- lastEditBy
- Optional filter parameter. Holds the ID of a user who added or last updated a job step group record.
- lastEditAt
- Optional filter parameter. Holds the date/time when a job step group record was added or last updated.
Return Value
Returns a DataSet that contains all the records in the Job_Step_Grp table that satisfy the specified filters. 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 ID of the work order. |
|
oper_id |
A string that is the ID of the operation. |
|
seq_no |
An integer that is the sequence number. |
|
step_grp_id |
An integer that is the ID of the job step group. |
|
step_grp_desc |
A string that is the description for this step group. |
|
step_grp_seq |
An integer that is the sequence number for performing the step group. The same sequence number means step groups can be performed concurrently. |
|
repeatability |
An integer that is the enumeration that indicates the repeatability of steps in this group:
|
|
last_edit_comment |
A string that contains comments about why the record was added or updated. |
|
last_edit_by |
A string that is the ID of the user who added or last updated this record. |
|
last_edit_at |
A datetime that indicates when the record was added or last updated. |