When you want to delete item we get assert error becosue we try to read views for which tables we dont have acces - due the missng configuration key fx Public sector.
You can get error that you dont have acces to table
"You are not authorized to access table ‘Fund’ (LedgerFund). Contact your system administrator."
or you can't delete items with financial dimentions.
Solution that worked:
Clear all financial dimentions on item - disable dim validation on item and then delete with "continueing" in debuger on debug asserts.