Error: Compile Error: Entity is not org-accessible

Issue:

Getting error “Error: Compile Error: Entity is not org-accessible”, when saving a class.

Salesforce Enterprise Edition

Root Cause:

 This may occur due to a feature is yet not enabled. Such as Quote, Asset etc. These are the objects which can be only accessible when we enable Quote or asset etc. In above case it was the Quote, which was not enabled and hence there is no object visible to the code and we get this error.

Resolution

:Enable the feature you are using in your code. For example in this case I had to enable Quote.

Hope this help someone out there, sometime.

Keep reading and sharing..

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *