Loading

Managing Currency Fields in Salesforce: Lightning vs. Classic

Publiceringsdatum: Sep 24, 2026
Beskrivning

Salesforce handles currency field defaults differently in Lightning Experience versus Salesforce Classic when multi-currency is enabled. This article explains how the Currency field (`CurrencyIsoCode`) behaves in each interface, since a record can end up with an unexpected default currency depending on which interface was used to save it.

Lösning

This article answers the question: why does Salesforce assign a default currency to a record even when "None" was selected, and why does this behave differently between Lightning Experience and Salesforce Classic?

Currency Field Behavior in Lightning Experience

  1. When a record is saved without explicitly selecting a currency, Salesforce automatically sets the user's default currency (as defined in their user settings) as the fallback. For example, if the user's default currency is USD, then USD will be assigned to the record — even if "None" was initially selected.
  2. When creating a new record that includes a standard currency field and the field hasn't been set yet, the user's default currency is automatically selected.
  3. When multi-currency is enabled, the Currency field (`CurrencyIsoCode`) is added to the page layout with the Required property set to false. In Lightning, page layouts control how fields are rendered. Because the Currency field is not marked as required, users are allowed to leave it as "None." However, upon saving, Salesforce assigns the user's default currency.

Currency Field Behavior in Salesforce Classic

  1. The Currency field (API name: `CurrencyIsoCode`) is added to the page layout automatically when multi-currency is enabled.
  2. The standard Currency field appears as required on the page layout. This is a key difference from Lightning.

Note: `CurrencyIsoCode` is a standard Salesforce field that stores the ISO 4217 currency code (for example, USD, EUR, or GBP) associated with a record, and is available on most standard and custom objects when multi-currency is enabled in your org.

Knowledge-artikelnummer

004633722

 
Laddar
Salesforce Help | Article