PopupWorkOrderSelection Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopupWorkOrderSelection() method opens a Work Order Selection dialog. This dialog, given a search pattern, displays a list of work orders that match the pattern. The selected work order is placed into the specified control.
'Declaration
Public Shared Sub PopupWorkOrderSelection( _
ByVal control As Control, _
ByVal pattern As String, _
ByVal includeEmptyWorkOrder As Boolean, _
ByVal requireFilter As Boolean _
)
public static void PopupWorkOrderSelection(
Control control,
string pattern,
bool includeEmptyWorkOrder,
bool requireFilter
)
Parameters
- control
- Required. Holds a reference to the control into which the selected work order will be placed.
- pattern
- Required. Holds the search pattern used for populating the list of work orders shown in the dialog.
- includeEmptyWorkOrder
- Required. Holds a flag that, if set to true, causes an entry to be included at the beginning of the list of work orders to allow for the selection of 'None'.
- requireFilter
- Required. Holds a flag that, if set to true, specifies that a filter pattern must be specified prior to displaying the list of work orders.