TmpTaxReport_HU::getTaxAmounts Method
Gets the tax detailed amounts for the specified tax transaction.
Syntax
client server public static container getTaxAmounts(
TaxTrans _taxTrans,
ReportMode_W _reportMode,
boolean _includeExchRate,
TableId _taxTransOriginForExchRate)
Run On
Called
Parameters
- _taxTrans
Type: TaxTrans Table
The TaxTrans record.
- _reportMode
Type: ReportMode_W Enumeration
The reporing mode in which the tax detailed amounts are needed.
- _includeExchRate
Type: boolean
A Boolean value that indicates whether to include the exchange rate used to calculate the tax amounts in the company currency for accounting.
- _taxTransOriginForExchRate
Type: TableId Extended Data Type
The table identity of the tax transaction origin table that should be used to find the exchange rate.
Return Value
Type: container
A container with three elements, including the tax base amount, the tax amount, and the exchange rate.
Exceptions
Exception | Condition |
---|---|
Error | Wrong use of function. |