We update a QuoteLineItem record to update a date field. This sometimes works perfectly, but sometimes fail with:
unable to obtain exclusive access to this record or 1 records: 0066900001iznb8AAA
As we can see, this is an opportunity ID.
Why does updating an QuoteLineItem record locks the Opportunity?
What i noticed is that we have an rollup summary on Quote to rollup QuoteLineItem records. Can this be the reason? Or could there be other causes?
We don't see any rollup-summary from Opportunity to Quote.
3 answers
I would say so, it's still a child of a locked record.
There was a question for this, no concrete answer but best guess is that yes it's locking all related: