function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chikkuchikku 

How to enable multi-currency in the scratch organization JSON file,there is any resolved solution

Enable Multi-currency setting in the scratch organization of JSON
Best Answer chosen by chikku
ShirishaShirisha (Salesforce Developers) 
Hi Chikku,

Greetings!

You can use the below jason file to enable multi currency in the scratch org definition.
 
{  "OrgName": "Acme",  "country": "US",  "edition": "Enterprise",  "features": "MultiCurrency;AuthorApex",  "OrgPreferences": {    "enabled": ["S1DesktopEnabled", "ChatterEnabled"],    "disabled": ["SelfSetPasswordInApi"]  }}

Reference:https://www.oreilly.com/library/view/learning-salesforce-lightning/9781787124677/f938032b-6498-41ae-ad42-6b7fc4fa9251.xhtml

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri​​​​​​​

All Answers

ShirishaShirisha (Salesforce Developers) 
Hi Chikku,

Greetings!

You can use the below jason file to enable multi currency in the scratch org definition.
 
{  "OrgName": "Acme",  "country": "US",  "edition": "Enterprise",  "features": "MultiCurrency;AuthorApex",  "OrgPreferences": {    "enabled": ["S1DesktopEnabled", "ChatterEnabled"],    "disabled": ["SelfSetPasswordInApi"]  }}

Reference:https://www.oreilly.com/library/view/learning-salesforce-lightning/9781787124677/f938032b-6498-41ae-ad42-6b7fc4fa9251.xhtml

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri​​​​​​​
This was selected as the best answer
Eduardo TrujilloEduardo Trujillo
In this release I foun an error creating MultiCurrency scratchOrgs with "feature" configuration in "project-scratch-def.json" file.
To solve it, I have activated the MultiCurrency from setting config file section:
 
{ 
  "orgName": "Demo Company",
  "edition": "Developer",
  "language": "en_US",
  "features": ["Communities","ServiceCloud","ServiceUser","ContactsToMultipleAccounts"],
  "settings": {
    "currencySettings":{ "enableMultiCurrency": true },
    "experienceBundleSettings": { "enableExperienceBundleMetadata": true },
    "orgPreferenceSettings": { "networksEnabled": true }
  }
}

 
Thomas HeubergerThomas Heuberger
This did the trick for me as well, thank you @Eduardo Trujillo.
Funny, we never had that setting in place previously and it worked anyways.