Maintenance plans help automate and organize the maintenance of INVOICES databases. To create a maintenance plan:
Using Manager, select Administration > Maintenance. The Maintenance dialog is displayed.
Click New to create a new plan. The Maintenance plan – New plan dialog is displayed.
Select the type of plan you want to create, Database or Master data import.
Click the browse button (
) and
navigate to the location where you want log files to be saved. Then
specify a name in the box
and click .
Adjust the Integrity settings if necessary (database plan only). (Read more about corrupt data here.)
Adjust the Cleanup settings to your requirements (database plan only). Here you can delete:
invoice definitions—the goal is to have only good ones in use. Note: If the system contains documents corresponding to the document definitions, those document definitions will not be deleted, even if they fulfill the conditions you specify, unless they are corrupt.
temporary data
unused sender names
unused learning invoices
batch report layout files
user activity data older than a specified number of days
parked invoices older than a specified number of days
| Warning |
|---|
Use Remove document definitions with no sender connection after only if your system uses imported sender data. Do not use this setting if the system does not use master data. |
Adjust the Logs settings to your requirements (database plan only). Keep process and service logs small so that it does not take too long to view them.
Adjust the Location settings (master data import only):
Select the format of the file you want to import in the Import format box.
Using the Browse (…) button, find the file you want to import. This should be a file that has been exported from your financial system. You can import two or more files if they have the same format. If the files have different formats, you must import them separately.
Delete master data not included in import – ensures that the INVOICES master data matches the master data in your financial system. Any extra senders in the INVOICES master data are deleted.
| Warning |
|---|
When you use Delete master data not included in import, senders that do not exist in the imported data are removed from the INVOICES master data. If INVOICES contains document definitions that are associated with those deleted senders, the link will be broken, causing those definitions to lose sender details*. Even if you later re-import the same sender data, the link will not be restored, because all "newly" imported senders are assigned new internal sender IDs, which will not match the ones in the document definitions. (Document definitions are linked to specific senders through each sender's internal ID, not by the sender's name.) *An Optimize or Verify user can set a senders for individual document definitions. Alternatively, an Optimize user can update document definitions using imported sender data. If neither of those things are done, then eventually the definitions are removed by maintenance plans that remove unused definitions (see step 6, above). Use when you want to remove senders that are no longer present in the financial system. When it is not selected, existing senders are updated and new ones are added, but any senders that have been deleted from the financial system are not deleted from the INVOICES master data. |
When you are satisfied with the settings, click Finish.
Type a name in the dialog that is displayed, and click OK to save the plan.
After you create a maintenance plan, you can click Start in the Maintenance dialog to run your plan.