Managing Data Purges

This chapter provides an overview of data purges and discusses how to purge data.

Click to jump to parent topicUnderstanding Data Purges

You can use purge programs to remove data from files when the data becomes obsolete or you need more disk space. You can use data selection to create a configured purge. For example, you could specify a range of fiscal years so that the system would purge only records that fall within that date range instead of all dates.

To purge data, you must:

  1. Determine the data that you want to purge.

  2. Run the purge program.

  3. Run the file reorganization program to rebuild file structure.

Important! You must know the proper procedures and consequences of purging data to avoid serious damage to the system and data.

Click to jump to parent topicPurging Data

This section provides an overview of purge programs, lists prerequisites, and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Purge Programs

Every JD Edwards EnterpriseOne Distribution system is shipped with special purge programs. In the JD Edwards EnterpriseOne Inventory Management system, the special purge programs are:

Special purges have built-in criteria that the system checks before removing any data. For example, you might want to purge an item master record that has an associated record in the F41021 table. The built-in selection criterion prevents the system from purging the item location file record.

You can set processing options to save purged records, which enables you to recover data that was inadvertently purged.

You can also purge interoperability transactions.

See Processing Interoperability for Inventory Management.

Click to jump to top of pageClick to jump to parent topicPrerequisites

Before you complete the tasks in this section, you must:

Click to jump to top of pageClick to jump to parent topicRunning the Item Master Purge

Select Global Updates & Purges (G41311), Item Master Purge (F4101).

The Item Master Purge (R4101P) program enables you to select and purge specific information from the Item Master table (F4101). Before purging the records from the F4101 table, the system verifies that the records are not associated with these tables:

The system does not purge any item information from these tables.

Click to jump to top of pageClick to jump to parent topicSetting Processing Options for Item Master Purge (R4101P)

Processing options enable you to specify the default processing for programs and reports.

Process

Purge Library - FUTURE

Specify whether to save purged records. Values are:

Blank: Do not save any purged records.

1: Save the purged records to a special purge library.

Reorganize Purged Files- FUTURE

Specify whether to reorganize purged files. Values are:

Blank: Do not reorganize.

1: Reorganize.

Click to jump to top of pageClick to jump to parent topicRunning the Item Balance Purge

Select Global Updates & Purges (G41311), Item Balance Purge (F4102).

The Item Balance Purge (R4102P) program enables you to select and purge records from the Item Branch File (F4102). Before you purge the specified records from the F4102 table, the system verifies the records using this criteria. The system does not purge the records if:

After the system determines which Item Balance records are to be purged, the system verifies that the records exist in the Item Branch File and that all records in the Item Location File F41021 with the same item and branch have zero quantities.

The system purges Item Balance records in this order:

If you set the ALL Item Branch processing option to delete all item branch information, the system checks the Item Branch File table and verifies in the Item Location File F41021 that records with the same item and branch have zero quantities and are not primary bins. If these conditions exist, the system purges the cost records for item, branch, location, and lot if the cost level for this item is 3.

If you set the processing option to save purged records, purges that are performed on the same table and on the same day are added to the existing library and table.

Click to jump to top of pageClick to jump to parent topicSetting Processing Options for Item Balance Purge (R4102P)

Processing options enable you to specify the default processing for programs and reports.

Process

Purge Library - FUTURE

Specify whether to save purged records. Values are:

Blank: Do not save any purged records.

1: Save the purged records to a purge library.

Reorganize Purged Files- FUTURE

Specify whether to reorganize purged files. Values are:

Blank: Do not reorganize.

1: Reorganize.

ALL Item Branch

Specify whether to purge all eligible Item Branch information. Values are:

Blank: Purge only the Item Location records with all quantities zero.

1: Purge all eligible Item Branch information.

Print Records

Specify whether to print records. Values are:

Blank: Print all purged records. (default)

1: Print deleted records.

2: Print errors.