DialogFieldDimensionDefaultingController.initWithChecks Method [AX 2012]
Initializes an instance of the DialogFieldDimensionDefaultingController class that has a check box control associated with each DimensionAttribute record.
Syntax
public void initWithChecks(
boolean _allowEdit,
RecId _editableDimensionAttributeSetId,
str _introGroupLabel,
str _checkLabel,
[SelectableDataArea _company])
Run On
Client
Parameters
- _allowEdit
Type: boolean
A Boolean value that indicates whether the controls are editable.
- _editableDimensionAttributeSetId
Type: RecId Extended Data Type
Provides a list of DimensionAttribute records that are associated with the editable controls; optional.
- _introGroupLabel
Type: str
The label to use as introductory text above the added controls.
- _checkLabel
Type: str
The label to use to identify the column of check box controls.
- _company
Type: SelectableDataArea Extended Data Type
The company to use to filter the list of DimensionAttribute records.
Exceptions
Exception | Condition |
---|---|
Error | The _introGroupLabel, _checkLabel and _company parameters must be specified. An _editableDimensionAttributeSetID parameter can only be specified if the _allowEdit parameter is true. |