Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _baseAmountCur
Type: AmountCur Extended Data Type
The line amount that includes taxes.
- _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.
- _baseQty
Type: TaxBase Extended Data Type
The quantity on the line used for unit calculations; optional.
- _baseUnit
Type: UnitOfMeasureSymbol Extended Data Type
The unit of quantity for the line that is used in unit calculations; optional.
- _itemId
Type: ItemId Extended Data Type
The item ID of the item on the line that is used for unit calculations; optional.
- _sourceRecId
Type: RefRecId Extended Data Type
The record ID of the transaction line.
- _sourceTableId
Type: RefTableId Extended Data Type
The table ID of the transaction line.
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.