TaxLedgerAccountGroup::verifyVATAccountNum Method
If the account type or the offset account type of the journal line is ledger, this method checks if the tax account exists according to the ledger account posting group for tax.
Syntax
client server public static boolean verifyVATAccountNum(LedgerDimensionAccount _ledgerDimension, TaxCode _taxCode)
Run On
Called
Parameters
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The ledger dimension to verify.
- _taxCode
Type: TaxCode Extended Data Type
The tax code to verify.
Return Value
Type: boolean
true if one of the accounts is a ledger account, and that ledger account is a tax account; otherwise, false.