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
deherledeherle 

CurrencyType currency date range validity

I'm using Advanced Currency Management, and trying to determine the date ranges a given currency's exchange rates are valid for via Apex.
 
Does the CurrencyType object have a date field I can query on to determine a valid date range for a given currency?  Is this supported via Apex?
 
Thanks in advance!
aalbertaalbert
You can see all the fields on any given object in your SFDC org (including CurrencyType) by using the Force.com IDE Schema Explorer.
Or you can also try out Apex Explorer (http://wiki.apexdevnet.com/index.php/Apex_Explorer)

There are the standard CreatedDate and LastModifiedDate on the CurrencyType object. But no specified date range as you suggest.
There is also an isActive boolean field that might help.


deherledeherle

Thanks!  I'm going to try out the tool, looks great.

I actually stumbled across the object I'm looking for when browsing my Enterprise WSDL file.  "DatedConversionRate" captures a conversion rate for a given date range (I couldn't seem to find this object documented anywhere, though I suspect it may be in the object browser you reference).