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
BreandanAnseoBreandanAnseo 

Advanced Currency Management

Hi,

 

Is there a way to tell in Apex/API if Advanced Currency Management (ie Dated Exchange Rates) is enabled/disabled? It's possible to see if there are records in that table but they remain even if the  ACM is disabled.

 

Thanks

Breandán

MiskeyMiskey

Has anyone found an answer to this?

 

There are times where we'll need to convert amounts programatically and need a reliable way to determine whether the values in the DatedConversionRate object are valid.

 

The requirement is to convert the currency on an object to that of a parent Opportunity. If the Corporate currency is USD, the Opportunity currency CAD and the child object currency AOA, we're going to run into an issue. If the DatedConversionRate object doesn't exist then we'll use the values from the CurrencyType object. But if there's ever a case where Advanced Currency was turned on, then turned off for any reason, there's no way to know which object to use for the conversion.