You need to sign in to do that
Don't have an account?
christopher
Error Querying OpportunityPartner Object: Invalid Type: SObject Not Supported
Hello!
I have a scontrol that clones an Opportunity and all related lists, including the Partner Object. Because the Partner object cannot be queried by standard users, I am querying the OpportunityPartner object, which is supposed to be accessible by all user profiles.
The error is 'Invalid_Type: sObject type 'OpportunityPartner' not supported. I get this error with both a SysAdmin and Standard User profile. If I switch back to queryiing the old 'Partner' object, it works, but only with a SysAdmin profile.
Any help is appreciated!
Chris
I have a scontrol that clones an Opportunity and all related lists, including the Partner Object. Because the Partner object cannot be queried by standard users, I am querying the OpportunityPartner object, which is supposed to be accessible by all user profiles.
The error is 'Invalid_Type: sObject type 'OpportunityPartner' not supported. I get this error with both a SysAdmin and Standard User profile. If I switch back to queryiing the old 'Partner' object, it works, but only with a SysAdmin profile.
Any help is appreciated!
Chris
The same code works fine for system admins.
Any help would be appreciated..