2

Can I SOQL for a company's Active Currencies (see image below)? I cannot find documentation around this.

enter image description here

3
  • What is the use case for you wanting to query it?
    – Raul
    Feb 28, 2019 at 16:55
  • I am trying to see if test classes can see these Active Currencies. I suspect NOT but I want to be sure.
    – Seyitbek
    Feb 28, 2019 at 16:57
  • btw- TestClasses can see Active Currencies.
    – Seyitbek
    Mar 3, 2019 at 16:21

1 Answer 1

3

You could probably query CurrencyType or DatedConversionRate, not sure if they are available via SOQL query in Apex. Unfortunately I do not have an org with multi-currency enabled to verify.

1
  • You are right. It worked. I was querying for the wrong object (SELECT Id, IsoCode FROM DatedConversionRate). CurrencyType works!
    – Seyitbek
    Feb 28, 2019 at 17:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .