Results for “ame_trans_data_purge”

48 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The APPS.AME_TRANS_DATA_PURGE package is a maintenance utility within the Oracle Approvals Management (AME) module of Oracle E-Business Suite. AME is the rules engine that evaluates approval hierarchies, routing, and authority limits for transactions originating in Oracle Purchasing, Payables, iExpenses, HR, and other calling applications. During normal operation, AME generates substantial transient data: temporary transaction rows, temporary approver list snapshots, temporary insertions and deletions, approver records, and approval history entries. This package exists to periodically remove that accumulated transactional residue, preventing unbounded growth of the AME transactional tables and preserving runtime performance of the approval engine.

The package is classified in the ETRM repository as an OTHER API rather than a public integration API, meaning it is intended for internal maintenance and administrative invocation rather than for customer application development. It is owned by the APPS schema and holds a VALID status.

Key Procedures and Functions

The documented package exposes two procedures:

  • PURGETRANSDATA — The primary purge routine. It removes obsolete transaction-level data from the AME temporary and transactional tables, including temporary transactions, temporary approver lists, temporary insertions and deletions, transaction locks, approvers, and approval history records. This procedure is the mechanism by which completed or abandoned AME approval cycles are cleaned out of the working tables.
  • PURGEDEVIATIONDATA — A companion routine that removes deviation-related data associated with AME processing. It targets the deviation records generated when a transaction's routing departs from the standard computed approval path.

Both procedures are implemented as package-level units; the ETRM metadata does not expose their formal parameter lists, and signatures should not be assumed. The package itself carries no documented public constants or exceptions.

Tables Accessed

The package operates against the following AME tables, accessed through APPS synonyms:

Usage Notes

AME_TRANS_DATA_PURGE is referenced by the AME_UTIL package, which indicates that it is normally reached indirectly through AME's own utility layer rather than being called directly by application forms. In practice it is invoked by the AME purge concurrent program, scheduled by administrators to run on a recurring basis (commonly nightly or weekly), removing stale transaction data within a defined retention window. Because the package deletes from core AME working tables, it should be executed only during periods of low AME activity, and the concurrent request should be monitored to confirm that locks on AME_TEMP_TRANS_LOCKS do not conflict with in-flight approvals. Direct invocation from custom code is discouraged; any bespoke scheduling should replicate the retention semantics enforced by the standard concurrent program.