DimensionDefaultingControllerNoDS::constructInGroupWithCombosAndValues Method [AX 2012]
Constructs an instance of the DimensionDefaultingController class that has a combo box control and entry value that is associated with the DimensionAttribute tables that are added to the specified FormGroupControl container.
Syntax
client public static DimensionDefaultingControllerNoDS constructInGroupWithCombosAndValues(
EnumId _enumType,
boolean _valuesAppearLast,
boolean _allowEdit,
RecId _editableDimensionAttributeSetId,
FormRun _formRun,
FormGroupControl _groupControlContainer,
str _introGroupLabel,
str _comboLabel,
[SelectableDataArea _company])
Run On
Client
Parameters
- _enumType
Type: EnumId Extended Data Type
- _valuesAppearLast
Type: boolean
- _allowEdit
Type: boolean
- _editableDimensionAttributeSetId
Type: RecId Extended Data Type
- _formRun
Type: FormRun Class
- _groupControlContainer
Type: FormGroupControl Class
- _introGroupLabel
Type: str
- _comboLabel
Type: str
- _company
Type: SelectableDataArea Extended Data Type
Return Value
Type: DimensionDefaultingControllerNoDS Class
A new instance of the DimensionDefaultingControllerclass that has a combo box control and an entry value associated to each DimensionAttribute tables.
Exceptions
Exception | Condition |
---|---|
Error | The _formRun, _groupControlContainer, _introGroupLabel, _valueLabel and _company parameters must be specified. An _editableDimensionAttributeSetID parameter can only be specified when the _allowEdit parameter is true. |