Share via


DimensionDynamicAccountController::construct Method [AX 2012]

Creates an instance of the DimensionDynamicAccountController class.

Syntax

client server public static DimensionDynamicAccountController construct(
    FormDataSource _dataSource, 
    FieldName _fieldName, 
    FieldName _accountTypeField, 
   [EnumName _accountTypeEnum])

Run On

Called

Parameters

  • _dataSource
    Type: FormDataSource Class
    The data source that contains the field reference managed by the controller.
  • _accountTypeField
    Type: FieldName Extended Data Type
    The data source field that contains the account type that determines the controller type to display.

Return Value

Type: DimensionDynamicAccountController Class
The new instance of the DimensionDynamicAccountController class.

See Also

Reference

DimensionDynamicAccountController Class