versions 3.0 and higher must specify pricebook entry id, others must specify product id

If you get this error:

First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: unknown, unknown (versions 3.0 and higher must specify pricebook entry id, others must specify product id): unknown, unknown

Solution 1:

http://help.salesforce.com/HTViewSolution?id=000166658

Solution 2:

Make sure while creating OpportunitLineItem (Opportunity Product), PricebookEntryId is not null.

Cheers!!!

1 comment: