DimensionDefaultingControllerNoDS::constructInGroupWithChecksAndValues Method [AX 2012]
Constructs and returns an instance of the DimensionDefaultingController class that has a check box and string edit control associated to each DimensionAttribute table that has been added to the FormGroupControl container specified.
Syntax
client public static DimensionDefaultingControllerNoDS constructInGroupWithChecksAndValues(
boolean _valuesAppearLast,
boolean _showNoDefaultLabel,
boolean _showWhereUsed,
boolean _allowEdit,
RecId _editableDimensionAttributeSetId,
FormRun _formRun,
FormGroupControl _groupControlContainer,
str _introGroupLabel,
str _checkLabel,
[SelectableDataArea _company])
Run On
Client
Parameters
- _valuesAppearLast
Type: boolean
- _showNoDefaultLabel
Type: boolean
- _showWhereUsed
Type: boolean
- _allowEdit
Type: boolean
- _editableDimensionAttributeSetId
Type: RecId Extended Data Type
- _formRun
Type: FormRun Class
- _groupControlContainer
Type: FormGroupControl Class
- _introGroupLabel
Type: str
- _checkLabel
Type: str
- _company
Type: SelectableDataArea Extended Data Type
Return Value
Type: DimensionDefaultingControllerNoDS Class
A new instance of the DimensionDefaultingController class that has a check box control associated to the DimensionAttribute tables.
Exceptions
Exception | Condition |
---|---|
Error | One of the following parameters was not specified: the _formRun, _groupControlContainer, _introGroupLabel, _checkLabel, _valueLabel, or _company. -or- The _editableDimensionAttributeSetID was specified but the _allowEdit parameter was false. |