BeyondERP.Newsletter
Menu

Job page · General ledger

Import currency exchange rates

A page that imports exchange rates from an exchange rate provider and adds them to the Currency exchange rates page.

Used by
Accounting manager, Accounting supervisor, Rental manager and 2 more roles
Business process
Develop currency policies
Menu item
Action:ExchangeRateImportController
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Import keeps a manual rate”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA page that imports exchange rates from an exchange rate provider and adds them to the Currency exchange rates page.
What you do hereUse this page to select the exchange rate type, provider, and date or date range, with options to create missing currency pairs or override existing rates.
ExampleEach business day at 07:00 a batch job imports the European Central Bank rates into the Default type for BEAT, with Create necessary currency pairs = Yes and Override existing exchange rates = No, so rates keyed in by hand are kept.
Import currency exchange rates page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itWhenever the provider has published new rates, before you post foreign currency transactions or run a revaluation.
How oftenDaily for providers such as the Central Bank of the Republic of Türkiye, which publishes on business days; otherwise as often as your rates must be current.
What the output showsNew exchange rates on the Currency exchange rates page for the chosen type. The import loads the rates from the previous day and records them for the current day. A date without a new rate was skipped because a rate already existed and Override existing exchange rates wasn't selected, or because it was a holiday.

Source: Microsoft Learn

Setup steps on this page

Schedule the exchange rate import

Import rates from the configured provider into an exchange rate type on a schedule.

Steps from Microsoft

  1. Go to General ledger > Currencies > Import currency exchange rates.
  2. In Exchange rate type, select the type to add the rates to, and in Exchange rate provider select the configured provider.
  3. In Import as of, choose the current date or a date range.
  4. Select Create necessary currency pairs to add missing pairs, and Override existing exchange rates only if rates already entered for the same dates should be replaced.
  5. Set Prevent import on national holiday, or Rate from the previous day for the Central Bank of Europe, when the provider supports them.
  6. Open Currency exchange rates and check the imported rates and dates.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Import as ofImports rates for the current date or for a date range.Microsoft Learn
Create necessary currency pairsCreates any imported currency pair that doesn't exist yet.Microsoft Learn
Override existing exchange ratesReplaces a rate already entered for the same pair and date; otherwise that date is skipped.Microsoft Learn
Prevent import on national holidaySkips rates for public holidays of the current legal entity.Microsoft Learn
Rate from the previous dayFor Central Bank of Europe only: imports the rate published on the previous working day.Microsoft Learn

Common errors and fixes

MessageWhat to do
A date has no new rate after the importA rate already existed for that date and Override existing exchange rates wasn't selected, or the date was a holiday with Prevent import on national holiday on. Check the options and run it again for that date. Microsoft Learn
The import stops on a missing currency pairSelect Create necessary currency pairs so the import adds pairs that don't exist yet. Microsoft Learn

Test checklist

  1. Currency exchange rates shows a rate for each pair and date imported.
  2. Rates entered by hand before the run are unchanged when Override existing exchange rates was cleared.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule the exchange rate importA recurring batch run on business days into the ledger's exchange rate type, with Create necessary currency pairs = Yes and Override existing exchange rates = NoRates already entered for a date are kept unless Override existing exchange rates is selected, so manual corrections survive. Creating missing pairs keeps new currencies from failing the import.Should the import override rates already entered?Running with Override existing exchange rates on by default. Corrected or agreed rates entered by hand are then replaced and can't be restored.Test: Import keeps a manual rate

Feature management and licence

Licence or add-inIn this system 5 roles can open this page, among them Accounting manager, Accounting supervisor, Rental manager and Rental sales manager. No Feature management feature needs to be on for this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyShared: the imported rates land on the Currency exchange rates page, which every legal entity uses. Prevent import on national holiday uses the holidays of the current legal entity. Microsoft Learn
Can it be undoneReversible with effort: Imported rates can be corrected on the Currency exchange rates page, but rates replaced with Override existing exchange rates aren't restored. Microsoft Learn
If you change it laterRates already entered for a date are kept unless Override existing exchange rates is selected. Microsoft Learn
Technical architect

6Technical

Menu itemAction:ExchangeRateImportController Checked in Dynamics 365
FormSysOperationTemplateForm Checked in Dynamics 365
Who can open it

5 security roles. Select a role to see its duties and privileges.

  • RoleAccounting managerLedgerAccountingManager
    • DutyEnable general ledger processLedgerGeneralLedgerProcessEnable
      • PrivilegeImport currency exchange ratesExchangeRateImport
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyEnable general ledger processLedgerGeneralLedgerProcessEnable
      • PrivilegeImport currency exchange ratesExchangeRateImport
  • RoleRental managerRentalManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeImport currency exchange ratesExchangeRateImport
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeImport currency exchange ratesExchangeRateImport
  • RoleRental sales managerRentalSalesManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeImport currency exchange ratesExchangeRateImport
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itAccounting manager LedgerAccountingManagerAccounting supervisor LedgerAccountingSupervisorRental manager RentalManagerRental sales manager RentalSalesManagerRental purchasing manager RentalPurchasingManagerGive people one of these roles. On this system, 5 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=Action:ExchangeRateImportController
Data migrationLoad order: The import job has no data entity in Data management, so it can't be loaded from a file or a configuration template. It only loads rates from a provider. To load rates from a file instead, use the Exchange rate currency pair entity (ExchangeRateCurrencyPairEntity) on Currency exchange rates.Microsoft Learn
Everyone

8Sources