Unable to Clone Opportunity Via SKUID

  • 1
  • Question
  • Updated 8 months ago
  • In Progress
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.

Photo of Sai Charan

Sai Charan

  • 82 Points 75 badge 2x thumb

Posted 8 months ago

  • 1
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,698 Points 2k badge 2x thumb
You're cloning both an Opportunity and OpportunityLineItem model? Is this via action framework, apex trigger, or standard salesforce clone?