Currency::customsMSTAmount_IN Method
Gets the accounting currency amount from the specified transaction currency amount.
Syntax
client server public static AmountMST customsMSTAmount_IN(
AmountCur _amountCur,
CurrencyCode _currencyCode,
EximExportImport_IN _direction,
[TransDate _exchRateDate,
boolean _rounding])
Run On
Called
Parameters
- _amountCur
Type: AmountCur Extended Data Type
The transaction currency amount that is used to calculate the accounting 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: AmountMST Extended Data Type
The amount in base currency by considering the customs exchange rate.