DeleteAll Method (WOAttr)
- Last UpdatedNov 06, 2025
- 1 minute read
The DeleteAll() method removes work order attribute records from the WO_Attr table. Using the optional filter parameters, all of a work order's attributes can be removed, or only a specified attribute of the work order. Passing no filter parameters will remove all work order attribute records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal woId As String, _
ByVal attrId As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim woId As String
Dim attrId As Nullable(Of Integer)
WOAttr.DeleteAll(sessionId, woId, attrId)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- woId
- Optional filter parameter. Holds the ID of the work order whose attributes are being deleted.
- attrId
- Optional filter parameter. Holds the ID of the attribute that is being deleted.