Search Results po_lines_s




Overview

APPS.PO_LINES_PKG_SI is a server-side PL/SQL package body owned by the APPS schema within the Oracle E-Business Suite procurement module. It operates against Oracle EBS 12.1.1 and 12.2.2. Its status is documented as VALID, and its API classification is recorded as OTHER, distinguishing it from the public, fully supported APIs catalogued in the Oracle ETRM repository. In practice this package functions as a supplementary DML engine that centralises the mechanics of inserting and maintaining purchase order line records on behalf of other program units, particularly where header and line structures must be modified together. It enables both single-record procedural updates and multi-record set-based operations against the PO_LINES data model, and is a supporting utility rather than an interface called directly by end users.

Key Procedures and Functions

The documented package exposes a single program unit:

  • INSERT_ROW — The package's sole documented procedure, responsible for inserting a row into the purchase order lines repository. In practice this routine also honours the surrounding document context: when a row is added, the associated header must be maintained in step, so the procedure coordinates the line insert against the PO_HEADERS_ALL, PO_LINES, PO_LINES_ALL, and PO_LINES_S objects referenced in the package body.

No parameter lists are published in the available metadata; the specification should be inspected in the database before the routine is called directly. Its internal logic is resolved through the SQL statements declared in the package body.

Tables Accessed

The dependency information records the following objects:

  • PO_LINES_ALL — The base multi-organisation table for purchase order line detail; the primary target of the INSERT_ROW operation.
  • PO_LINES — The operational view/synonym through which the base line table is addressed.
  • PO_HEADERS_ALL — The PO header table, accessed to maintain the header/line relationship when a new line is created.
  • PO_LINES_S — The sequence that supplies the unique line identifier on insert.
  • DUAL / STANDARD — Utilised for sequence value access and standard PL/SQL runtime support.

The package has been determined not to be referenced by any other database object; it itself references the above, confirming its role as a low-level insert utility.

Usage Notes

PO_LINES_PKG_SI is typically invoked from Oracle Forms, concurrent programs, or custom extensions that must create purchase order lines while preserving referential integrity with the parent document. The metadata records it as referenced by one other package, indicating it is consumed indirectly as a helper rather than through a direct application call. Because the API is classified as OTHER, direct invocation is not covered by the standard published API contracts; developers should place any call within an explicit transaction and rely on the package to resolve sequence values (PO_LINES_S) and header linkage. Where a document structured through the Oracle Purchasing base tables is already released or approved, the routine should be reserved for insert scenarios rather than in-place amendment. All changes should be unit tested in a non-production environment, as the package is not a supported public interface and is not guaranteed to remain unchanged across EBS versions.