Tax.checkTaxDirection Method [AX 2012]
Determines whether the value for tax direction is specified for the account.
Syntax
public boolean checkTaxDirection(MainAccount _mainAccount)
Run On
Server
Parameters
- _mainAccount
Type: MainAccount Table
The general ledger account number for which the check will be done.
Return Value
Type: boolean
true if the MandatoryTaxDirection field is not marked on the TaxParameters table and the account has a specified tax direction; otherwise, false.