AgreementHeader.convertCurrencyCode Method
Changes CurrencyCode used by AgreementHeader and updates all AgreementLines recalculating their fields depedable on currency.
Syntax
public void convertCurrencyCode(CurrencyCode _toCurrencyCode, [TransDate _exchRateDate])
Run On
ClientOrServer
Parameters
- _toCurrencyCode
Type: CurrencyCode Extended Data Type
New CurrencyCode that must be used by AgreementHeader
- _exchRateDate
Type: TransDate Extended Data Type
The date to use when exchange rate between old and new currencies is calculated.