Results for “wsh_trip_validations”

50+ results




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

Overview

WSH_TRIP_VALIDATIONS is an Oracle EBS Logistics (Shipping Execution) validation package owned by the APPS schema. It encapsulates the business rules that govern state transitions on a trip within the Transportation and Shipping Execution module. Its core purpose is to verify that the pre-requisites for a requested action — planning, unplanning, closing, deleting, carrier change, stop arrival or closure, and trip assignment — have been satisfied before the action is permitted to proceed. Each procedure returns an outcome status through a standard x_return_status out parameter so that the calling form, workflow, or API can decide whether to continue, warn, or halt. The package is a documented, API-classified object (classified as OTHER rather than a public business API) and is referenced by thirteen other packages, indicating that it functions as a shared validation service across the Shipping Execution code base in both 12.1.1 and 12.2.2.

Key Procedures and Functions

The package exposes twenty-four documented procedures and functions. The procedures most relevant to trip action control include:

Tables Accessed

WSH_TRIP_VALIDATIONS reads and in limited cases writes the following documented tables, accessed through APPS synonyms:

  • WSH_TRIPS — the primary entity being validated; its status and planning flags drive nearly every check.
  • WSH_TRIP_STOPS — supplies stop count, stop sequence, and stop status used by CHECK_PLAN, CHECK_TRIP_CLOSE, and stop-level validations.
  • WSH_DELIVERY_LEGS and WSH_NEW_DELIVERIES — used to establish which deliveries are attached to the trip and to support inbound/outbound delivery checks.
  • WSH_FREIGHT_COSTS — consulted during planning and carrier-related validation because freight cost data is recalculated on planning.
  • WSH_SHIPPING_PARAMETERS — provides Shipping Execution profile/setup values that influence whether an action is permitted.
  • MTL_SYSTEM_ITEMS — supplies item attributes used in weight/volume and delivery validation.
  • DUAL and PLITBLM — used for single-row selection and PL/SQL table management supporting the action table and disabled-list logic.

Usage Notes

WSH_TRIP_VALIDATIONS is normally invoked indirectly rather than called directly by end users. In the Shipping Execution forms (for example the Trip and Stop maintenance and Trip Planning windows), the form's pre-action triggers call the appropriate CHECK_* procedure before executing the underlying action, and use the returned status to enable or disable buttons and to raise warnings. Given that the package is referenced by thirteen other packages, it is also a common dependency of workflow activities, concurrent programs, and other Shipping Execution packages that need a consistent enforcement point for trip state rules. Customizations and extensions that manipulate trips programmatically should call the matching validation routine before performing the action, and should honor both error and warning outcomes returned through x_return_status; bypassing these checks risks corrupting trip status, stop sequences, and freight cost data. Because the object is classified as OTHER rather than a committed public API, its signature should be treated as internal and subject to change between releases.