DeleteAll Method (JobBom)
- Last UpdatedNov 06, 2025
- 2 minute read
The DeleteAll() method removes one or more job BOM records from the Job_Bom table, as specified by the filter parameters. Passing no filter parameters will remove all job BOM 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) _
)
'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)
JobBom.DeleteAll(sessionId, woId, operId, seqNo, bomPos)
public static void DeleteAll(
int sessionId,
string woId,
string operId,
Nullable<int> seqNo,
Nullable<int> bomPos
)
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 for a job.
- operId
Optional filter parameter. Holds the ID of the operation for a job.
- seqNo
Optional filter parameter. Holds the operation sequence number for a job.
- bomPos
Optional filter parameter. Holds the BOM position. For by-products, this value is negative. For produced items, the BOM position is 0 and the item_id is the same as the parent_item_id. The BOM position is usually in a sequence.