PdsDimensionSelectionController::newController Method [AX 2012]

Constructs an instance of the PdsDimensionSelectionController class by using a string edit control that is associated to each record of the DimensionAttribute value that is added to the specified FormGroupControl container.

client public static PdsDimensionSelectionController newController(
    boolean _showNoDefaultLabel, 
    FormRun _formRun, 
    FormGroupControl _groupControlContainer, 
    str _introGroupLabel, 
   [SelectableDataArea _company])

Run On

Client

Parameters

_showNoDefaultLabel
Type: boolean
A Boolean value that indicates whether the name column that is associated to each value shows no default or displays a blank value when no value is entered.
_formRun
Type: FormRun Class
An instance of the FormRun class for the form that is hosting the container to hold the added controls.
_groupControlContainer
Type: FormGroupControl Class
The FormGroupControl container to hold the added controls.
_introGroupLabel
Type: str
The label to use as introductory text above the added controls.
_company
Type: SelectableDataArea Extended Data Type
The company used to filter the list of DimensionAttribute records.

Return Value

Type: PdsDimensionSelectionController Class
A new instance of the DimensionDefaultingController class that uses a check box control associated to each DimensionAttribute record.

ExceptionCondition
Error

The method was called by using wrong parameters

Show: