Dear all,
How I can delete the legal entity with all transactions from MSDyn365FO tenant ? in details process without any effect on the other legal entity in the same tenant such dimension, items et cetera , thanks.
Dear all,
How I can delete the legal entity with all transactions from MSDyn365FO tenant ? in details process without any effect on the other legal entity in the same tenant such dimension, items et cetera , thanks.
Found the answer myself and I publish to all for future reference. Go to the MainAccountLegalEntity and delete all records referring to the company you want to delete.
Hi Andrè,
I have a very similar error "Legal entities cannot be deleted while dependent Main account legal entity exist. Delete dependent Main account legal entity and try again." but we deleted all reference we know about and we also emptied the ledger. Any idea? If I can delete the chart of accounts I should have the ability to delete the company. No transactions have been performed and we don't have the company in hierarchies.
Any idea is very welcome
Hi Hisham,
You can find out the name of the table and then check if there are indeed records in this table which related to the legal entity you want to delete. You have to delete these records first. Test it in a test environment first.
Hi Andre,
Kindly, i received this error while i run class to delete the legal entity on VM
Legal entities cannot be deleted while dependent General ledger entry provider configurations exist. Delete dependent General ledger entry provider configurations and try again.
Could you advise please? , thanks
Hi Hisham,
There is no change in this area compared to AX2012. To be sure, it is recommended to rebuild the balances.
Hi Mav,
Thanks on your update ,it was helpful for me but do you know what is the steps to check the instance after delete the legal entity ? should i do rebuild for dimensions like we was doing with AX2012 ?, thanks.
Greetings,
Hisham.
You may want to check this forum
community.dynamics.com/.../261892
And BTW i just checked that SysDatabaseTransDelete is available in d365 release 8.0.
Pls remember to mark verified if it resolved your query.
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156