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.
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.
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.
Hi Hisham,
There is no change in this area compared to AX2012. To be sure, it is recommended to rebuild the balances.
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
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 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
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to a top community star!
In our never-ending quest to help the Dynamics 365 Community members get answers faster …
Welcome to the next edition of the Community Platform Update. This is a status …
Stay up to date on forum activity by subscribing.