DeleteAll Method (JobStep)
- Last UpdatedNov 06, 2025
- 1 minute read
The DeleteAll() method removes one or more job step records from the Job_Step table, as specified by the filter parameters. Passing no filter parameters will remove all job step records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Nullable(Of Integer), _
ByVal stepNo As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim woId As String
Dim operId As String
Dim seqNo As Nullable(Of Integer)
Dim stepNo As Nullable(Of Integer)
JobStep.DeleteAll(sessionId, woId, operId, seqNo, stepNo)
public static void DeleteAll(
int sessionId,
string woId,
string operId,
Nullable<int> seqNo,
Nullable<int> stepNo
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- woId
- Optional filter parameter. Holds the ID of the work order to which the job step belongs.
- operId
- Optional filter parameter. Holds the ID of the operation to which the job step belongs.
- seqNo
- Optional filter parameter. Holds the operation sequence number to which the job step belongs.
- stepNo
- Optional filter parameter. Holds the step number of the job step to be deleted.