Looking forward to your recommendations!
This is a common technique that many partners use in Business Central when setting up new companies or implementations, so I wouldn't say it's never a good idea. The process typically involves setting up a company with master data, posting test transactions, and then deleting all posted transactions to use the company for go-live. This is a lot faster than creating a new company using configuration packages. It sounds like this is what you're trying to do.
As Ben mentioned, some partners already have tools for this, most of which are variations of Olof Simren's Record Deletion Tool for Microsoft Dynamics NAV 2015. This tool includes a hardcoded list of tables to be cleared when starting from scratch and then deletes the data in them. There's also a version for Business Central here. However, the BC version hasn't been updated for recent releases, so it misses some tables that should be cleared.
That said, I wouldn’t recommend this approach if you're new to the system. I would only consider it if you're a super user and can identify which tables need to be deleted. The risk is that you might not clear all necessary tables, resulting in a mix of old and new data. If this happens, data reliability will be compromised, and fixing it would require selectively deleting old records, which can be complex and time-consuming.
Valentin Castravet
Work: Zander ERP Services
Blog: Dynamics 365 Business Central Insights
LinkedIn: www.linkedin.com/in/valentin-c-0500a247/
André Arnaud de Cal... 291,925 Super User 2024 Season 2
Martin Dráb 230,646 Most Valuable Professional
nmaenpaa 101,156