+ Start a Discussion
VempallyVempally 

Error: cust_cntrl_Lead Compile Error: Entity is not org-accessible at line 1 column 21

Hi everyone...

Can anyone explain me what kind of error is this...?
Best Answer chosen by Vempally
Denis VakulishinDenis Vakulishin
From docs
"Special Access Rules

This object is available only for Enterprise, Unlimited, and Performance Edition users who have enabled the account team functionality.

Customer Portal users can't access this object"

What edition do you have ?

All Answers

Denis VakulishinDenis Vakulishin
Hi, 
This error tells you that SF cannot find this object.
Tryt to add __c when calling a custom object(like cust_cntrl_Lead__c).  Also don't forget that all custom objects and fields have "__c" in the end.
Hope this helps!
VempallyVempally
Hi Denis...

Somewhere in this discussion forum i came across something called AccountTeamMember sObject...

the person was trying to create a handler of this type...

Even i could not find this type of sObject...even looked in Workbench...

Do you think even he got the same error...(he did not mentioned it...)
Denis VakulishinDenis Vakulishin
From docs
"Special Access Rules

This object is available only for Enterprise, Unlimited, and Performance Edition users who have enabled the account team functionality.

Customer Portal users can't access this object"

What edition do you have ?
This was selected as the best answer