Search Results po_link_req_dist_pvt
Overview
PO_LINK_REQ_DIST_PVT is a private (PVT) PL/SQL package in the APPS schema that supports the Oracle Purchasing feature known as "linked requisition distributions." Its principal business purpose is to create the associations between purchase order distributions and the requisition distributions from which they originate, and to preserve the accounting context (GL date and GL period) of those requisitions when purchasing documents are generated. The public-facing implementation of this functionality resides in PO_LINK_REQ_DIST_PUB; this package supplies the internal, unexposed logic that the public layer invokes. Because the package is classified as PVT, it is not intended for direct customer invocation and does not constitute a supported extension point.
Key Procedures and Functions
Four documented program units are exposed within the package:
- CREATE_LINK_REQ_DIST_GT — Populates a global temporary structure (backed by PO_DISTRIBUTIONS_GT) that holds the set of distribution rows to be processed for requisition-distribution linkage. This serves as the staging step that later validation and insertion logic consumes in a set-based fashion.
- CREATE_AND_VAL_LINKED_REQ_DIST — Performs the substantive work: it creates the linked requisition distribution records and validates them against purchasing and requisitioning rules. This is the core routine that establishes and confirms the linkage between PO distributions and their source requisition distributions.
- GET_GL_DATE — Returns the accounting date (GL date) associated with a linked requisition distribution, used to align the purchasing transaction's accounting date with that of the originating requisition.
- GET_GL_PERIOD_NAME — Returns the GL period name corresponding to the requisition distribution's accounting context, ensuring period consistency across the requisition-to-order flow.
The package further references the user-defined types PO_LINK_REQ_DIST_FU_TAB, PO_MULTI_MOD_VAL_RESULTS_TYPE, and PO_MULTI_MOD_VAL_RESULTS_S, which carry multi-row validation results and serve as the declarations used by the validation routines.
Tables Accessed
The package reads from and writes to a broad set of Purchasing base and draft tables. The PO_DISTRIBUTIONS_ALL, PO_HEADERS_ALL, PO_LINES_ALL, and PO_LINE_LOCATIONS_ALL families form the transactional core, with their corresponding _DRAFT_ALL variants allowing the same linkage logic to operate against draft or document-builder records before they are finalized. PO_DISTRIBUTIONS_S and PO_DISTRIBUTIONS_GT provide sequence and global temporary working storage during mass processing.
On the requisitioning side, the package references PO_REQUISITION_LINES_ALL and PO_REQ_DISTRIBUTIONS_ALL to identify the source requisition lines and distributions being linked. PO_MULTI_MOD_VAL_RESULTS_S stores multi-row validation outcomes, PO_SYSTEM_PARAMETERS supplies operating configuration and defaults, and PO_MULTI_MOD_VAL_RESULTS_TYPE feeds the validation-result data structures. Together these accesses allow the package to reconstruct the requisition-side accounting context and apply it to the purchase order side.
Usage Notes
PO_LINK_REQ_DIST_PVT is invoked indirectly, through PO_LINK_REQ_DIST_PUB, during the creation and validation of purchase order distributions that are tied to requisitions. Typical trigger scenarios include Autocreate, document generation, and the manual creation of releases or orders from requisition lines in the Purchasing and iProcurement flows. Because the ETRM metadata records zero packages referencing it, its exposure is limited to its own package body and its public wrapper, indicating a tightly encapsulated internal component. It is not a supported public API for custom development; customizations requiring requisition-to-order linkage should target the corresponding public package or supported interfaces rather than calling this private package directly.
-
PACKAGE: APPS.PO_LINK_REQ_DIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_LINK_REQ_DIST_PVT, status:VALID,
-
TYPE: APPS.PO_LINK_REQ_DIST_FU_TAB
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_LINK_REQ_DIST_FU_TAB, status:VALID,
-
PACKAGE BODY: APPS.PO_LINK_REQ_DIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_LINK_REQ_DIST_PVT, status:VALID,
-
PACKAGE: APPS.PO_AUTO_DIST_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_AUTO_DIST_PROCESS_PVT, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_S, status:VALID,
-
PACKAGE: APPS.PO_REQS_INQ_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_REQS_INQ_SV, status:VALID,
-
TYPE: APPS.PO_MULTI_MOD_VAL_RESULTS_TYPE
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_MULTI_MOD_VAL_RESULTS_TYPE, status:VALID,
-
TYPE: APPS.PO_LINK_REQ_DIST_FU_REC
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_LINK_REQ_DIST_FU_REC, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_GT, status:VALID,
-
SYNONYM: APPS.PO_MULTI_MOD_VAL_RESULTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_MULTI_MOD_VAL_RESULTS_S, status:VALID,
-
PACKAGE: APPS.PO_INTERFACE_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_INTERFACE_S, status:VALID,
-
PACKAGE: APPS.PO_ACCOUNT_HELPER
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_ACCOUNT_HELPER, status:VALID,
-
PACKAGE: APPS.PO_PERIODS_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_PERIODS_SV, status:VALID,
-
PACKAGE: APPS.PO_LINE_LOCATIONS_DRAFT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_LINE_LOCATIONS_DRAFT_PKG, status:VALID,
-
PACKAGE: APPS.PO_LINES_DRAFT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_LINES_DRAFT_PKG, status:VALID,
-
PACKAGE: APPS.PO_LINK_REQ_DIST_PVT
12.2.2
-
PACKAGE: APPS.PO_PARTIAL_FUNDING_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_PARTIAL_FUNDING_PKG, status:VALID,
-
PACKAGE: APPS.PO_AUTOCREATE_PARAMS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_AUTOCREATE_PARAMS, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_DRAFT_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_DRAFT_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS_DRAFT_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS_DRAFT_ALL, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_DRAFT_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_DRAFT_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINES_DRAFT_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_DRAFT_ALL, status:VALID,
-
SYNONYM: PUBLIC.USER_OBJECTS
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:USER_OBJECTS, status:VALID,
-
SYNONYM: APPS.PO_SESSION_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_SESSION_GT, status:VALID,
-
SYNONYM: APPS.PO_SYSTEM_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_SYSTEM_PARAMETERS, status:VALID,
-
SYNONYM: APPS.PO_REQ_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_REQ_DISTRIBUTIONS_ALL, status:VALID,
-
TYPE: APPS.PO_TBL_VARCHAR2000
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_TBL_VARCHAR2000, status:VALID,
-
TYPE: APPS.PO_TBL_VARCHAR1
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_TBL_VARCHAR1, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
TYPE: APPS.PO_TBL_VARCHAR30
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_TBL_VARCHAR30, status:VALID,
-
PACKAGE: APPS.PO_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_LOG, status:VALID,
-
VIEW: APPS.PO_CLMREQ_DIST_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, object_name:PO_CLMREQ_DIST_DETAILS_V, status:VALID,
-
APPS.PO_LINK_REQ_DIST_PVT dependencies on PO_LINK_REQ_DIST_PVT
12.2.2
-
SYNONYM: APPS.PO_REQUISITION_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_REQUISITION_LINES_ALL, status:VALID,
-
PACKAGE: APPS.PO_MESSAGE_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_MESSAGE_S, status:VALID,
-
PACKAGE: APPS.FND_CURRENCY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
TYPE: APPS.PO_TBL_NUMBER
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_TBL_NUMBER, status:VALID,
-
VIEW: APPS.PO_DISTRIBUTIONS_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_DISTRIBUTIONS_MERGE_V, object_name:PO_DISTRIBUTIONS_MERGE_V, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS_ALL, status:VALID,
-
VIEW: APPS.ORG_ORGANIZATION_DEFINITIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.ORG_ORGANIZATION_DEFINITIONS, object_name:ORG_ORGANIZATION_DEFINITIONS, status:VALID,
-
VIEW: APPS.PO_LINES_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINES_MERGE_V, object_name:PO_LINES_MERGE_V, status:VALID,
-
VIEW: APPS.PO_LINE_LOCATIONS_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_LINE_LOCATIONS_MERGE_V, object_name:PO_LINE_LOCATIONS_MERGE_V, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
PACKAGE BODY: APPS.PO_LINK_REQ_DIST_PVT
12.2.2
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
APPS.PO_LINK_REQ_DIST_PVT dependencies on PO_LOG
12.2.2
-
SYNONYM: PUBLIC.DBMS_SQL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_SQL, status:VALID,