Tax::baseAmountExclTax_IN Method [AX 2012]
Calculates and retrieves the amount exclusive of tax for a journal line and should be used when the line amount includes taxes.
Syntax
server public static TaxBaseCur baseAmountExclTax_IN(
Common _common,
TransDate _taxDate,
AmountCur _lineAmount,
AmountCur _baseAmountCur,
[EndDiscPct _discPercent,
Tax _tax])
Run On
Server
Parameters
- _common
Type: Common Table
The salesPurchLine table.
- _taxDate
Type: TransDate Extended Data Type
The as of date used to calculate the taxes.
- _lineAmount
Type: AmountCur Extended Data Type
The original line amount of the transaction.
- _baseAmountCur
Type: AmountCur Extended Data Type
The actual base amount that includes taxes.
- _discPercent
Type: EndDiscPct Extended Data Type
The total discount percentage on the line; optional.
- _tax
Type: Tax Class
The tax object; optional.
Return Value
Type: TaxBaseCur Extended Data Type
The base amount exclusive of taxes.