Results for “psp_pee_ins”

30 results




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

Overview

PSP_PEE_INS is an Oracle Application Object Library package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. Within the Oracle Enterprise Resource Planning and Projects (ETRM) product family, it operates as an internal interface-routing package supporting the Public Sector/Professional Services external effort tracking model. The package name follows the conventional ETRM abbreviation scheme in which "PSP" denotes a Professional Services/Packages module component, "PEE" denotes the External Effort entity, and "INS" denotes the insert-path handler.

The package is classified by Oracle's ETRM repository as an "OTHER" API — that is, not a published or supported public interface. It acts as the private insertion layer for external effort lines, invoked as a subordinate to the higher-level public business logic instead of directly by end users. Its status is VALID, and it is not referenced by any other database object, confirming that it sits at the bottom of the call hierarchy for its functional area.

Key Procedures and Functions

The package body exposes three documented program units:

  • SET_BASE_KEY_VALUE — This helper procedure sets a base key value used by the insert logic. In ETRM insert-path packages, base key management is typically required so that the foreign key from the external effort line to the owning external effort header is resolved and propagated correctly before the line row is built.
  • INS — The primary insert routine. It performs the operational insert operation into the external effort tracking tables, validating and normalizing incoming column values before the row is committed through the entity's protected write path. Following ETRM conventions, this procedure is not called from client code but is invoked internally as part of the standard create transaction.

No signatures or parameter lists are reproduced here; the documented metadata does not expose them, and they should not be assumed. The two remaining documented units in the body are internal implementation routines not separately surfaced.

Tables Accessed

The package directly references two APPS-synonym base tables:

  • PSP_EXTERNAL_EFFORT_LINES — The primary transactional table holding external effort line records. This is the main target of the insert path.
  • PSP_EXTERNAL_EFFORT_LINES_S — The shadow or history table conventionally associated with the "_S" suffix in ETRM schemas. Insertion into the lines table is accompanied by a corresponding write to the shadow table to preserve the audit trail that Oracle Applications requires for HR-related and effort-tracking data.

The dependency list also shows calls to PSP_PEE_BUS (the business rule layer), PSP_PEE_RKI (row-key handling), and PSP_PEE_SHD (shadow-table maintenance), indicating that PSP_PEE_INS delegates validation and audit work to sibling packages rather than performing it inline. Utility dependencies include FND_MESSAGE and HR_MULTI_MESSAGE for error reporting, plus HR_API and HR_UTILITY for human-resources data access semantics.

Usage Notes

PSP_PEE_INS is not a supported integration entry point and should never be invoked directly from custom SQL, PL/SQL, or concurrent programs. It is designed to be called exclusively through the higher-level PSP_PEE_INS insert path triggered when external effort lines are created from the owning Oracle EBS form or business process. Any direct call risks bypassing the row-key and business-rule validation performed by PSP_PEE_BUS and PSP_PEE_RKI, potentially corrupting the shadow table or producing orphaned effort lines. The absence of inbound references confirms that no other package depends on it, so customizations should target the public ETRM APIs instead. Support and diagnostic activity around this package is limited to identifying failed inserts during an effort-line creation transaction.