Tax.amountExclTax Method [AX 2012]

Calculates and returns the amount of exclusive tax for a journal line.

Syntax

public TaxBase amountExclTax(
    AmountCur _baseAmountCur, 
   [boolean _rounding, 
    boolean _calculateAmountByUnit, 
    TaxBase _baseQty, 
    UnitOfMeasureSymbol _baseUnit, 
    ItemId _itemId, 
    RefRecId _sourceRecId, 
    RefTableId _sourceTableId])

Run On

Server

Parameters

  • _rounding
    Type: boolean
    A Boolean value that indicates whether the value will be rounded according to the tax round off rules; optional.
  • _calculateAmountByUnit
    Type: boolean
    A Boolean value that indicates whether the "per unit" calculations will occur; optional.

Return Value

Type: TaxBase Extended Data Type
The base amount exclusive of taxes.

Remarks

This method should be used when the line amount includes taxes.

Values that are obtained from this method and used in tax calculations should not be rounded.

See Also

Reference

Tax Class