DeleteAll Method (LotAttr)
- Last UpdatedNov 06, 2025
- 1 minute read
This DeleteAll()method deletes multiple records from the Lot_Attr table. Note: This is considered to be an advanced method and must be used with care. Calling this methods with all parameters set to null will cause all the data in the table to be deleted. Whenever possible, use the Delete methods rather than the DeleteAll method
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal itemId As String, _
ByVal lotNo As String, _
ByVal attrId As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim itemId As String
Dim lotNo As String
Dim attrId As Nullable(Of Integer)
LotAttr.DeleteAll(sessionId, itemId, lotNo, attrId)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- itemId
Optional filter parameter. Holds the ID of an item used to identify the lot.
- lotNo
Optional filter parameter. Holds the lot number to identify the lot.
- attrId
Optional filter parameter. Holds the ID of an attribute being deleted from the lot.