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
Prince PranavPrince Pranav 

Populate the currency from the custom settings to Account currency field.

Hi All,
Help me in this problem..

Create a list custom settings.. Store Country Code and currency values in that. For ex :- Country code US -> USD…. IN -> IND. 

Now create custom currency fields in Account and Contact. 

Now on Account Object.. 

After Insert/update trigger.. based on the country code on Account.. 

Populate the currency from the custom settings to Account currency field. Populate the same currency to child contact records.
Raj VakatiRaj Vakati
You can do it by using the trigger 
 
trigger accountT on Account (before insert ){
	
	Map<String,Country__c>alldata= Country__c.getAll();

	  for( Account acc :Trigger.new){
		  
		  Country__c cn = alldata.get(acc.BillingCountry); 
		  acc.CurrenyCode =cn.Currencey__c ;
	  }
}

From Accouunt to Contact you can do with the workflows