WO Constructor(String,Boolean)
- Last UpdatedNov 06, 2025
- 1 minute read
The WO() method is the constructor used to instantiate a work order.
This overload of the method loads the specified work order from the database and, optionally, the work order's attribute data. The overload uses a work order ID to identify the work order.
'Declaration
Public Function New( _
ByVal woId As String, _
ByVal loadAttributes As Boolean _
)
public WO(
string woId,
bool loadAttributes
)
Parameters
- woId
- Required. Holds the ID used to identify the work order.
- loadAttributes
- Required. Holds a flag that, if set to true, specifies that the work order's attributes should also be loaded.