Search Results po_distributions_interface_s
Overview
APPS.JMF_SHIKYU_PO_PVT is a private PL/SQL package body in Oracle E-Business Suite (12.1.1 and 12.2.2) that supports the Shop Floor Manufacturing (JMF) Shikyu replenishment process. "Shikyu" refers to the pull-based, replenishment-driven material supply model used in discrete manufacturing environments, where component demand at the shop floor triggers the creation of purchase orders for externally sourced items. This package encapsulates the business logic required to build and submit replenishment purchase orders through the Oracle Purchasing open interface, rather than inserting directly into the purchasing base tables.
The package is classified as a Private (PVT) API, meaning it is intended for internal use by other JMF Shikyu packages and concurrent programs rather than as a public integration surface. It has no direct database dependents, but it is referenced by another package and depends heavily on the standard Oracle APIs, including FND_API, FND_MSG_PUB, PO_PDOI_UTL, and MO_GLOBAL.
Key Procedures and Functions
The documented package exposes a single public program unit:
- PROCESS_REPLENISHMENT_PO — The main driver procedure that assembles replenishment purchase order data and passes it to the Purchasing open interface. It orchestrates the workflow end to end: identifying the Shikyu component demand, resolving supplier and item attributes, populating the PO interface tables, invoking the Purchasing document import, and handling errors through the FND message stack. It relies on FND_API for the standard API return status and FND_MSG_PUB for message propagation, consistent with the EBS API programming standards.
Tables Accessed
The package reads and writes a focused set of base and interface tables:
- PO_HEADERS_INTERFACE, PO_LINES_INTERFACE, PO_DISTRIBUTIONS_INTERFACE and their corresponding _S serial-sequence synonym views (PO_HEADERS_INTERFACE_S, PO_LINES_INTERFACE_S, PO_DISTRIBUTIONS_INTERFACE_S) — these are the Purchasing open interface staging tables populated by PROCESS_REPLENISHMENT_PO before the standard Purchasing import is executed. The _S variants are synonym-based sequence views used to obtain interface keys.
- PO_HEADERS_ALL, PO_LINES_ALL, PO_LINE_LOCATIONS_ALL — read to validate and reference existing purchasing documents and to resolve line/location attributes used during interface population.
- JMF_SUBCONTRACT_ORDERS, JMF_SHIKYU_COMPONENTS — the JMF Shikyu source data defining the subcontract orders and component requirements that drive replenishment demand.
- MTL_SYSTEM_ITEMS_B — item master attributes (sourcing, units of measure, etc.) required for the interface rows.
- PO_SYSTEM_PARAMETERS_ALL — purchasing system options that govern document defaults and interface processing behavior.
- HR_ALL_ORGANIZATION_UNITS, HR_ORGANIZATION_INFORMATION — organization and inventory/operating unit context.
- FND_USER, GL_SETS_OF_BOOKS — user and ledger context for document creation and validation.
Usage Notes
JMF_SHIKYU_PO_PVT is a private package, so it is not addressed directly by end-user forms. It is typically invoked by the parent Shikyu processing package and by the concurrent program responsible for Shikyu replenishment order generation. Because it uses the Purchasing open interface rather than direct inserts, the standard Purchasing Document Import (PO_PDOI / PO_DISTRIBUTIONS_INTERFACE validation) must run after PROCESS_REPLENISHMENT_PO completes, so interface rows are validated and converted into live purchase orders. The correct execution sequence for a "Shikyu PO" run is: (1) call PROCESS_REPLENISHMENT_PO, (2) invoke the Purchasing open interface import program. Developers extending the Shikyu solution should treat this package as private and follow the ETRM documented dependency graph, using FND_LOG and FND_MSG_PUB behavior for diagnostics.
-
SEQUENCE: PO.PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
owner:PO, object_type:SEQUENCE, object_name:PO_DISTRIBUTIONS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_INTERFACE_S, status:VALID,
-
SEQUENCE: PO.PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
owner:PO, object_type:SEQUENCE, object_name:PO_DISTRIBUTIONS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_INTERFACE_S, status:VALID,
-
PACKAGE BODY: APPS.JMF_SHIKYU_PO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JMF_SHIKYU_PO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CREATE_PO_FROM_K_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CREATE_PO_FROM_K_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKC_CREATE_PO_FROM_K_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CREATE_PO_FROM_K_PVT, status:VALID,
-
PACKAGE BODY: APPS.JMF_SHIKYU_PO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JMF_SHIKYU_PO_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_PROC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CONSUMPTION_ADVICE_PROC, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.INV_CONSUMPTION_ADVICE_PROC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CONSUMPTION_ADVICE_PROC, status:VALID,
-
PACKAGE BODY: APPS.PO_NEGOTIATIONS_SV2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_NEGOTIATIONS_SV2, status:VALID,
-
PACKAGE BODY: APPS.PO_PDOI_PREPROC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_PDOI_PREPROC_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_NEGOTIATIONS_SV2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_NEGOTIATIONS_SV2, status:VALID,
-
PACKAGE BODY: APPS.AHL_OSP_PO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_OSP_PO_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_OSP_PO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_OSP_PO_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_AUTO_LINE_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_AUTO_LINE_PROCESS_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PO_INTERFACE_S
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_INTERFACE_S, status:VALID,
-
PACKAGE BODY: APPS.PO_INTERFACE_S
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_INTERFACE_S, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.PO_INTERFACE_S dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
-
APPS.PO_NEGOTIATIONS_SV2 dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
-
APPS.JMF_SHIKYU_PO_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
-
APPS.JMF_SHIKYU_PO_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
APPS.PO_NEGOTIATIONS_SV2 dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
APPS.INV_CONSUMPTION_ADVICE_PROC dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
APPS.OKC_CREATE_PO_FROM_K_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
-
APPS.AHL_OSP_PO_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
-
APPS.INV_CONSUMPTION_ADVICE_PROC dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.1.1
-
APPS.PO_INTERFACE_S dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
APPS.PO_AUTO_LINE_PROCESS_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
APPS.OKC_CREATE_PO_FROM_K_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
APPS.PO_PDOI_PREPROC_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
APPS.AHL_OSP_PO_PVT dependencies on PO_DISTRIBUTIONS_INTERFACE_S
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1