Results for “test_val_approval_status”
26 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.PO_RELEASES_SV3 is a server-side PL/SQL package in Oracle E-Business Suite that encapsulates validation and test logic used in the context of the PO_RELEASES entity. The package is defined with AUTHID CURRENT_USER, meaning its SQL statements execute under the privileges of the invoking user rather than the package owner, and it is declared at the SERVER tier with no associated client library. The header comment block identifies the artifact as PO_RELEASES_SV2 while the actual package name is PO_RELEASES_SV3, a common artifact of versioned maintenance in the Purchasing module. The package owner of record is KPOWELL. In ETRM 12.2.2 the package is classified as OTHER, indicating that it is not a primary public API but rather a supplementary or diagnostic utility. Its compact procedure list — three entries — all prefixed with "test_" — suggests that the package was created to exercise and validate behavior surrounding purchasing document releases, including release number retrieval and uniqueness checks and approval status validation, without exposing business-critical transactional entry points.
Key Procedures and Functions
The package exposes three documented procedures, all declared in the package specification.
- test_get_release_num — Retrieves the release number associated with a purchasing document identified by a PO header identifier. It is intended to return or resolve the release sequence value for a given header context.
- test_val_doc_num_unique — Validates the uniqueness of a document number against a release number. It accepts a PO header identifier, a release number, and a row identifier, and is used to detect duplicate document/release combinations prior to persistence.
- test_val_approval_status — Validates the approval status of a purchasing release. It accepts parameters describing the release identity, the agent, the release date, and acceptance-related attributes (acceptance required flag and acceptance due date), and confirms that the release satisfies the approval-state conditions expected by the application.
No parameters are invented beyond those shown in the specification excerpt; the procedures above are named and described according to their documented signatures.
Tables Accessed
The documented metadata lists only DBMS_OUTPUT among the objects referenced via APPS synonyms. DBMS_OUTPUT is an Oracle-supplied diagnostic package, not a Purchasing table, and its presence indicates that these routines emit debug or informational text rather than performing table maintenance. The procedures logically operate over PO_RELEASES data, but the ETRM metadata records no direct table references beyond DBMS_OUTPUT. Consequently, the package should be treated as diagnostic in nature, producing output for inspection rather than inserting, updating, or deleting purchasing release records.
Usage Notes
PO_RELEASES_SV3 is not referenced by any other packages in the documented metadata, and no inbound dependency is recorded. Given the "test_" naming convention and the DBMS_OUTPUT reference, the package is typically invoked from SQL*Plus, a PL/SQL anonymous block, or a development harness where server output is enabled, rather than from an Oracle Forms event or a standard concurrent program. It may also appear as a supporting utility during patching or diagnostics in the Purchasing (PO) module. Because the package is classified as OTHER and carries test-oriented procedures, it is not a substitute for the supported PO_RELEASES public APIs; customizations that require release validation should rely on the documented Purchasing APIs. In 12.1.1 and 12.2.2 environments, the package remains a server-side-only artifact and requires no client library deployment.
-
PACKAGE: APPS.PO_LINES_SV 12.1.1
-
PACKAGE: APPS.PO_LINES_SV 12.2.2