Search Results wsh_delivery_legs
Overview
The WSH_DELIVERY_LEGS table is a core data object within the Oracle E-Business Suite Shipping Execution (WSH) module. It serves as the master table for storing delivery leg information, which represents a discrete segment of a shipment's journey. A delivery leg is defined as the movement of goods from a specific pick-up location (stop) to a specific drop-off location (stop) within the context of a larger trip. This table is fundamental for modeling multi-stop shipments, where a single delivery may be transported across multiple legs, potentially involving different carriers or modes of transport. It acts as the central link between a delivery, its assigned trip stops, and associated freight cost details, enabling detailed tracking and costing of the shipment process.
Key Information Stored
The table's primary identifier is the DELIVERY_LEG_ID. Its most critical columns establish relationships to other key shipping entities. The DELIVERY_ID column links the leg to its parent delivery in the WSH_NEW_DELIVERIES table. The PICK_UP_STOP_ID and DROP_OFF_STOP_ID columns define the leg's start and end points by referencing specific stops in the WSH_TRIP_STOPS table. While the provided metadata does not list all columns, typical implementations include attributes to record planned and actual departure/arrival dates, the leg sequence number, carrier and service level information, and status flags. This structure allows the system to manage the routing, scheduling, and execution status for each segment of a delivery.
Common Use Cases and Queries
This table is central to operational reporting and process inquiries within Shipping Execution. A common use case is generating a shipment itinerary or trip manifest, which requires joining delivery leg data with stop and delivery details. For troubleshooting, analysts query this table to identify legs associated with a delayed delivery or to audit freight costs assigned to specific shipment segments. Sample SQL to list all legs for a delivery, including stop locations, would be:
- SELECT wdl.delivery_leg_id, wdl.delivery_id, wps.location_id pick_up_location, wds.location_id drop_off_location FROM wsh_delivery_legs wdl, wsh_trip_stops wps, wsh_trip_stops wds WHERE wdl.pick_up_stop_id = wps.stop_id AND wdl.drop_off_stop_id = wds.stop_id AND wdl.delivery_id = :p_delivery_id ORDER BY wdl.sequence_number;
Another critical use case is interfacing, as the WSH_DEL_LEGS_INTERFACE table feeds data into this base table during the shipping transaction import process.
Related Objects
The WSH_DELIVERY_LEGS table maintains documented foreign key relationships with several other WSH tables, as per the provided metadata:
- WSH_NEW_DELIVERIES: The DELIVERY_ID column references this table, linking the leg to its parent delivery.
- WSH_TRIP_STOPS: Referenced twice, via PICK_UP_STOP_ID and DROP_OFF_STOP_ID, to define the leg's origin and destination stops on a trip.
- WSH_DEL_LEGS_INTERFACE: Serves as the source interface table, where its DELIVERY_LEG_ID can reference a leg created via the interface process.
- WSH_FREIGHT_COSTS: The DELIVERY_LEG_ID in this cost table references WSH_DELIVERY_LEGS, allowing freight charges to be allocated at the individual leg level.
These relationships underscore the table's role as a nexus between delivery planning, trip scheduling, and freight costing.
-
Table: WSH_DELIVERY_LEGS
12.2.2
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_DELIVERY_LEGS, object_name:WSH_DELIVERY_LEGS, status:VALID, product: WSH - Shipping Execution , description: Delivery Legs , implementation_dba_data: WSH.WSH_DELIVERY_LEGS ,
-
Table: WSH_DELIVERY_LEGS
12.1.1
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_DELIVERY_LEGS, object_name:WSH_DELIVERY_LEGS, status:VALID, product: WSH - Shipping Execution , description: Delivery Legs , implementation_dba_data: WSH.WSH_DELIVERY_LEGS ,
-
Table: WSH_TRIP_STOPS
12.1.1
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_TRIP_STOPS, object_name:WSH_TRIP_STOPS, status:VALID, product: WSH - Shipping Execution , description: Trip Stops , implementation_dba_data: WSH.WSH_TRIP_STOPS ,
-
Table: WSH_TRIP_STOPS
12.2.2
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_TRIP_STOPS, object_name:WSH_TRIP_STOPS, status:VALID, product: WSH - Shipping Execution , description: Trip Stops , implementation_dba_data: WSH.WSH_TRIP_STOPS ,
-
View: WSH_PURGE_SET_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PURGE_SET_V, object_name:WSH_PURGE_SET_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_PURGE_SET_V ,
-
View: WSH_INV_DELIVERY_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_INV_DELIVERY_DETAILS_V, object_name:WSH_INV_DELIVERY_DETAILS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_INV_DELIVERY_DETAILS_V ,
-
View: WSH_INV_DELIVERY_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_INV_DELIVERY_DETAILS_V, object_name:WSH_INV_DELIVERY_DETAILS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_INV_DELIVERY_DETAILS_V ,
-
View: WSH_POD_CARGO_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_POD_CARGO_V, object_name:WSH_POD_CARGO_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_POD_CARGO_V ,
-
View: WSH_POD_CARGO_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_POD_CARGO_V, object_name:WSH_POD_CARGO_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_POD_CARGO_V ,
-
Table: WSH_FREIGHT_COSTS
12.1.1
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_FREIGHT_COSTS, object_name:WSH_FREIGHT_COSTS, status:VALID, product: WSH - Shipping Execution , description: Freight Costs , implementation_dba_data: WSH.WSH_FREIGHT_COSTS ,
-
Table: WSH_DEL_LEGS_INTERFACE
12.1.1
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_DEL_LEGS_INTERFACE, object_name:WSH_DEL_LEGS_INTERFACE, status:VALID, product: WSH - Shipping Execution , description: Delivery Legs Interface Table , implementation_dba_data: WSH.WSH_DEL_LEGS_INTERFACE ,
-
Table: WSH_DEL_LEGS_INTERFACE
12.2.2
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_DEL_LEGS_INTERFACE, object_name:WSH_DEL_LEGS_INTERFACE, status:VALID, product: WSH - Shipping Execution , description: Delivery Legs Interface Table , implementation_dba_data: WSH.WSH_DEL_LEGS_INTERFACE ,
-
View: WSH_BACKORDER_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_BACKORDER_LINES_V, object_name:WSH_BACKORDER_LINES_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_BACKORDER_LINES_V ,
-
View: WSH_SRS_DSNO_TRIP_STOPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_SRS_DSNO_TRIP_STOPS_V, object_name:WSH_SRS_DSNO_TRIP_STOPS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_SRS_DSNO_TRIP_STOPS_V ,
-
View: WSH_BACKORDER_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_BACKORDER_LINES_V, object_name:WSH_BACKORDER_LINES_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_BACKORDER_LINES_V ,
-
View: WSH_SRS_DSNO_TRIP_STOPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_SRS_DSNO_TRIP_STOPS_V, object_name:WSH_SRS_DSNO_TRIP_STOPS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_SRS_DSNO_TRIP_STOPS_V ,
-
View: WSH_DELIVERY_STOPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERY_STOPS_V, object_name:WSH_DELIVERY_STOPS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_DELIVERY_STOPS_V ,
-
View: WSH_BOLS_DB_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_BOLS_DB_V, object_name:WSH_BOLS_DB_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_BOLS_DB_V ,
-
Table: WSH_FREIGHT_COSTS
12.2.2
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_FREIGHT_COSTS, object_name:WSH_FREIGHT_COSTS, status:VALID, product: WSH - Shipping Execution , description: Freight Costs , implementation_dba_data: WSH.WSH_FREIGHT_COSTS ,
-
View: WSH_DELIVERY_STOPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERY_STOPS_V, object_name:WSH_DELIVERY_STOPS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_DELIVERY_STOPS_V ,
-
View: WSH_BOLS_DB_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_BOLS_DB_V, object_name:WSH_BOLS_DB_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_BOLS_DB_V ,
-
Table: WSH_NEW_DELIVERIES
12.1.1
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_NEW_DELIVERIES, object_name:WSH_NEW_DELIVERIES, status:VALID, product: WSH - Shipping Execution , description: Deliveries , implementation_dba_data: WSH.WSH_NEW_DELIVERIES ,
-
View: WSHBV_DELIVERY_LEGS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DELIVERY_LEGS, object_name:WSHBV_DELIVERY_LEGS, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DELIVERY_LEGS ,
-
View: WSH_PACKING_SLIPS_DB_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PACKING_SLIPS_DB_V, object_name:WSH_PACKING_SLIPS_DB_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_PACKING_SLIPS_DB_V ,
-
View: WSHBV_DELIVERY_LEGS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DELIVERY_LEGS, object_name:WSHBV_DELIVERY_LEGS, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DELIVERY_LEGS ,
-
Table: WSH_NEW_DELIVERIES
12.2.2
owner:WSH, object_type:TABLE, fnd_design_data:WSH.WSH_NEW_DELIVERIES, object_name:WSH_NEW_DELIVERIES, status:VALID, product: WSH - Shipping Execution , description: Deliveries , implementation_dba_data: WSH.WSH_NEW_DELIVERIES ,
-
View: WSH_PACKING_SLIPS_DB_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PACKING_SLIPS_DB_V, object_name:WSH_PACKING_SLIPS_DB_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_PACKING_SLIPS_DB_V ,
-
View: WSH_SHIPPING_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.WSH_SHIPPING_DETAILS_V WSH.WSH_SHIPPING_DETAILS_V, object_name:WSH_SHIPPING_DETAILS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_SHIPPING_DETAILS_V ,
-
View: WSH_SHIPPING_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.WSH_SHIPPING_DETAILS_V WSH.WSH_SHIPPING_DETAILS_V, object_name:WSH_SHIPPING_DETAILS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_SHIPPING_DETAILS_V ,
-
View: WSH_DELIVERABLE_STOPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERABLE_STOPS_V, object_name:WSH_DELIVERABLE_STOPS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_DELIVERABLE_STOPS_V ,
-
View: WSH_POD_DETAIL_V
12.1.1
product: WSH - Shipping Execution , implementation_dba_data: Not implemented in this database ,
-
View: WSH_DELIVERABLE_STOPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERABLE_STOPS_V, object_name:WSH_DELIVERABLE_STOPS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_DELIVERABLE_STOPS_V ,
-
View: WSH_POD_DETAIL_V
12.2.2
product: WSH - Shipping Execution , implementation_dba_data: Not implemented in this database ,
-
View: WSH_BOLS_RD_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_BOLS_RD_V, object_name:WSH_BOLS_RD_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_BOLS_RD_V ,
-
View: WSH_BOLS_RD_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_BOLS_RD_V, object_name:WSH_BOLS_RD_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_BOLS_RD_V ,
-
View: WSH_POD_SUMMARY_V
12.1.1
product: WSH - Shipping Execution , implementation_dba_data: Not implemented in this database ,
-
View: WSH_POD_SUMMARY_V
12.2.2
product: WSH - Shipping Execution , implementation_dba_data: Not implemented in this database ,
-
View: WSH_PICKING_BATCHES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PICKING_BATCHES_V, object_name:WSH_PICKING_BATCHES_V, status:VALID, product: WSH - Shipping Execution , description: /* Bug: 1924581 , HR_LOCATION changes made on 8/15/01 , implementation_dba_data: APPS.WSH_PICKING_BATCHES_V ,
-
View: WSHFV_DELIVERY_LEGS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DELIVERY_LEGS, object_name:WSHFV_DELIVERY_LEGS, status:VALID, product: WSH - Shipping Execution , description: Full BIS Business View for Delivery Legs , implementation_dba_data: APPS.WSHFV_DELIVERY_LEGS ,
-
View: WSHFV_DELIVERY_LEGS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DELIVERY_LEGS, object_name:WSHFV_DELIVERY_LEGS, status:VALID, product: WSH - Shipping Execution , description: Full BIS Business View for Delivery Legs , implementation_dba_data: APPS.WSHFV_DELIVERY_LEGS ,
-
View: WSHBV_DOCUMENT_PACKSLIP
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DOCUMENT_PACKSLIP, object_name:WSHBV_DOCUMENT_PACKSLIP, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DOCUMENT_PACKSLIP ,
-
View: WSHBV_DOCUMENT_BOL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DOCUMENT_BOL, object_name:WSHBV_DOCUMENT_BOL, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DOCUMENT_BOL ,
-
View: WSHBV_DOCUMENT_PACKSLIP
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DOCUMENT_PACKSLIP, object_name:WSHBV_DOCUMENT_PACKSLIP, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DOCUMENT_PACKSLIP ,
-
View: WSHBV_DOCUMENT_BOL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DOCUMENT_BOL, object_name:WSHBV_DOCUMENT_BOL, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DOCUMENT_BOL ,
-
View: WSHFV_DOCUMENT_PACKSLIP
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DOCUMENT_PACKSLIP, object_name:WSHFV_DOCUMENT_PACKSLIP, status:VALID, product: WSH - Shipping Execution , description: Full BIS Business View of Document Instances for Pack Slip. , implementation_dba_data: APPS.WSHFV_DOCUMENT_PACKSLIP ,
-
View: WSH_PICKING_BATCHES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_PICKING_BATCHES_V, object_name:WSH_PICKING_BATCHES_V, status:VALID, product: WSH - Shipping Execution , description: /* Bug: 1924581 , HR_LOCATION changes made on 8/15/01 , implementation_dba_data: APPS.WSH_PICKING_BATCHES_V ,
-
View: WSHFV_DOCUMENT_PACKSLIP
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DOCUMENT_PACKSLIP, object_name:WSHFV_DOCUMENT_PACKSLIP, status:VALID, product: WSH - Shipping Execution , description: Full BIS Business View of Document Instances for Pack Slip. , implementation_dba_data: APPS.WSHFV_DOCUMENT_PACKSLIP ,
-
View: WSHFV_DOCUMENT_BOL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DOCUMENT_BOL, object_name:WSHFV_DOCUMENT_BOL, status:VALID, product: WSH - Shipping Execution , description: Full BIS Business View of Document Instances for Bill of Lading. , implementation_dba_data: APPS.WSHFV_DOCUMENT_BOL ,
-
View: WSHFV_DOCUMENT_BOL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DOCUMENT_BOL, object_name:WSHFV_DOCUMENT_BOL, status:VALID, product: WSH - Shipping Execution , description: Full BIS Business View of Document Instances for Bill of Lading. , implementation_dba_data: APPS.WSHFV_DOCUMENT_BOL ,
-
View: WSH_STOP_DELIVERIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_STOP_DELIVERIES_V, object_name:WSH_STOP_DELIVERIES_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_STOP_DELIVERIES_V ,