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
Aman nemaAman nema 

I want to update CurrencyType

Hi All,

I enabled multi currency in my org.

I want to update the conversion rate in Currency type.
Updation not allowed on Currencytype.

Can anyone help me, How can I update conversion rate on currency type from DatedConversionRate?
Khan AnasKhan Anas (Salesforce Developers) 
Hi Aman,

Greetings to you!

You can use Developer Workbench (https://workbench.developerforce.com/login.php) to update this easily. Query the object and choose update from Id.
 
SELECT Id, IsoCode, ConversionRate, StartDate, NextStartDate FROM DatedConversionRate ORDER BY NextStartDate DESC

User-added image

Please refer to the below link which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/13282/updating-multi-currency-rates-from-apex

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas