Search Results insert_children
Overview
PO_HEADERS_SV1 is an Oracle Applications (APPS) PL/SQL package that forms part of the Purchasing (PO) module's server-side validation and maintenance infrastructure within Oracle E-Business Suite. The suffix "SV1" follows Oracle's convention for a "Server-side Validation" package, indicating that its primary responsibility is to encapsulate row-level validation and delete-handling logic for purchasing document headers and their dependent entities. Within the ETRM metadata, the package is classified as an API of type OTHER and is documented with a status of VALID, meaning the object is compiled and available in the APPS schema.
The package exists to centralize the business rules that govern whether a purchasing document — a purchase order, quotation, or similar header record — may be modified or removed, and to orchestrate the cascading delete of the associated lines, distributions, releases, and action history. This separation of validation logic into a dedicated single-responsibility package allows the higher-level header APIs (PO_HEADERS_SV2 and PO_HEADERS_SV5) and the document update private API (PO_DOCUMENT_UPDATE_PVT) to reuse consistent rules rather than embedding them in multiple procedures.
Key Procedures and Functions
The documented metadata lists a total of nine procedures and functions, of which the following are named in the ETRM extract:
- NAME — the package level identifier or naming routine, exposed as the package's documented entry point.
- VALIDATE_DELETE_DOCUMENT — validates whether the specified purchasing document is eligible for deletion. This routine enforces the business rules that prohibit removal of documents in inappropriate approval, receiving, or accounting states, and it checks for downstream references before permitting the delete to proceed.
- DELETE_DOCUMENT — performs the physical deletion of the document header and its dependent records once validation has succeeded. It coordinates removal across the related purchasing tables so that no orphaned distributions, releases, or action history rows remain.
The remaining procedures and functions are not individually documented in the supplied extract; they operate within the same validation and delete-handling scope. No parameter lists are reproduced here, as the ETRM metadata does not document them.
Tables Accessed
PO_HEADERS_SV1 accesses a broad set of purchasing tables through APPS synonyms, reflecting its role at the centre of document lifecycle management:
- PO_HEADERS and PO_HEADERS_ALL — the primary document header tables read, validated, and deleted.
- PO_LINES_ALL — line-level records that must be checked and removed in cascade.
- PO_DISTRIBUTIONS and PO_DISTRIBUTIONS_ALL — accounting distributions validated for downstream activity before deletion.
- PO_BC_DISTRIBUTIONS — budgetary control distributions that constrain deletion when funds commitments exist.
- PO_RELEASES and PO_RELEASES_ALL — blanket agreement releases whose presence affects header deletion eligibility.
- PO_DOCUMENT_TYPES — the document type definition that governs which validation rules apply.
- PO_ACTION_HISTORY — the audit trail of actions taken against the document.
- PO_REQUISITION_HEADERS_ALL — the requisition source referenced by the purchase document.
- PO_EXHIBIT_DETAILS — exhibit or contractual attachment detail associated with the header.
- XLA_EVENTS — Subledger Accounting events, checked to ensure no accounting has been generated that would block deletion.
Usage Notes
PO_HEADERS_SV1 is not intended for direct invocation by end users. It is referenced by five other packages, notably PO_DOCUMENT_UPDATE_PVT and the sibling validation packages PO_HEADERS_SV2 and PO_HEADERS_SV5. Calls therefore originate from the Purchasing forms (such as the Purchase Orders window), from concurrent programs performing document maintenance, and from custom extensions that invoke the header APIs rather than manipulating PO_HEADERS_ALL directly. Custom developers should treat the package as an internal validation layer and call the supported public APIs (PO_HEADERS_SV2, PO_DOCUMENT_UPDATE_PVT) so that the delete-validation rules are enforced consistently.
-
APPS.PO_HEADERS_SV1 SQL Statements
12.1.1
-
APPS.PO_HEADERS_SV1 SQL Statements
12.2.2
-
PACKAGE: APPS.PO_HEADERS_SV1
12.1.1
-
PACKAGE: APPS.AP_INVOICES_POST_PROCESS_PKG
12.1.1
-
PACKAGE: APPS.AP_INVOICES_POST_PROCESS_PKG
12.2.2
-
PACKAGE: APPS.PO_HEADERS_SV1
12.2.2
-
APPS.AP_INVOICES_POST_PROCESS_PKG SQL Statements
12.1.1
-
APPS.AP_INVOICES_POST_PROCESS_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PO_HEADERS_SV1
12.1.1
-
PACKAGE BODY: APPS.PO_HEADERS_SV1
12.2.2
-
PACKAGE BODY: APPS.AP_INVOICES_POST_PROCESS_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_INVOICES_POST_PROCESS_PKG
12.2.2
-
APPS.AP_INVOICES_PKG SQL Statements
12.1.1
-
APPS.AP_INVOICES_PKG SQL Statements
12.2.2
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on AP_INVOICE_DISTRIBUTIONS
12.1.1
-
APPS.AP_INVOICES_PKG dependencies on AP_INVOICE_LINES
12.1.1
-
APPS.PO_HEADERS_SV1 dependencies on PO_MESSAGE_S
12.2.2
-
APPS.PO_HEADERS_SV1 dependencies on PO_MESSAGE_S
12.1.1
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on AP_HOLDS
12.1.1
-
APPS.AP_INVOICES_PKG dependencies on AP_INVOICE_LINES
12.2.2
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on AP_PAYMENT_SCHEDULES
12.1.1
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on AP_PAYMENT_SCHEDULES
12.2.2
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on AP_HOLDS
12.2.2
-
PACKAGE BODY: APPS.AP_INVOICES_PKG
12.1.1
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on APP_EXCEPTION
12.2.2
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on APP_EXCEPTION
12.1.1
-
PACKAGE: APPS.AP_INVOICES_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_INVOICES_PKG
12.2.2
-
PACKAGE: APPS.AP_INVOICES_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_RECURRING_INVOICES_PKG
12.1.1
-
APPS.AP_INVOICES_PKG dependencies on APP_EXCEPTION
12.2.2
-
APPS.AP_INVOICES_PKG dependencies on APP_EXCEPTION
12.1.1
-
PACKAGE BODY: APPS.AP_RECURRING_INVOICES_PKG
12.2.2
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on FND_MESSAGE
12.1.1
-
APPS.AP_INVOICES_POST_PROCESS_PKG dependencies on FND_MESSAGE
12.2.2