Search Results po_ame_approvals_s




Overview

PO_SOURCING_PVT is a private (PVT classification) PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It encapsulates the internal business logic that supports Oracle Sourcing and the procurement document creation/drafting flow within the Purchasing module. The "PVT" suffix denotes private scope: the package is not a published public API and is not intended for direct third-party or custom invocation. Instead, it functions as an internal service layer called by other purchasing packages — most notably PO_CORE_S, PO_GA_PVT, and the negotiation/sourcing stack — to build, validate, and persist purchasing document headers, including draft headers and interface staging records.

The package mediates between the Oracle Sourcing subsystem (auctions and bid headers) and the standard Purchasing document model. It also participates in the Creating Purchasing Documents from a Sourcing Award flow, where a sourcing award must be transformed into a standard purchase order. Its presence in dependency chains involving PO_AME_APPROVALS_S ties it to the approval routing setup: submission of a newly created or drafted document can trigger approval assignment derived from the AME (Approval Management Engine) approval rules table.

Key Procedures and Functions

  • CREATE_CPA — Creates a purchase document (a "CPA," or Client Purchase Agreement, in Sourcing context). This routine encapsulates the header construction logic, populating document style, terms, operating unit assignments, currency/financials defaults, and approval-related setup. It is the principal entry point for generating a sourcing-originated document record.
  • DELETE_INTERFACE_HEADER — Removes a staging/interim header record from the purchasing documents interface (PO_HEADERS_INTERFACE). It supports cleanup of failed or rolled-back document creation attempts, ensuring the interface tables remain consistent when a sourcing-to-PO conversion is aborted.

No public parameter lists are documented for these two procedures. Their internal signatures should be treated as implementation-private and subject to change across point releases.

Tables Accessed

Usage Notes

PO_SOURCING_PVT is invoked exclusively from within the APPS schema by other private purchasing packages and by the Oracle Sourcing and Purchasing UI flows. It is not referenced by any external database object and exposes no public API contract. Typical invocation paths include the Sourcing "Create Purchase Order" / award-to-PO action and the internal document-creation chain that terminates in approval submission via PO_AME_APPROVALS_S. Because it is a private package, customization should not call it directly; supported extension points are the public PO_HEADERS_PKG_S and PO_CORE_S APIs. Any reliance on its two internal procedures carries upgrade risk between 12.1.1 and 12.2.2.