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
itzikitzik 

insert OpportunityPartner

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

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.