I'm asking because we had a Bulk Delete Job set up that would delete certain types of accounts but ONLY if Opportunity Count = 0.
For years it ran fine but last Friday, it went rogue and deleted 5 accounts that had opportunities (and Opportunity Count clearly shows numbers greater than 0 when looked at in a form). Of course, that resulted in 30+ opportunities being deleted as well, and all this on our production system.
I'm looking at the Bulk Delete query and I can clearly see Opportunity Count is Equal to 0 in the definition.
I'm wondering if this is something funky with roll-up fields.
Microsoft is RCA'ing it and we're restoring the data manually by recreating these opportunities from a backup system but I mostly want to prevent this from ever happening again.