SRS Documents > Document Setup > SRS Document Archive Purge

SRS Document Archive Purge

You use this program to delete archived SRS documents. These are the documents generated using the stationery formats defined with the SRS document print method.

SRS Document Archive Purge

Field Description
Options  
Purge Indicate the archived documents you want to delete according to their document type.

If you select {All Document Types}, then all archived documents older than the entry in the Delete log records older than field are deleted when you select the Start Purge function.

Delete log records older than Indicate the number of months/years according to which the documents must be deleted.

The selected documents which are older than the number of months/years indicated here are deleted when you select the Start Purge function.

If you select Purge all records, then all the archive documents for the selected document types are deleted, irrespective of their age.

This defaults to the entry defined against the Purge log records older than field (SRS Document Archive Setup) and can only be changed if the option Allow run time selection is enabled (SRS Document Archive Setup).

Start Purge Select this to delete the archived documents according to your selections.

If there are a large number of archived items, then the initial purge may take longer than usual as the program removes the obsolete documents.

Close Select this to exit the program without deleting any archived documents.

Notes and warnings

Prerequisites

  • It is strongly recommended that you take a backup of your database and SRS document archive folder before performing a Purge.

Program access

  • You can only run this program if you selected the option: Allow purge (SRS Document Archive Setup - Archive Purge Settings tab).

Purging archived SRS documents

  • Ensure that you have enabled the Allow purge option in the SRS Document Archive Setup program.

You would typically use this procedure when you need to delete archived SRS documents, either for all document types, or for a selected document type.

  1. Open the SRS Document Archive Purge program (SYSPRO main menu > Utilities > SRS Document Setup > SRS Document Archive Purge).

  2. Select the document type to be purged.

  3. Select the age of the documents you want to purge at the Delete log records older than field.

    This option is only available if the Allow run time selection option is selected in the SRS Document Archive Setup program.

  4. Begin the purge.