Delete Method (BomItemOperSpec)
- Last UpdatedNov 06, 2025
- 2 minute read
The Delete() method deletes the specified BOM item operation specification record from the Bom_Item_Oper_Spec table.
'Declaration
Public Shared Sub Delete( _
ByVal sessionId As Integer, _
ByVal itemId As String, _
ByVal verId As String, _
ByVal bomPos As Integer, _
ByVal processId As String, _
ByVal operId As String, _
ByVal stepNo As Integer, _
ByVal specVerId As String, _
ByVal specId As String, _
ByVal modId As String _
)
'Usage
Dim sessionId As Integer
Dim itemId As String
Dim verId As String
Dim bomPos As Integer
Dim processId As String
Dim operId As String
Dim stepNo As Integer
Dim specVerId As String
Dim specId As String
Dim modId As String
BomItemOperSpec.Delete(sessionId, itemId, verId, bomPos, processId, operId, stepNo, specVerId, specId, modId)
public static void Delete(
int sessionId,
string itemId,
string verId,
int bomPos,
string processId,
string operId,
int stepNo,
string specVerId,
string specId,
string modId
)
Parameters
- sessionId
-
Required. Holds the session ID and thus the user who is making this method call.
- itemId
Required. Holds the ID of the BOM item associated with the record that is being deleted.
- verId
Required. Holds the ID of the BOM version.
- bomPos
Required. Holds the BOM position (not necessarily in seqence).
- processId
Required. Holds the ID of the process that is used to make the item.
- operId
Required. Holds the ID of the operation in the process.
- stepNo
Required. Holds the number of the step with which the specification is associated.
- specVerId
Required. Holds the ID of the specification version.
- specId
Required. Holds the ID of the specification.
- modId
Required. Holds a modification ID value to avoid data contention. The passed value must match the record's modification ID value for the record to be deleted.