Delete Method (BomVersion)
- Last UpdatedNov 06, 2025
- 1 minute read
The Delete() method deletes the specified BOM version record from the Bom_Ver table.
'Declaration
Public Shared Sub Delete( _
ByVal sessionId As Integer, _
ByVal parentItemId As String, _
ByVal verId As String, _
ByVal modId As String _
)
'Usage
Dim sessionId As Integer
Dim parentItemId As String
Dim verId As String
Dim modId As String
BomVersion.Delete(sessionId, parentItemId, verId, modId)
Parameters
- sessionId
-
Required. Holds the session ID and thus the user who is making this method call.
- parentItemId
-
Required. Holds the ID of the parent item of the BOM version.
- verId
-
Required. Holds the ID of the BOM version.
- modId
Required. Holds the modification ID value to avoid data contention. The passed value must match the record's modification ID value for the record to be deleted.