LedgerDimensionAccountController.validateMainAccountType Method [AX 2012]
Validates the provided main account type.
Syntax
protected boolean validateMainAccountType(DimensionLedgerAccountType _mainAccountType, str _value)
Run On
Called
Parameters
- _mainAccountType
Type: DimensionLedgerAccountType Enumeration
The DimensionLedgerAccountType value which needs to be validated.
- _value
Type: str
The display value of the main account.
Return Value
Type: boolean
true when the main account type is not Total or Reporting; otherwise, false.