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.
- _fieldName
Type: FieldName Extended Data Type
The data source field that contains the 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.
- _accountTypeEnum
Type: EnumName Extended Data Type
The account type enumeration value to use to control the display.
Return Value
Type: DimensionDynamicAccountController Class
The new instance of the DimensionDynamicAccountController class.