DeleteAll Method (JobBomSubstitute)
- Last UpdatedNov 06, 2025
- 2 minute read
The DeleteAll() method removes one or more job BOM substitute records from the Job_Bom_Subst table, as specified by the filter parameters. Passing no filter parameters will remove all job BOM substitute 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 bomPos As Nullable(Of Integer), _
ByVal altNo As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim woId As String
Dim operId As String
Dim seqNo As Nullable(Of Integer)
Dim bomPos As Nullable(Of Integer)
Dim altNo As Nullable(Of Integer)
JobBomSubstitute.DeleteAll(sessionId, woId, operId, seqNo, bomPos, altNo)
public static void DeleteAll(
int sessionId,
string woId,
string operId,
Nullable<int> seqNo,
Nullable<int> bomPos,
Nullable<int> altNo
)
Parameters
- sessionId
Required. Holds the session ID and thus the user who is making this method call.
- woId
Optional filter parameters. Holds the ID of the work order for the job.
- operId
Optional filter parameters. Holds the ID of the operation for the job.
- seqNo
Optional filter parameters. Holds the operation sequence number of the job.
- bomPos
Optional filter parameters. Holds the BOM position.
- altNo
Optional filter parameters. Holds the ID of the alternative for the given BOM position.