DeleteAll Method (BomItemOperSpec)
- Last UpdatedNov 06, 2025
- 2 minute read
The DeleteAll() method removes one or more BOM item operation specification records from the Bom_Item_Oper_Spec table, as specified by the filter parameters. Passing no filter parameters will remove all BOM item operation specification records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal itemId As String, _
ByVal verId As String, _
ByVal bomPos As Nullable(Of Integer), _
ByVal processId As String, _
ByVal operId As String, _
ByVal stepNo As Nullable(Of Integer), _
ByVal specVerId As String, _
ByVal specId As String _
)
'Usage
Dim sessionId As Integer
Dim itemId As String
Dim verId As String
Dim bomPos As Nullable(Of Integer)
Dim processId As String
Dim operId As String
Dim stepNo As Nullable(Of Integer)
Dim specVerId As String
Dim specId As String
BomItemOperSpec.DeleteAll(sessionId, itemId, verId, bomPos, processId, operId, stepNo, specVerId, specId)
public static void DeleteAll(
int sessionId,
string itemId,
string verId,
Nullable<int> bomPos,
string processId,
string operId,
Nullable<int> stepNo,
string specVerId,
string specId
)
Parameters
- sessionId
Required. Holds the session ID and thus the user who is making this method call.
- itemId
Optional filter parameter. Holds the ID of the BOM item that is associated with a record that is being deleted.
- verId
Optional filter parameter. Holds the ID of the BOM version.
- bomPos
Optional filter parameter. Holds the BOM position (not necessarily in sequence).
- processId
Optional filter parameter. Holds the ID of the process that is used to make an item.
- operId
Optional filter parameter. Holds the ID of the operation in a process.
- stepNo
Optional filter parameter. Holds the number of the step with which a specification is associated.
- specVerId
Optional filter parameter. Holds the ID of a specification version.
- specId
Optional filter parameter. Holds the ID of a specification.