Results for “wsh_delivery_autocreate”

50+ results




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

Overview

WSH_DELIVERY_AUTOCREATE is a PL/SQL package in the APPS schema that drives the automatic creation of Oracle Shipping execution deliveries from eligible order, trip, and inventory data. Its central purpose is to consolidate delivery details into new or existing deliveries according to grouping rules, matching attributes, and scheduling constraints, thereby removing the need for manual delivery assembly in high-volume fulfillment operations. The package is classified as an OTHER API in the ETRM documentation for 12.1.1 and 12.2.2 and holds a VALID status, confirming it is a supported and active component of the shipping module.

Functionally, WSH_DELIVERY_AUTOCREATE sits at the intersection of order management, inventory, and transportation. It evaluates candidate delivery details, determines whether their requested and scheduled dates align, computes grouping hashes, and either assigns them to matching deliveries or creates new deliveries as required. It also performs housekeeping by deleting empty deliveries and unassigning obsolete containers. The package is referenced by twenty-three other packages, underscoring its role as a foundational utility within the WSH product family.

Key Procedures and Functions

The documented interface exposes twelve procedures and functions, each supporting a distinct phase of the auto-create lifecycle:

Tables Accessed

The package reads and writes several core shipping tables through APPS synonyms. WSH_DELIVERY_DETAILS provides the source lines evaluated for grouping and assignment, while WSH_NEW_DELIVERIES and WSH_DELIVERY_ASSIGNMENTS hold the deliveries and detail-to-delivery relationships created or updated during processing. WSH_DELIVERY_LEGS and WSH_TRIPS, together with WSH_TRIP_STOPS, support trip and stop-level scheduling context. WSH_MATCH_GROUP_S persists matching-group definitions, and WSH_TMP serves as the transient work area reset by RESET_WSH_TMP. MTL_CLIENT_PARAMETERS supplies client-level configuration. Utility dependencies include DBMS_LOCK and DBMS_UTILITY for concurrency control and diagnostics, DUAL for scalar queries, and PLITBLM for PL/SQL table handling.

Usage Notes

WSH_DELIVERY_AUTOCREATE is typically invoked indirectly rather than called directly by end users. The AutoCreate Deliveries concurrent program, the Shipping Transactions form, and the Pick Release process all rely on this package to assemble deliveries. It is also called by integration flows such as WSH_INTEGRATION and by trip and container actions through WSH_TRIPS_ACTIONS, WSH_CONTAINER_ACTIONS, and WSH_NEW_DELIVERY_ACTIONS — the latter being the object many users locate when searching for wsh_new_delivery_actions. Custom extensions may call the documented procedures directly, but doing so requires careful attention to commit points and locking, since the package uses DBMS_LOCK to serialize concurrent auto-create runs. Because it is referenced by FTE_MLS_WRAPPER, FTE_SOURCE_LINE_CONSOLIDATION, and WMS_CROSS_DOCK_PVT, changes to its behavior can propagate into fulfillment, warehouse management, and cross-dock processes.