TaxUncommitted::getActualTaxAmountForPrepayment Method
Gets the tax amount for the specified prepayment.
Syntax
client server public static TaxAmount getActualTaxAmountForPrepayment(
boolean _isPrepayment,
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher)
Run On
Called
Parameters
- _isPrepayment
Type: boolean
A Boolean value that indicates whether it is a prepayment.
- _documentTableId
Type: RefTableId Extended Data Type
The table ID for the transaction header.
- _documentId
Type: RefRecId Extended Data Type
The record ID of the transaction header.
- _voucher
Type: Voucher Extended Data Type
The voucher.
Return Value
Type: TaxAmount Extended Data Type
The tax amount in transactional currency.