Search Results create_ptr_enr_temp_appr
Overview
The APPS.PV_GE_TEMP_APPROVERS_PVT package is a private (PVT) PL/SQL API within the Oracle E-Business Suite 12.1.1 and 12.2.2 environments, belonging to the Oracle Channel Revenue Management / Partner Management product family (PV module). Its primary business function is to manage the temporary approver records associated with the approval routing of entities such as partner enrollments, claims, and related channel transactions. The package encapsulates the create, read, update, delete, lock, and validation logic required to persist approver assignment data in the PV_GE_TEMP_APPROVERS base table and its corresponding sequence, ensuring data integrity and consistency across the approval workflow. Because it is classified as a Private API, it is intended for internal consumption by Oracle's own application logic rather than as a public integration interface. The package header, first shipped in December 2002 and maintained through subsequent releases, uses AUTHID CURRENT_USER and was generated using Rosetta version 1.55, which enforces a specific null-handling convention where g_miss indicates NULL and NULL indicates a missing value.
Key Procedures and Functions
The package exposes seven documented procedures that together provide a complete lifecycle for temporary approver records:
- CREATE_PTR_ENR_TEMP_APPR — Inserts a new temporary approver record, populating the approver assignment details for a given entity and approver.
- UPDATE_PTR_ENR_TEMP_APPR — Modifies an existing temporary approver record, typically used to change approval status or reassign the approver.
- DELETE_PTR_ENR_TEMP_APPR — Removes a temporary approver record when it is no longer required in the approval chain.
- LOCK_PTR_ENR_TEMP_APPR — Acquires a row-level lock on the approver record, supporting concurrency control during multi-user approval operations.
- VALIDATE_PTR_ENR_TEMP_APPR — Validates the attributes of a temporary approver record before persistence, enforcing business rules and referential integrity.
- CHECK_APPROVER_ITEMS — Verifies the existence or state of approver-related items, supporting dependency checks prior to create or delete operations.
- VALIDATE_APPROVER_REC — Performs record-level validation against the structure of the temporary approver entity, ensuring all required fields conform to expected formats and constraints.
These procedures share the generated approver_rec_type record definition, which mirrors every column of the underlying table, including entity_approver_id, object_version_number, arc_appr_for_entity_code, approver_id, approver_type_code, approval_status_code, and standard audit columns.
Tables Accessed
The package reads from and writes to the PV_GE_TEMP_APPROVERS base table, which stores the temporary approver assignments, and references PV_GE_TEMP_APPROVERS_S, the associated sequence used to generate primary key values for entity_approver_id. The DUAL table is referenced for singleton operations such as sequence value retrieval and simple validation checks. Access is performed through APPS synonyms, consistent with standard EBS schema conventions.
Usage Notes
As a private API, PV_GE_TEMP_APPROVERS_PVT is typically invoked by Oracle's own forms, concurrent programs, or higher-level public APIs within the Channel Revenue Management module rather than by external custom code. It is referenced by at least one other package, indicating its role as a shared internal service for approval routing. Developers extending or debugging approval workflows should be aware that direct invocation is unsupported and that any custom integration should target the corresponding public API or a supported extension point instead.
-
PACKAGE: APPS.PV_GE_TEMP_APPROVERS_PVT
12.2.2
-
PACKAGE: APPS.PV_GE_TEMP_APPROVERS_PVT
12.1.1
-
PACKAGE BODY: APPS.PV_GE_TEMP_APPROVERS_PVT
12.1.1
-
PACKAGE BODY: APPS.PV_GE_TEMP_APPROVERS_PVT
12.2.2
-
APPS.PV_GE_TEMP_APPROVERS_PVT dependencies on FND_API
12.2.2
-
APPS.PV_GE_TEMP_APPROVERS_PVT dependencies on FND_API
12.1.1
-
APPS.PV_GE_TEMP_APPROVERS_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.PV_GE_TEMP_APPROVERS_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.PV_GE_TEMP_APPROVERS_PVT dependencies on FND_API
12.1.1
-
APPS.PV_GE_TEMP_APPROVERS_PVT dependencies on FND_API
12.2.2