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
ajsalesforceajsalesforce 

API support for Fiscal year

Is there any API support available to access fiscal years (Setup->Company Profile->Fiscal Year). Can i access and do CRUD operations on Fiscal Year from apex code?
PSteves91PSteves91

Hello,

This is possible. Take a look at the Salesforce API Documentation
http://www.salesforce.com/us/developer/docs/api/index.htm, specifically the section titled "Date Formats and Date Literals". In this section, there is a reference to THIS_FISCAL_YEAR and other fiscal year related Date Literals.

 

Hope this helps!