TaxUncommitted::getActualTaxAmountForVoucher Method
Gets the actual tax amount for the voucher.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static TaxAmountCur getActualTaxAmountForVoucher(
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher,
boolean _includeUseTax,
[SelectableDataArea _companyId,
RefRecId _sourceRecId])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static TaxAmountCur getActualTaxAmountForVoucher(
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher,
boolean _includeUseTax,
[SelectableDataArea _companyId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static TaxAmountCur getActualTaxAmountForVoucher(
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher,
boolean _includeUseTax,
[SelectableDataArea _companyId])
Microsoft Dynamics AX 2012 (FPK)
client server public static TaxAmountCur getActualTaxAmountForVoucher(
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher,
boolean _includeUseTax,
[SelectableDataArea _companyId])
Microsoft Dynamics AX 2012 (SYS)
client server public static TaxAmountCur getActualTaxAmountForVoucher(
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher,
boolean _includeUseTax,
[SelectableDataArea _companyId])
Run On
Called
Parameters
- _documentTableId
Type: RefTableId Extended Data Type
The table ID for the transaction header.
- _documentId
Type: RefRecId Extended Data Type
The record ID of the transaction header.
- _voucher
Type: Voucher Extended Data Type
The voucher.
- _includeUseTax
Type: boolean
A Boolean value that indicates whether the tax amount must include use tax.
- _companyId
Type: SelectableDataArea Extended Data Type
- _sourceRecId
Type: RefRecId Extended Data Type
Return Value
Type: TaxAmountCur Extended Data Type
The tax amount in transactional currency.