When trying to Clone an Opportunity with Products we are coming across the following error message:
“field integrity exception: PricebookEntryId, unknown (versions 3.0 and higher must specify pricebook entry id, others must specify product id)”
Clone via Salesforce is successful.
Have already added the pricebookEntryID in the model as “PricebookEntry.Id” and productid as “PricebookEntry.Product2Id”.
I guess noting wrong with products and Pricebook of the Opportunity as it is successful in Salesforce.