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.
Loads transaction line information into the Tax table.
Syntax
protected TaxAmountCur initializeTaxForLine(
boolean _amountInclTax,
TaxBase _baseAmount,
TaxBase _baseAmountIncludingTax,
DimensionDefault _dimensionDefault,
LedgerDimensionAccount _operationLedgerDimension,
LedgerPostingType _ledgerPostingType,
[TaxBase _unitAmount,
ItemId _itemId,
Qty _quantity,
UnitOfMeasureSymbol _baseUnit,
ExchRate _exchRate_W,
VatDueDate_W _vatDueDate_W])
Run On
Server
Parameters
- _amountInclTax
Type: boolean
A Boolean value that specifies whether the line amount includes tax.
- _baseAmount
Type: TaxBase Extended Data Type
The line amount excluding tax.
- _baseAmountIncludingTax
Type: TaxBase Extended Data Type
The line amount.
- _dimensionDefault
Type: DimensionDefault Extended Data Type
The default dimensions.
- _operationLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The operation account.
- _ledgerPostingType
Type: LedgerPostingType Enumeration
- _unitAmount
Type: TaxBase Extended Data Type
The unit amount for the line.
- _itemId
Type: ItemId Extended Data Type
The item ID if inventory is supported.
- _quantity
Type: Qty Extended Data Type
The quantity from the transaction line.
- _baseUnit
Type: UnitOfMeasureSymbol Extended Data Type
The unit on the transaction line.
- _exchRate_W
Type: ExchRate Extended Data Type
The exchange rate
- _vatDueDate_W
Type: VatDueDate_W Extended Data Type
The VAT register date.
Return Value
Type: TaxAmountCur Extended Data Type
The base amount, excluding taxes and cash discounts.