API (Application Programming Interface):
Pricebook Entry:
When you attempt to mass update the Pricebook Entry object with Data Loader or other API tools, the error "field integrity exception" is received.
This is because the checkbox 'Use Standard Price' is checked on the Pricebook Entry record. This means that the field becomes unavailable via the API with exception of the ability to update the 'Use Standard Price' field itself.
To resolve this issue, update your PricebookEntry records and set the "Use Standard Price" field to false before you attempt to update product's unit price.
1. Add a column to your CSV file with the header: "UseStandardPrice" and set the value to FALSE for all rows.
2. Perform an update to the PricebookEntry object with Data loader and map only the Id and UseStandardPrice fields. For more details, please review Insert, Update, or Delete Data Using Data Loader.
Once this update is complete, you will be able to perform your original update as intended.
Notes:
000386253

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.