Set up purge criteria for productivity types

To set up purge criteria:

  1. From the tree in the application rules side panel, choose Task Management > Productivity > Productivity Types > Purge Criteria. The Purge Criteria List window displays.
  2. In the Purge Criteria List window, choose the Details icon. The Purge Criteria Details pop-up window displays.
  3. Enter information in the applicable fields.
  4. Choose the Save icon.
    Table 1. Purge Criteria Details pop-up window
    Field Description
    Purge Code Identifies a purge program. This is a system defined code.
    Description Description of the purge.
    Rollback Segment Defines the rollback segment that should be explicitly used for the purge transaction qualified by the purge code.

    This is useful when there are huge logical data sets that have to be purged. This is optional and used for order related purges.

    Retention Days Enter the number of days of data to be retained in the database (going backwards from the time the program runs). Make sure that your table size takes into account the number of retention days entered here.
    Write To Log File Check this box if you want purged data written to a log. The log can be backed up and used as a journal at a later date.
    Log File Name Enter a log file name. This is applicable only if 'Write To Log File' is checked. This file consists records of the specific table that is purged.

    The log file is created in the directory specified in the yfs.purge.path property. If this is not passed, it defaults to the value specified in the yfs.properties file. If a variable is introduced, then the yfs.purge.path is ignored. To modify this property, add an entry for it in the <INSTALL_DIR>/properties/customer_overrides.properties file. For additional information about modifying properties and the customer_overrides.properties file, refer to the Configuring property files.

    For information about file name limitations relating to internationalization, refer to the Localizing Foundation.