Improvements to SCV currency conversion program

The SCV currency conversion program now applies an improved logic when determining the exchange rate to use. The program searches for an alternative exchange rate with the closest date (in the future) to the current date, and if found, uses that exchange rate for conversion.

The new SCP_DEFAULT_CURRENCY_RATE SCV configuration parameter is introduced to specify how the program must continue in case no exchange rate is found matching the Currency Rate configuration in SCV:
  • If SCP_DEFAULT_CURRENCY_RATE = 0, the program sets the currency rate to 1, logs warning message and continues. This is the default value.
  • If SCP_DEFAULT_CURRENCY_RATE = 1, the program sets the converted amount value to Null, logs a warning message and continues.
  • If SCP_DEFAULT_CURRENCY_RATE = 2, the program sets the converted amount value to Null, logs an error message and stops.
Note: Currency conversion program improvements are automatically enabled upon upgrade. The new configuration parameter is available after loading the Base template (base.zip) for this release. This feature is available on upgrade.