DeleteAll Method (ItemSubstitute)
- Last UpdatedNov 06, 2025
- 1 minute read
The DeleteAll() method removes one or more item substitute records from the Item_Subst table, as specified by the filter parameters. Passing no filter parameters will remove all item substitute records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal origItemId As String, _
ByVal altNo As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim origItemId As String
Dim altNo As Nullable(Of Integer)
ItemSubstitute.DeleteAll(sessionId, origItemId, altNo)
public static void DeleteAll(
int sessionId,
string origItemId,
Nullable<int> altNo
)
Parameters
- sessionId
Required. Holds the session ID and thus the user who is making this method call.
- origItemId
Optional filter parmeter. 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.