DeleteAll Method (BomItemOperLink)
- Last UpdatedNov 06, 2025
- 2 minute read
The DeleteAll() method deletes one or more BOM item/operation link records from the Bom_Item_Oper_Link table, as specified by the filter parameters. Passing no filter parameters will deleted all BOM item/operation link records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal parentItemId As String, _
ByVal verId As String, _
ByVal bomPos As Nullable(Of Integer), _
ByVal processId As String, _
ByVal operId As String _
)
'Usage
Dim sessionId As Integer
Dim parentItemId As String
Dim verId As String
Dim bomPos As Nullable(Of Integer)
Dim processId As String
Dim operId As String
BomItemOperLink.DeleteAll(sessionId, parentItemId, verId, bomPos, processId, operId)
public static void DeleteAll(
int sessionId,
string parentItemId,
string verId,
Nullable<int> bomPos,
string processId,
string operId
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- parentItemId
Optional filter parameter. Holds the ID of a parent item.
- verId
Optional filter parameter. Holds the ID of a BOM version.
- bomPos
Optional filter parameter. Holds a BOM position. The BOM position is not necessarily in a sequence.
- processId
- Optional filter parameter. Holds the ID of a process to which an operation belongs.
- operId
- Optional filter parameter. Holds the ID of an operation that is being linked to an item.