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.
Calculates amount based on the ExchangeRateType value.
Syntax
protected AmountMST calcAmountMSTByExchType(
ExchangeRateTypeName _exchangeRateTypeName,
AmountCur _amountCur,
CurrencyCode _transactionCurrencyCode,
TransDate _invoiceDate)
Run On
Called
Parameters
- _exchangeRateTypeName
Type: ExchangeRateTypeName Extended Data Type
A ExchangeRateType value with proper exchange rate defined.
- _amountCur
Type: AmountCur Extended Data Type
The source amount in currency.
- _transactionCurrencyCode
Type: CurrencyCode Extended Data Type
The currency code of source amount.
- _invoiceDate
Type: TransDate Extended Data Type
The invoice date of transaction.
Return Value
Type: AmountMST Extended Data Type
The amount in company currency, calculated via the provided ExchangeRateType value.