Tax::taxTotal Method [AX 2012]

Gets the total tax for the voucher, date, and journal number.

server public static TaxAmountCur taxTotal(
    Voucher _voucher, 
    TransDate _date, 
   [LedgerJournalId _journalNum, 
    boolean _includeReversed, 
    boolean _includeUseTax])

Run On

Server

Parameters

_voucher
Type: Voucher Extended Data Type
The voucher.
_date
Type: TransDate Extended Data Type
The transaction date.
_journalNum
Type: LedgerJournalId Extended Data Type
The journal number.
_includeReversed
Type: boolean
true if reversed taxes should be included in the total; otherwise, false; optional.
_includeUseTax
Type: boolean

Return Value

Type: TaxAmountCur Extended Data Type
The total actual tax in transactional currency.

Reference

Show: