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
thatheraherethatherahere 

How to identify Advanced Currency Management is enabled in apex class?

Is there any way to detect Org has "Advanced Currency Management" enabled in apex class? 
NagendraNagendra (Salesforce Developers) 
Hi thatherahere,

Please check with below link from stack exchange community for the same. Please let us know if you need any further information.

Mark this as solved if the information helps.

Regards,
Nagendra.P
thatheraherethatherahere
I have already seen this Nagendra. This is not working in my case. I have Multi Currency Enabled in my org and "Advance Currency Management" as disabled and Still I can access "DatedConversionRate" object. My Requirement is that I want to User Conversion rates as: 

If Multi Currency is Enabled and Advance Currency Management is ENABLED: Use Conversion Rates from "DatedConversionRate" object records.
If Multi Currency is Enabled and Advance Currency Management is DISABLED: Use Conversion Rates from "CurrencyType" object records.

Somehow I want to detect this "Advance Currency Management" is active or not and use proper object records for Conversion rates.

Thanks for your Help!!