Program Description
This program can be found on the System Manager Submenu Customer File menu (17-1-1-14). This program deletes customers from Customer (CUSTD) file that have no open orders, no open service calls, no open AR, no machines placed at their site, are not a bill-to customer number, and have a date of last sale prior to a date entered. The program prompts for date of last sale, range of customer names, and whether or not to print out the deleted customers. The printout of the deleted customers will have the customer number, customer name, city, state and zip code.
Rev 15 Changes
Options were added to this program to run for a range of customer numbers. Also, there is an option to only include customers with a date added prior to a certain date. The date added is stored as a month and year, so the operator should enter the month and year instead of a full date. There is also a new option
Print the report only and not actually delete the customers
Update the files (delete the customers) and print a report
Update the files (delete the customers) and not print a report.
The heading of the report has been changed to print out the options that the operator entered.
Screen sample:

Sample report:

Rev 14 Changes
N/A
Rev 13 Changes
When checking to see if a customer number matches a bill-to customer number, the Customer file (CUSTD) and Contract Header file (CNHDR.DT) are both searched.