Loading

Mass Update Dated Exchange Rates in Salesforce Using Data Loader

Udgivelsesdato: Oct 9, 2026
Beskrivelse

When dated exchange rates are enabled and in use in Salesforce, you can maintain a list of exchange rates by date range. In the user interface, you can only edit the ranges by going into each currency and updating it. For example, an admin who needs to change rates for dozens of currencies can use an API tool such as Data Loader to perform a mass update instead.

Løsning

This article answers the question: how do you update a large number of dated exchange rates at one time in Salesforce? When dated exchange rates are enabled in Salesforce, you can use Data Loader, a Salesforce API tool, to export the DatedConversionRate object, edit the ConversionRate values in a CSV file, and import the changes in bulk. This is faster than updating each currency individually in the user interface.

Export Existing Dated Exchange Rates with Data Loader

First, follow these steps to get an export of the current values. You can use the exported file to update the Exchange Rate value and import it afterwards:

  1. Launch Data Loader.
  2. Click Export.
  3. Enter your Salesforce username and password. Click Log in. After your login completes successfully, click Next.
  4. Check Show all Salesforce objects to see a complete list of objects.
  5. Choose DatedConversionRate.
  6. Click Browse..., select the location or file you want to save the exported file to, and click Save.
  7. Click Next. After the object and CSV file are initialized, click OK.
  8. Select the following fields to query: Id, IsoCode, ConversionRate, StartDate, and NextStartDate. You can also copy and paste this select query: SELECT Id, IsoCode, ConversionRate, StartDate, NextStartDate FROM DatedConversionRate ORDER BY NextStartDate DESC
  9. Click Finish, then click Yes to confirm.
  10. A progress information window reports the status of the operation.
  11. After the operation completes, a confirmation window summarizes your results. Click View Extraction to view the CSV file, or click OK to close.

Note: We recommend that you save a copy of this file to a safe location for backup purposes, because previous conversion rates are not saved.

Prepare the CSV File for Update

Once you have the extracted CSV file, erase any fields and records that you don't wish to update, and make sure you keep the Id column. Then save the CSV file and perform an update using Data Loader.

Update Dated Exchange Rates with Data Loader

  1. Start Data Loader.
  2. Click Update.
  3. Enter your Salesforce username and password. Click Log in. After your login completes successfully, click Next.
  4. Check Show all objects to see a complete list of objects.
  5. Choose DatedConversionRate from the list of objects.
  6. Click Browse... and select the CSV file you created.
  7. Click Next. After the object and CSV file are initialized, click OK.
  8. Map the columns to the available fields and click Next.
  9. For every operation, Data Loader generates two unique CSV log files. One file name starts with "success," while the other starts with "error." Click Browse... to specify a directory for these files.
  10. Click Finish. As the operation proceeds, a progress information window reports the status of the data movement.
  11. After the operation completes, a confirmation window summarizes your results. Click View Successes to view your success file, click View Errors to open your errors file, or click OK to close.
Vidensartikelnummer

000384852

 
Indlæser
Salesforce Help | Article