Is Field Level Security enforcement a requirement for querying tables like 'FiscalYearSettings' and 'Period'? or only for tables like Opportunity and Contact.
Our app need to display the fiscal year and period information. So I was wondering if we really need to enforce FLS for these tables.
Map<String, SObjectField> fields = Period.SObjectType.getDescribe().fields.getMap();
boolean isAccessible= fields.get('Number').getDescribe().isAccessible();
So do we need to check if number is accessible before displaying this information? Is this information always gonna be accessible for all the users?
FiscalYearSettings
. When you say it's not accessible in Apex, what is the error you are getting? I would think you could always do a SOQL onFiscalYearSettings
obejct.