DialogFieldDimensionDefaultingController.initWithChecksAndValues Method [AX 2012]
Initializes an instance of the DialogFieldDimensionDefaultingController class that has a check box and a string edit control that are associated to each DimensionAttribute record.
Syntax
public void initWithChecksAndValues(
boolean _valuesAppearLast,
boolean _showNoDefaultLabel,
boolean _showWhereUsed,
boolean _allowEdit,
RecId _editableDimensionAttributeSetId,
str _introGroupLabel,
str _checkLabel,
[SelectableDataArea _company])
Run On
Client
Parameters
- _valuesAppearLast
Type: boolean
A Boolean value that indicates whether the value column appears before or after the combo box column.
- _showNoDefaultLabel
Type: boolean
A Boolean value that indicates whether the name column that is associated with each value shows no default or just shows an empty string when there is no value.
- _showWhereUsed
Type: boolean
A Boolean value that indicates whether the where used structure pane is drawn to the right of the primary edit control pane.
- _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.
- _introGroupLabel
Type: str
The label used 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, _valueLabel, and _company parameters must be specified. The _editableDimensionAttributeSetID parameter can be specified only if the _allowEdit parameter is true. |
Remarks
The _editableDimensionAttributeSetId parameter can be specified only when the _allowEdit parameter is true.