Sample FX Rates Task

Exchange rates are used when processing multiple-currency transactions during ingestion. The sample FX rates task demonstrates how to insert exchange (FX) rates into the FTM database. Use this sample task as a guide to show how exchange rates are obtained based on the exchange rate services available. It can also be used as a starting point for a new implementation by following the steps found in the readme.txt file for the sample. The steps describe how to modify, recompile, and deploy the new implementation.
Note: Since this is a sample task, it is not intended for use in a production environment.

The task may be run manually or configured to run automatically on a scheduled basis:
Scheduled
This is the primary way rates are expected to be loaded. For example, the task can be scheduled to run every morning at 1 a.m. to insert the new set of exchange rates for the day. Or, the task can be run every 2 hours to refresh the exchange rates as they change throughout the day.
Manual
Operations may run the task manually to refresh the exchange rates on demand.
Note: It is not recommended that this task be run using an event.
The following steps are necessary to implement the sample FX rates task in the Services Framework:
  1. Register the sample FX rates task
  2. Configure the sample FX rates task
    1. Set the appropriate configuration parameters for processing
  3. Schedule the sample FX rates task configuration to run on a recurring basis