DimensionDefaultingControllerNoDS::constructInGroupWithChecks Method [AX 2012]
Constructs an instance of the DimensionDefaultingController class.
Syntax
client public static DimensionDefaultingControllerNoDS constructInGroupWithChecks(
boolean _allowEdit,
RecId _editableDimensionAttributeSetId,
FormRun _formRun,
FormGroupControl _groupControlContainer,
str _introGroupLabel,
str _checkLabel,
[SelectableDataArea _company])
Run On
Client
Parameters
- _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 that is associated with the DimensionAttribute tables.
Exceptions
Exception | Condition |
---|---|
Error | The _formRun, _groupControlContainer, _introGroupLabel, _checkLabel and _company parameters must be specified. An _editableDimensionAttributeSetID parameter can only be specified if _allowEdit is true. |
Remarks
The DimensionDefaultingController class has a check box control, which is associated to the DimensionAttribute tables that are added to the specified FormGroupControl container.