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
KaranrajKaranraj 

Managed Package error

Hi all, Help me to slove this issue....

My coding works fine, when i create as unmanaged pacakge, but when i create as managed pacakage and deploy into production, it shows the following error

 

"SObject row was retrieved via SOQL without querying the requested fielld:Opportunity.Account"

 

Note:- Am getting this error when am create as managed package.

Sridhar BonagiriSridhar Bonagiri

I think the logged in user doesn't have correct field level accesiblity permissions for this object , thats why in the managed pacage when you are retrieving the data using SOQL query you are getting error.

KaranrajKaranraj

When i used unmanaged for the same user, it working fine..........

am getting this error only when i created as managed packaged.