Delete Method (ItemSubstitute)
- Last UpdatedNov 06, 2025
- 1 minute read
The Delete() method deletes the specified item substitute record from the Item_Subst table.
'Declaration
Public Shared Sub Delete( _
ByVal sessionId As Integer, _
ByVal origItemId As String, _
ByVal altNo As Integer _
)
'Usage
Dim sessionId As Integer
Dim origItemId As String
Dim altNo As Integer
ItemSubstitute.Delete(sessionId, origItemId, altNo)
Parameters
- sessionId
Required. Holds the session ID and thus the user who is making this method call.
- origItemId
Required. Holds the ID of the item that is being substituted.
- altNo
Optional. Holds an index to this item that is used to identify it as an substitute (alternate) for another item.