AgreementLine.convertCurrencyCode Method
Converts currency dependable fields when currency code has been changed according to exchange rates between old and new currencies.
Syntax
public void convertCurrencyCode(
CurrencyCode _fromCurrencyCode,
CurrencyCode _toCurrencyCode,
[TransDate _exchRateDate])
Run On
ClientOrServer
Parameters
- _fromCurrencyCode
Type: CurrencyCode Extended Data Type
The old currency that is used by Agreement.
- _toCurrencyCode
Type: CurrencyCode Extended Data Type
The new currency that will be used by Agreement.
- _exchRateDate
Type: TransDate Extended Data Type
The date to pick for a correct exchange rate.