Share via


AssetAllocLineDimAttrValController_CN::construct Method [AX 2012]

Constructs an instance of the DimensionAttributeValueController class that can handle dimension value lookup, validate and storage for an allocation rule line.

Syntax

client server public static AssetAllocLineDimAttrValController_CN construct(
    FormRun _formRun, 
    FormGroupControl _rootContainerAsGroup, 
    FormTabPageControl _rootContainerAsTabPage, 
    boolean _showNoDefaultLabel, 
    boolean _trackValues, 
   [SelectableDataArea _company])

Run On

Called

Parameters

  • _formRun
    Type: FormRun Class
    The FormRun object that hosts the container that contains the added controls.
  • _rootContainerAsGroup
    Type: FormGroupControl Class
    The FormGroupControl object that contains the added controls.
  • _rootContainerAsTabPage
    Type: FormTabPageControl Class
    The FormTapPageControl object that contains the added controls.
  • _showNoDefaultLabel
    Type: boolean
    A Boolean value that indicates whether the name column associated with each value displays "No default" or blank when no value is entered.
  • _trackValues
    Type: boolean
    A Boolean value that indicates whether to display values.

Return Value

Type: AssetAllocLineDimAttrValController_CN Class
A new instance of the DimensionAttributeValueController class that can handle dimension value lookup, validate and storage for an allocation rule line.

Exceptions

Exception Condition
Error

A valid _company, _formRun, and _rootContainer parameter must be specified.

See Also

Reference

AssetAllocLineDimAttrValController_CN Class