diff --git a/fflib/src/classes/fflib_SObjectSelector.cls b/fflib/src/classes/fflib_SObjectSelector.cls index 3eb86874087..b38b844dbee 100644 --- a/fflib/src/classes/fflib_SObjectSelector.cls +++ b/fflib/src/classes/fflib_SObjectSelector.cls @@ -33,7 +33,9 @@ public abstract with sharing class fflib_SObjectSelector /** * This overrides the Multi Currency handling, preventing it from injecting the CurrencyIsoCode fie ld for certain System objects that don't ever support it **/ - private static Set STANDARD_WITHOUT_CURRENCYISO = new Set { 'AsyncApexJob' }; + private static Set STANDARD_WITHOUT_CURRENCYISO = new Set { AsyncApexJob.SObjectType.getDescribe().getName() + , ApexClass.SObjectType.getDescribe().getName() + , Attachment.SObjectType.getDescribe().getName() }; /** * Should this selector automatically include the FieldSet fields when building queries? @@ -391,4 +393,4 @@ public abstract with sharing class fflib_SObjectSelector return queryFactory; } -} \ No newline at end of file +}