DimensionDefaultingControllerNoDS::constructInGroupWithValues Method [AX 2012]
Constructs an instance of the DimensionDefaultingController class that has a string edit control associated to each DimensionAttribute table of the specified FormGroupControl object.
Syntax
client public static DimensionDefaultingControllerNoDS constructInGroupWithValues(
boolean _showNoDefaultLabel,
boolean _showWhereUsed,
boolean _allowEdit,
RecId _editableDimensionAttributeSetId,
FormRun _formRun,
FormGroupControl _groupControlContainer,
str _introGroupLabel,
[SelectableDataArea _company,
boolean _includeMainAccount])
Run On
Client
Parameters
- _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
- _company
Type: SelectableDataArea Extended Data Type
- _includeMainAccount
Type: boolean
Return Value
Type: DimensionDefaultingControllerNoDS Class
A new instance of the DimensionDefaultingController class that has a check box control associated to each DimensionAttribute table.
Exceptions
Exception | Condition |
---|---|
Error | Either the _formRun, _groupControlContainer, _introGroupLabel, _valueLabel, or _company parameter was not specified. -or- An _editableDimensionAttributeSetID parameter can only be specified if the _allowEdit parameter is true. |