"DML Operation On Setup Object Is Not Permitted After You Have Updated A Non-setup Object..." thrown during Pricebook Entry update attempt
Last updated 2017-04-14 ·Reference W-2940012 ·Reported By 26 users
Customers may encounter the following error while attempting to update the Unit Price on Pricebook Entry via the API when Rollup Summary Fields are present on Account and Opportunity:
DML Operation On Setup Object Is Not Permitted After You Have Updated A Non-setup Object (or Vice Versa): CustomFieldDefinition, Original Object: PricebookEntry
1. Log into Data Loader
2. Update call on PricebookEntry object
3. Map Unit Price column from csv file to Unit Price field in salesforce
4. Run update
5. Encounter message in question
Check if there are any Deleted Fields on Account that aren't erased from the org.
If exists, erasing these deleted fields should resolve the issue.
Reported By (26)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.