Search Results wsh_util_validate




Overview

WSH_UTIL_VALIDATE is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the Shipping Execution (WSH) product family and serves as the central reusable validation library for the Oracle Shipping module. Its business purpose is to enforce data integrity and business-rule conformance before shipping data is written to the database or before shipping transactions are processed further. Rather than embedding validation logic redundantly in forms, concurrent programs, and public APIs, Oracle consolidates these checks in a single package so that consistent error messages and lookup-based rules are applied uniformly across the Order Management, Shipping, and Warehouse Management flows.

The package body is documented as VALID and carries an API classification of OTHER in the ETRM 12.2.2 repository. It exposes 50 documented procedures and functions, and it is referenced by 43 other packages, confirming its role as a low-level utility layer rather than an application entry point.

Key Procedures and Functions

The documented validation routines cover the principal shipping attributes:

All routines follow the FND_API convention of returning a standard success/error flag and populating a message stack through FND_MESSAGE, allowing callers to surface translated error text.

Tables Accessed

The package reads and, where appropriate, references master and transactional shipping data through APPS synonyms. Documented tables include FND_USER, HR_LOCATIONS_ALL, HR_LOCATIONS_ALL_TL, HZ_CUST_ACCOUNTS, HZ_CUST_ACCOUNT_ROLES, HZ_PARTY_SITES, HZ_PARTY_SITE_USES, MTL_CUSTOMER_ITEMS, MTL_PARAMETERS, MTL_SYSTEM_ITEMS, MTL_UNITS_OF_MEASURE, WSH_CARRIERS, WSH_CARRIER_SERVICES, WSH_LOCATIONS, and WSH_NEW_DELIVERIES. Additional dependencies include WSH_TRIPS, WSH_TRIP_STOPS, WSH_PICKING_BATCHES, WSH_SHIPPING_PARAMETERS, WSH_ORG_CARRIER_SERVICES, and WSH_SHIP_CONFIRM_RULES, together with lookup views such as AR_LOOKUPS, OE_LOOKUPS, and FND_LOOKUP_VALUES_VL. These are predominantly read operations used to confirm existence, status, and enabled flags before downstream transactions proceed.

Usage Notes

WSH_UTIL_VALIDATE is not invoked directly by end users. It is called internally by Shipping forms, concurrent programs, and public APIs such as WSH_DELIVERY_PUB and WSH_TRIPS_PVT. Custom development that extends shipping functionality should call these routines rather than reimplementing validation logic, ensuring consistent error handling. Because the package body depends on FND_API, FND_FLEX_KEY_API, WSH_DEBUG_SV, and WSH_UTIL_CORE, recompilation must occur after related Oracle patches, and its VALID status should be monitored following upgrades.