In V11 enterprise, For some models there's an archive function, but not for company. If I have multiple companies but then I have a company that is out of business, how can I disabled or archived this company so that it does not appear in all modules and even admin can't assign it to any user? It seems that once a company is created even if I don't have any transactions yet, I cannot delete it because I get an error of referential integrity in the database and the archive function is not available for companies.
I tried to delete company record but I got the following error message.
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records
still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: Account - account.account]