Skip to content

Company Information

Config key: settings.companyInformation

Setup: Company Settings → Company Information (/lightning/setup/CompanyProfileInfo/home)

Sets the Currency Locale of the org, which no Metadata API type represents.

Screenshot

Company Information

Pill Field
1 defaultCurrencyIsoCode

Use cases

A South African subsidiary invoices in rand

Acme opens a sales office in Johannesburg with its own Salesforce org. The org was created with the defaults of the US admin who signed it up, so every opportunity, quote and report shows amounts in US dollars.

The currency of an org without multiple currencies is its Currency Locale, a field of the Company Information page that no Metadata API type holds. Applying this config in every new environment of the subsidiary, from the scratch orgs of the developers to production, switches it to English (South Africa) - ZAR without anyone clicking in Setup.

{
  "$schema": "https://raw.githubusercontent.com/amtrack/sfdx-browserforce-plugin/main/src/plugins/schema.json",
  "settings": {
    "companyInformation": {
      "defaultCurrencyIsoCode": "English (South Africa) - ZAR"
    }
  }
}

Fields

Field Type Description
defaultCurrencyIsoCode string Default Currency
JSON Schema
{
  "type": "object",
  "properties": {
    "defaultCurrencyIsoCode": {
      "type": "string",
      "title": "Default Currency"
    }
  },
  "title": "Company Information",
  "description": "Setup: **Company Settings → Company Information** (`/lightning/setup/CompanyProfileInfo/home`)\n\nSets the Currency Locale of the org, which no Metadata API type represents.\n\n![Company Information](https://raw.githubusercontent.com/amtrack/sfdx-browserforce-plugin/main/src/plugins/company-information/screenshot.webp)",
  "examples": [
    {
      "defaultCurrencyIsoCode": "English (South Africa) - ZAR"
    }
  ]
}

Source code of this setting