Exchange Rates
The Exchange Rates extension allows you to define and manage currency exchange rates, which can then be used in fields of type Money with Currency. This makes it possible to automatically work with multiple currencies in your applications.
How It Works
- Activate the extension – enable Exchange Rates in your application.
Define exchange rates – in the Exchange Rates table you can specify:
- Base currency
- Destination currency
- Valid from / Valid to (period of validity)
- Exchange rate
Use in Money with Currency fields – when creating a field of type Money with Currency, select the exchange rate provider:
- Exchange rates table (extension) – uses values from your Exchange Rates table.
- Open exchange rate driver – retrieves rates from an external provider.
Best Practices
- Keep your exchange rates up to date by setting validity periods.
- For testing or fixed conversions, you can define manual rates.
- For production use, combine with an automatic provider (e.g., open exchange rate driver) for real-time accuracy.