Search Results qp_purge_entity
Overview
QP_PURGE_ENTITY is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that supports the Oracle Advanced Pricing (QP) module's archive and purge infrastructure. Its primary business function is to permanently remove — or purge — pricing entities that were previously archived according to user-defined archive criteria. In regulated environments, pricing data such as price lists, qualifiers, modifiers, and pricing attributes must be retained for audit purposes before being deleted from the transactional tables. QP_PURGE_ENTITY provides the controlled mechanism by which that final deletion step is executed, working in tandem with the QP archive tables that stage the historical copies of the data.
The package is classified in the ETRM repository as an "OTHER" API, meaning it is not a formally published public API, but rather an internal utility invoked by Oracle's own concurrent program infrastructure. Its single documented procedure, Purge_Entity, encapsulates the entire purge operation for a targeted pricing entity.
Key Procedures and Functions
The package exposes exactly one documented procedure:
- Purge_Entity — Performs the purge of a designated pricing entity. Per the documented header, it accepts an archive context that includes a source system code, an archive name, an entity type, a numeric entity identifier, and an archive date range (start and end). The procedure follows the standard Oracle concurrent program interface contract, returning the conventional
errbufandretcodeOUT parameters used by concurrent managers to capture error messages and completion status. The date range and archive name parameters allow the purge to be scoped to the specific archived set rather than deleting the entire entity unconditionally.
Tables Accessed
The package operates against the QP archive schema tables, which are accessed through APPS synonyms. These tables hold the staged archive data and its defining criteria:
- QP_ARCH_CRITERIA_HEADERS and QP_ARCH_CRITERIA_LINES — store the archive and purge criteria definitions that determine which entities are eligible for processing.
- QP_ARCH_LIST_HEADERS_B and QP_ARCH_LIST_HEADERS_TL — hold archived price list headers in both base and translated (TL) forms, reflecting multi-language support.
- QP_ARCH_LIST_LINES — holds archived price list line detail.
- QP_ARCH_PRICING_ATTRIBUTES — holds archived pricing attribute records associated with the archived lists.
- QP_ARCH_QUALIFIERS — holds archived qualifier definitions.
- QP_ARCH_RLTD_MODIFIERS — holds archived related modifier records.
Together these tables represent the historical copies of pricing entities. Purge_Entity reads from them to identify what should be removed and deletes the corresponding archived records once the retention criteria are satisfied.
Usage Notes
QP_PURGE_ENTITY is not intended for direct invocation by end users or custom code. It is typically called from the Oracle Advanced Pricing archive and purge concurrent programs, which manage the bulk cleanup of historical pricing data. The procedure is designed to run in a concurrent manager context, as evidenced by its errbuf and retcode signature. Because the package is classified as "OTHER" and is referenced by zero other packages in the ETRM metadata, it should be treated as an internal implementation detail rather than a supported integration point. Customizations that need to purge pricing entities should invoke the standard Oracle-provided archive and purge concurrent programs rather than calling Purge_Entity directly, ensuring that criterion evaluation, ordering, and referential integrity checks are performed correctly. The presence of both an archive name and a start/end date range confirms that purging is always scoped to a previously archived batch, preserving the audit trail until the designated retention window closes.
-
PACKAGE: APPS.QP_PURGE_ENTITY
12.2.2
-
PACKAGE: APPS.QP_PURGE_ENTITY
12.1.1
-
PACKAGE: APPS.QP_PURGE_ENTITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:QP_PURGE_ENTITY, status:VALID,
-
PACKAGE: APPS.QP_PURGE_ENTITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:QP_PURGE_ENTITY, status:VALID,
-
PACKAGE BODY: APPS.QP_PURGE_ENTITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_PURGE_ENTITY, status:VALID,
-
PACKAGE BODY: APPS.QP_PURGE_ENTITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_PURGE_ENTITY, status:VALID,
-
SYNONYM: APPS.QP_ARCH_CRITERIA_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_CRITERIA_LINES, status:VALID,
-
SYNONYM: APPS.QP_ARCH_CRITERIA_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_CRITERIA_LINES, status:VALID,
-
SYNONYM: APPS.QP_ARCH_CRITERIA_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_CRITERIA_HEADERS, status:VALID,
-
SYNONYM: APPS.QP_ARCH_PRICING_ATTRIBUTES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_PRICING_ATTRIBUTES, status:VALID,
-
SYNONYM: APPS.QP_ARCH_LIST_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_LIST_HEADERS_B, status:VALID,
-
SYNONYM: APPS.QP_ARCH_LIST_HEADERS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_LIST_HEADERS_TL, status:VALID,
-
SYNONYM: APPS.QP_ARCH_QUALIFIERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_QUALIFIERS, status:VALID,
-
SYNONYM: APPS.QP_ARCH_RLTD_MODIFIERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_RLTD_MODIFIERS, status:VALID,
-
SYNONYM: APPS.QP_ARCH_LIST_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_LIST_LINES, status:VALID,
-
SYNONYM: APPS.QP_ARCH_CRITERIA_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_CRITERIA_HEADERS, status:VALID,
-
SYNONYM: APPS.QP_ARCH_QUALIFIERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_QUALIFIERS, status:VALID,
-
SYNONYM: APPS.QP_ARCH_PRICING_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_PRICING_ATTRIBUTES, status:VALID,
-
SYNONYM: APPS.QP_ARCH_LIST_HEADERS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_LIST_HEADERS_TL, status:VALID,
-
SYNONYM: APPS.QP_ARCH_RLTD_MODIFIERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_RLTD_MODIFIERS, status:VALID,
-
SYNONYM: APPS.QP_ARCH_LIST_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_LIST_LINES, status:VALID,
-
SYNONYM: APPS.QP_ARCH_LIST_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_ARCH_LIST_HEADERS_B, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.QP_PURGE_ENTITY
12.1.1
-
PACKAGE BODY: APPS.QP_PURGE_ENTITY
12.2.2
-
APPS.QP_PURGE_ENTITY dependencies on QP_PURGE_ENTITY
12.2.2
-
APPS.QP_PURGE_ENTITY dependencies on QP_PURGE_ENTITY
12.1.1
-
PACKAGE: APPS.FND_DATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
PACKAGE: APPS.FND_DATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,