TaxUncommitted_IN::proratedBOECustomsDuty Method
Gets the cumulative prorated customs duty of all BOEs for the current purchase line and the current tax code, for both the accounting currency and the reporting currency.
Syntax
server public static TaxAmount proratedBOECustomsDuty(
container _taxCons,
[boolean _updateRecord,
Amount _amount,
CurrencyCode _reportingCurrency])
Run On
Server
Parameters
- _taxCons
Type: container
A container that holds the TaxUncommitted buffers and the factored quantities. This container should be created by using a map only.
- _updateRecord
Type: boolean
A Boolean value that indicates whether to update the BOE transaction table for the consumed BOE quantity.
- _amount
Type: Amount Extended Data Type
The transaction currency amount. The default value is 0.
- _reportingCurrency
Type: CurrencyCode Extended Data Type
The reporting currency that is attached to the company or ledger.
Return Value
Type: TaxAmount Extended Data Type
The updated partial BOE table for the remaining quantity after consumption by purchase order invoicing.
This method gets the cumulative customs duty (after prorating, if this is required) for the tax code that is currently being posted, considering multiple partial BOEs, each of which might have a different customs exchange rate. The method gets the value for both the accounting currency and the reporting currency.