PopupItemReasonSelection(Boolean,Int32,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopupItemReasonSelection() method opens an item reason selection dialog. This dialog displays a list of Reason Groups on the left and the specific Reasons associated with the selected group on the right.
This overload of the method does not filter the item reasons by item ID, entity, or rejected reasons.
public static bool PopupItemReasonSelection(
bool includeEmptyReason,
out int reasCd,
out string reasDesc
)
Parameters
- includeEmptyReason
- Required. Holds a flag that, if set to true, causes an empty entry to be included at the beginning of the list of reasons to allow for selection of 'None'.
- reasCd
- Output. Holds the selected reason code.
- reasDesc
- Output. Holds the selected reason description.
Return Value
Returns true if a reason was selected.