+ Start a Discussion

insert OpportunityPartner

anyone know why when i am trying to insert  OpportunityPartner
it gives me an error  : " DML not allowed on OpportunityPartner "
OpportunityPartner is a read-only view object, to make changes you need to use the Partner object instead.

Hello, I Have a same problem...  but the entity OpportunityPartner is a readonly object and cannot be created... How I can create a relationShip form API between a Opportunity and a Account???  When I use the API for create a entity "Partner", as it would be a Opportunity, ACcount,  or others SF entitites... it displays the following error:



INFO: Error code is: INVALID_TYPE
GRAVE: Error message: sObject type 'Partner' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.