DeleteAll Method (SubLotAttr)
- Last UpdatedNov 06, 2025
- 2 minute read
This DeleteAll()method deletes multiple records from the Sublot_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 subLotNo As String, _
ByVal attrId As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim itemId As String
Dim lotNo As String
Dim subLotNo As String
Dim attrId As Nullable(Of Integer)
SubLotAttr.DeleteAll(sessionId, itemId, lotNo, subLotNo, attrId)
public static void DeleteAll(
int sessionId,
string itemId,
string lotNo,
string subLotNo,
Nullable<int> 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 the item of the lot to which a sublot belongs.
- lotNo
Optional filter parameter. Holds the lot number of the lot to which a sublot belongs.
- subLotNo
Optional filter parameter. Holds the sublot number that is being deleted from the sublot.
- attrId
Optional filter parameter. Holds the ID of an attribute that is being deleted from the sublot.