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
Dave CraigmileDave Craigmile 

fields(standard) Platform Bug

We are seeing what I consider to be a serious platform bug.  Queries in our package that include fields(standard) are failing in single-currency orgs like this:
 
System.QueryException: No such column 'CurrencyIsoCode' on entity 'rtms__Driver__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
 
The query in question does NOT directly refer to the currency field in the select clause. So it appears that fields(standard) incorrecly includes the currency field in single-currency orgs.
 
Is this a serious platform bug or am I missing something?  Thanks.