You need to sign in to do that
Don't have an account?
Wendy Sadeh
Setting Opportunity Owner - Getting Insufficient Privileges
In my partner community I have some custom code that will create an opportunity and will set up some defaults. If a partner creates an opportunity I want to set the Opportunity Owner to an internal salesperson.
For instance: opportunity.OwnerID = '005j000000CAPu5';
When I do this I get Insufficient Privileges error. Not sure what lever to pull.
For instance: opportunity.OwnerID = '005j000000CAPu5';
When I do this I get Insufficient Privileges error. Not sure what lever to pull.
Can you provide the custom code which you have.
Also check the Permissions for the User Profile on Opportunity object, make sure it has atleast Create / Edit permissions.
Regards,
Mahesh
The Insufficeint Priveledge is because once I change the owner I cannot redirect back to the opportunity. I need to create a sharing rule for the Partner.