Results for “setup_interface_table”

10 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.PO_PRICE_DIFFERENTIALS_PVT is the private implementation package for Oracle Purchasing price differentials functionality in Oracle E-Business Suite 12.1.1 and 12.2.2. Price differentials allow organizations to apply percentage-based or amount-based adjustments to purchase order line prices based on supplier, item, job, or other qualifiers. The package encapsulates the core business logic used to validate, create, copy, default, and delete price differential records, and provides the internal APIs consumed by the public PL/SQL interface and by Oracle Forms in the Purchasing application. Because it is classified as a PVT (private) package, it is intended for invocation by other Purchasing packages and forms rather than as a directly called integration API.

Key Procedures and Functions

The package body exposes sixteen documented procedures and functions covering the full price differential lifecycle:

Tables Accessed

The package reads and writes the core Purchasing tables through APPS synonyms. PO_PRICE_DIFFERENTIALS and PO_PRICE_DIFFERENTIALS_S hold the base and translated (or setup) price differential definitions. PO_PRICE_DIFF_INTERFACE and PO_PRICE_DIFF_INTERFACE_S serve as the staging area for the CREATE_FROM_INTERFACE and SETUP_INTERFACE_TABLE operations. PO_HEADERS_ALL, PO_LINES_ALL, and PO_LINE_LOCATIONS_ALL supply document header, line, and shipment context for validation and defaulting. PO_LINE_TYPES_B and PO_REQUISITION_LINES (and PO_REQUISITION_LINES_ALL) are referenced to resolve line type and requisition-based rules. PER_JOBS_VL and PO_JOB_ASSOCIATIONS support job-related price differential qualifiers. It also depends on utility packages including PO_CORE_S, PO_CONSTANTS_SV, PO_MESSAGE_S, PO_LOG, PO_SERVICES_PVT, FND_GLOBAL, FND_MSG_PUB, FND_PROFILE, and the PO_PRICE_DIFF_LOOKUPS_V view.

Usage Notes

PO_PRICE_DIFFERENTIALS_PVT is not referenced by any database object directly; instead it is invoked internally by the corresponding public interface package and by Oracle Purchasing forms during price differential entry and maintenance. Its procedures are typically executed in the context of the Purchasing responsibility when users create or modify price differentials, when documents are copied, or when concurrent interface programs import price differential data. Developers extending Purchasing should avoid calling the private package directly and instead use the supported public APIs, which handle validation, message propagation via FND_MSG_PUB, and error logging through PO_INTERFACE_ERRORS_SV1 and PO_LOG. The dependency on FND_GLOBAL and FND_PROFILE confirms that correct operating context (user, organization, and profile options) must be initialized before invocation.