You need to sign in to do that
Don't have an account?
Cannot create Opportunity line item on update call
Hi Everyone,
I want to create Opportunity line item when I update Opportunity Stage to "Closed Won".
It works for when create new Opportunity but not works when I update an existing Opportunity.
It shows below error
Vignesh
I want to create Opportunity line item when I update Opportunity Stage to "Closed Won".
It works for when create new Opportunity but not works when I update an existing Opportunity.
It shows below error
FIELD_INTEGRITY_EXCEPTION, field integrity exception: PricebookEntryId (pricebook entry is in a different pricebook than the one assigned to the opportunity)Thanks,
Vignesh
The product which you are trying to add under Opportunity line item is not part of the associated Pricebook.
Make sure there is an entry, under the pricebook, for the product you are tyring to create Opty line item.
Regards
Lokesh