Periodic Process History Purge Days (L77)

Purpose: Use this screen to define how many days old a completed or canceled periodic process history record needs to be, based on its initiation date, before it is eligible for purge.

Number field: Enter a number to control the periodic process purge options:

Purge option

Description

for a particular periodic process:

When a periodic process runs, it automatically deletes any Completed (P) or Canceled (C) Process History Header and Detail records for that process only if the initiation date for the header record is as old as the default purge days.

If there are any Process History Detail records for that process that are not associated with a Process History Header record, these detail records are also deleted.

When this purge occurs, you do not have an option to override the default purge days.

for all periodic processes:

When you use the Purge Periodic Process History (MPPR) option, the system subtracts this number of days from the current date to calculate the default Purge history prior to initiate date at the Purge Process History Screen. You can override this default.

This purge option deletes all Completed (P) or Canceled (C) Process History Header records and their associated Process History Detail records for all processes in all companies if the initiation date for the header record is older than the Purge history prior to initiate date.

If there are any Process History Detail records that are not associated with a Process History Header record, these detail records are also deleted.

Determining the purge days across companies:

• If the system can determine the company where the process runs, it uses the system control value setting in this company to determine the purge days to use; otherwise,

• If the system cannot determine the company, it uses the system control value setting in the first company numerically whose system control value setting is not zero. When you purge history through the Purge Periodic Process History (MPPR) option, the purge function cannot determine the company, since that menu option runs across all companies.

Example: This system control value is set to zero in company 1, and set to 45 in company 2. The purge days that defaults in the Purge Periodic Process History (MPPR) option is 45, regardless of which company you were working in when you selected the menu option.

Default: This system control value defaults to 30 days. If this field is set to zero in all companies and the system cannot determine the company when performing a purge, then completed and canceled history records are eligible to be deleted if their initiation dates are 30 days earlier than the current date.

IN03_17 OROMS 17.0 2018 OTN