Results for “sync_prorated_lpns_to_wms”

8 results




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

Overview

WSH_LPN_SYNC_COMM_PKG is an Oracle EBS Applications (APPS) PL/SQL package body that supports Logistics and Warehouse Management integration within the Oracle WMS and Oracle Shipping (WSH) modules. Its primary business function is to synchronize License Plate Numbers (LPNs) — the uniquely identified containers used to group and track material in a warehouse — between the shipping execution layer and the warehouse management execution layer. LPN synchronization is essential in environments where Oracle Warehouse Management (WMS) is deployed, because shipping transactions and warehouse container operations must share a consistent view of LPN contents, parent-child container hierarchies, and inventory associations.

The package is classified as an API of type OTHER, indicating it is an internal integration utility rather than a formally published public API. It is documented under ETRM for both Oracle EBS 12.1.1 and 12.2.2 and carries a VALID status in the APPS schema. The package body is not referenced by any other database object, confirming that it acts as a consumer of services provided by WMS and WSH utility packages, rather than being called as a dependency by downstream objects.

Key Procedures and Functions

The documented package exposes two procedures:

  • SYNC_LPNS_TO_WMS — Transmits LPN information from the shipping execution context into the WMS layer so that warehouse container records reflect the LPNs associated with delivery details. This procedure is the standard entry point for pushing LPN state to the WMS container group.
  • SYNC_PRORATED_LPNS_TO_WMS — Handles the synchronization of LPNs whose contents are prorated across deliveries or delivery details. Proration occurs when a single LPN's quantity is distributed among multiple delivery lines, requiring the amount of inventory attributable to each delivery to be communicated to WMS in proportional terms.

Parameter lists are not disclosed in the documented metadata and are intentionally not reproduced here. Both procedures rely on the standard Oracle API conventions, returning status and message outputs consistent with the FND_API framework.

Tables Accessed

Dependency data and documented table references identify the following objects accessed via APPS synonyms:

  • WSH_DELIVERY_DETAILS — The core shipping table holding delivery line detail. LPN-to-delivery associations are read to determine which LPNs must be synchronized.
  • WSH_WMS_SYNC_TMP — A temporary staging table used to collect synchronization payloads before transmission to WMS. It temporarily holds the LPN records to be published.
  • PLITBLM — A public PL/SQL table type used for in-memory collection handling during the synchronization process.
  • WSH_DELIVERY_ASSIGNMENTS_V — A view providing delivery assignment context for the LPN records being processed.

Additional dependencies include WMS_CONTAINER_GRP, WMS_DATA_TYPE_DEFINITIONS_PUB, WSH_WMS_LPN_GRP, WSH_UTIL_CORE, WSH_DEBUG_INTERFACE and WSH_DEBUG_SV, through which the package invokes WMS container services, data type conversions, global variable structures, and debug logging.

Usage Notes

WSH_LPN_SYNC_COMM_PKG is invoked during shipping and warehouse execution flows that require LPN status to be reflected in both the WSH delivery record and the WMS container hierarchy. Typical invocation points include delivery confirmation, shipment creation, and container movement processing where LPN synchronization must occur. Because the package is an internal utility rather than a publicly documented API, it is generally not intended for direct call by custom code; integration is normally triggered through standard WMS/WSH processing and concurrent programs.

The procedures should be called with the standard FND_API parameter conventions, and callers should inspect the returned status and message values to detect failures. Given its dependency on debug utilities, it can be instrumented with WSH debug logging during troubleshooting. The package is referenced by 18 other database objects, confirming its role as a shared synchronization component within the Oracle Logistics integration layer; changes to it should be validated against all dependent objects.