Currency::customsCurAmount_IN Method
Gets the transaction currency amount from the specified accounting currency amount.
Syntax
client server public static AmountCur customsCurAmount_IN(
AmountMST _amountMST,
CurrencyCode _currencyCode,
EximExportImport_IN _direction,
[TransDate _exchRateDate,
boolean _rounding])
Run On
Called
Parameters
- _amountMST
Type: AmountMST Extended Data Type
The accounting currency amount that is used to calculate the transaction currency amount.
- _currencyCode
Type: CurrencyCode Extended Data Type
Currency code for which exchangeRate is queried.
- _direction
Type: EximExportImport_IN Extended Data Type
Direction for which exchangeRate is queried.
- _exchRateDate
Type: TransDate Extended Data Type
Exchange rate date for which exchangeRate is queried; optional.
- _rounding
Type: boolean
A Boolean value that determines whether the result should be rounded; optional.
Return Value
Type: AmountCur Extended Data Type
The amount in transaction currency by considering the customs exchange rate.