The INVOICES process log details actions that occur for each invoice processed in the system. This data is kept in separate tables in the database and is not cleared out when an invoice is transferred and deleted. This can be useful for troubleshooting when there may be a discrepancy in the ERP system and additional details on the processed invoice are required.
The value of the data in the process log decreases as time passes. Therefore, database maintenance on the table is recommended in order to provide the best performance in an INVOICES environment. A database maintenance plan can be created to remove process log entries older than a certain number of days.
Note: The maintenance plan should vary due to the age of invoices in a given ERP system, and in accordance with the internal processes of an organization.
- In the Manager module, click Administration, and then click Maintenance.
- In the Maintenance window, click New.
- In the Plan type list, click Database.
- Next to Log file, click browse .
- Choose a file location and name (ending in .log), and then click OK.
- The Overwrite setting will overwrite the existing log file. This setting is commonly used to avoid large file sizes; however, internal policies should dictate this setting.
- Ensure that the Check database integrity option is not selected.
- Ensure that all options under the Cleanup section are not selected.
- Under the Process log section, select the Remove process log messages older than option.
- Choose the number of days which best matches the internal policies for record history in the INVOICES system.
Note: If a number of days selected is less than the oldest invoices in the system, the process log history for those invoices will be lost. They will still be able to be processed, but they will not have process log history associated with them.
If the process log is used for historical troubleshooting purposes, deleted messages can be saved to a file using the Save deleted messages to file option.
Note: This file can become large and will slow down the maintenance plan. Use this feature only when necessary.
Click Finish, and then name the plan. The maintenance plan can be run as often as necessary (typically on a weekly basis).