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
Rahul BorgaonkarRahul Borgaonkar 

Error while compiling in Developer Console


I am getting attached error while saving an old class from Developer console. It saves from Develop > Apex Classes with out any error.

User-added image
The error is for Financial Force Object. When communicated with FF they replied as
Hi Rahul,

Our development team was able to edit the AutoInvoiceHelper class, but not on developer console, instead from Setup -> Develop -> Apex Classes, and it worked without errors. If developer console is failing, it might be a Salesforce issue. It does appear you have access to the Apex class, CODAAPIInvoiceTypes_9_0.

Please try the steps provided above, but if it still doesn't work on the developer console you may consider contacting Salesforce support.  Unfortunately, this is as far as we can support since this is a custom Apex class.
Please let me know if you're ok to close this case.

Thank you,
Would like to get solution before posting it with Salesforce.

Could I kindly request further help please?

Best Regards,

Yogesh KulkarniYogesh Kulkarni

Check the visibility of the class. Check if it is public or not.

Rahul BorgaonkarRahul Borgaonkar
HI, CODAAPIInvoiceTypes_9_0 is a global class. Regards, Rahul Rahul Suresh Borgaonkar