Sometimes a bit of housekeeping is needed to get the engines revving on all cylinders again. This file contains 4 statements. The first 2 will display records in the sales table that are missing a header record. If a line item has no record it is essentially a garbage record. So, once you have found your erroneous sales lines you can delete them using the 2 delete statements contained within the file.
Benefits of using SQL Scripts
Dynamics GP is a great system full of lots of features, but every now and then we need to turn to SQL to help us. So we have gathered some of the most useful SQL scripts from our partners, and the GP community, for your use.
Save time on tasks by batch processing them
Take the initiative and start solving your own support cases
Safely maintain your system and keep it free from bad data
Automatically run these scripts overnight to preserve your performance
It’s one of the major pain points in Dynamics GP. Payables documents are aged automatically but receivables are not. Meaning you have to run the aging process manually. But this script will do it for ...