Hello all,
My employer wants me to write a script that will clean up whole database. They have already posted a lot of documents and made a lot of modification. They want to keep all setting and modifications, but delete all posted documents. Is it possible? Maybe someone has already written such script.
Need your help.
Best regards
JTPro
Navision Application Version: 4.0SP1
Navision Database Version: 4.0
0
Comments
Or are you talking about cleaning up a test system?
RIS Plus, LLC
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
if you will not add evry table as variable use recref.
You need to carefuly analyze which tables to clean up. Because ussually we don't want to delete setups and data which could be reused (customer, vendor cards e.c.)
You can use Function from Setupchecklist, but be careful, this function have some issues. Some tables still have transactions data. If I remember correctly one of these tables are bank accounts ledger entries.
Our company write special code unit for cleaning purposes. It is very useful after user trainings to delete transaction information, but still have all setups
this is why I written this:
http://mibuso.com/dlinfo.asp?FileID=580
With this tool you gotta look at each table, press Ctrl+L and decide whether it should be deleted or not.
It's about 2 hours (I tested it). But at least in this two hours you will get a profoung knowledge of Navi table structure
Im really apprieciate.
The database is a test one, so there is no stress.
Best regards
JTPro
Navision Database Version: 4.0