Tax.validateLedgerDimensionForPosting Method [AX 2012]
Checks whether the ledger dimension specified is valid.
Syntax
private void validateLedgerDimensionForPosting(
LedgerDimensionAccount _ledgerDimension,
TaxDirection _taxDirection,
TaxCode _taxCode,
[boolean _validatingUseTaxPayable])
Run On
Server
Parameters
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The ledger dimension to validate.
- _taxDirection
Type: TaxDirection Enumeration
The tax direction.
- _taxCode
Type: TaxCode Extended Data Type
The tax code.
- _validatingUseTaxPayable
Type: boolean
true if the use tax payable account is to be validated; otherwise, false; optional.