Search Results po_headers_sv1
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.
-
PACKAGE: APPS.PO_HEADERS_SV1
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_SV1, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_SV1
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_SV1, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV1
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_HEADERS_SV1, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV1
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_HEADERS_SV1, status:VALID,
-
PACKAGE: APPS.PO_NOTIF_CONTROLS_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_NOTIF_CONTROLS_SV, status:VALID,
-
PACKAGE: APPS.PO_NOTIF_CONTROLS_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_NOTIF_CONTROLS_SV, status:VALID,
-
PACKAGE: APPS.PO_RFQS_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_RFQS_SV, status:VALID,
-
PACKAGE: APPS.PO_RFQ_VENDORS_PKG_S2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_RFQ_VENDORS_PKG_S2, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_PKG_S2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_PKG_S2, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_SV2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_SV2, status:VALID,
-
PACKAGE: APPS.PO_QUOTES_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_QUOTES_SV, status:VALID,
-
PACKAGE: APPS.PO_RFQS_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_RFQS_SV, status:VALID,
-
PACKAGE: APPS.PO_SHIPMENTS_SV4
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_SHIPMENTS_SV4, status:VALID,
-
PACKAGE: APPS.PO_LINES_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_LINES_SV, status:VALID,
-
PACKAGE: APPS.PO_DISTRIBUTIONS_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_DISTRIBUTIONS_SV, status:VALID,
-
PACKAGE: APPS.PO_GA_ORG_ASSIGN_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_GA_ORG_ASSIGN_PVT, status:VALID,
-
PACKAGE: APPS.PO_GA_ORG_ASSIGN_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_GA_ORG_ASSIGN_PVT, status:VALID,
-
PACKAGE: APPS.PO_SHIPMENTS_SV4
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_SHIPMENTS_SV4, status:VALID,
-
PACKAGE: APPS.PO_RFQ_VENDORS_PKG_S2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_RFQ_VENDORS_PKG_S2, status:VALID,
-
PACKAGE: APPS.PO_RELEASES_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_RELEASES_SV, status:VALID,
-
PACKAGE: APPS.PO_RELEASES_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_RELEASES_SV, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_HEADERS_SV2, status:VALID,
-
PACKAGE: APPS.PO_DISTRIBUTIONS_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_DISTRIBUTIONS_SV, status:VALID,
-
PACKAGE: APPS.PO_QUOTES_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_QUOTES_SV, status:VALID,
-
PACKAGE: APPS.PO_MOD_CONTROL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_MOD_CONTROL_PVT, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_PKG_S2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_PKG_S2, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_SV2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_SV2, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_HEADERS_SV2, status:VALID,
-
SYNONYM: APPS.PO_EXHIBIT_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_EXHIBIT_DETAILS, status:VALID,
-
PACKAGE: APPS.PO_APPROVAL_REMINDER_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_APPROVAL_REMINDER_SV, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV5
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_HEADERS_SV5, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV5
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_HEADERS_SV5, status:VALID,
-
PACKAGE: APPS.PO_LINES_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_LINES_SV, status:VALID,
-
PACKAGE BODY: APPS.PO_RELEASES_SV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_RELEASES_SV, status:VALID,
-
PACKAGE BODY: APPS.PO_REQS_SV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_REQS_SV, status:VALID,
-
PACKAGE: APPS.PO_APPROVAL_REMINDER_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_APPROVAL_REMINDER_SV, status:VALID,
-
SYNONYM: APPS.PO_BC_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_BC_DISTRIBUTIONS, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV1
12.1.1
-
PACKAGE: APPS.PO_REQ_LINES_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_REQ_LINES_SV, status:VALID,
-
PACKAGE: APPS.PO_CLM_INTG_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_CLM_INTG_GRP, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_SV1
12.1.1
-
PACKAGE: APPS.XLE_UTILITIES_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLE_UTILITIES_GRP, status:VALID,
-
SYNONYM: APPS.PO_ACTION_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_ACTION_HISTORY, status:VALID,
-
PACKAGE BODY: APPS.PO_HEADERS_SV1
12.2.2
-
PACKAGE BODY: APPS.PO_DOCUMENT_UPDATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_UPDATE_PVT, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_SV1
12.2.2
-
PACKAGE BODY: APPS.PO_DOCUMENT_UPDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_UPDATE_PVT, status:VALID,
-
SYNONYM: APPS.PO_ACTION_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_ACTION_HISTORY, status:VALID,
-
APPS.PO_RELEASES_SV SQL Statements
12.2.2
-
APPS.PO_HEADERS_SV1 SQL Statements
12.1.1