Share via


DialogFieldDimensionDefaultingController.initWithValues Method [AX 2012]

Initializes an instance of the DialogFieldDimensionDefaultingController class that has a string edit control that is associated with each DimensionAttribute record.

Syntax

public void initWithValues(
    boolean _showNoDefaultLabel, 
    boolean _showWhereUsed, 
    boolean _allowEdit, 
    RecId _editableDimensionAttributeSetId, 
    str _introGroupLabel, 
   [SelectableDataArea _company, 
    boolean _includeMainAccount])

Run On

Client

Parameters

  • _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 no value is entered.
  • _showWhereUsed
    Type: boolean
    A Boolean value that indicates whether the 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 to use as the introductory text above the added controls.
  • _includeMainAccount
    Type: boolean
    A Boolean value that specifies whether the main account should be included.

Exceptions

Exception Condition
Error

The _introGroupLabel, _valueLabel and _company parameters must be specified.

An _editableDimensionAttributeSetID can be specified only if the _allowEdit parameter is true.

Remarks

The _editableDimensionAttributeSetId parameter can be specified only when the _allowEdit parameter is true.

See Also

Reference

DialogFieldDimensionDefaultingController Class