Search Results ra_site_uses_all




Overview

WSH_DELIVERY_LINES_DPW_V is a reporting view in the Oracle E-Business Suite Order Entry (OE) module that exposes delivery line information specifically structured for the Departure Planning Workbench (DPW). The Departure Planning Workbench is the shipping execution interface in Oracle Shipping (WSH) that allows planners and warehouse personnel to group delivery lines into departures — logical shipments scheduled to leave a warehouse on a planned departure date. This view presents one row per delivery line detail ranked with its associated departure, delivery, order header, and shipping attributes, providing the data foundation that the DPW form and its associated concurrent programs consume.

The view is not implemented as a physical database object in every environment; ETRM documentation for 12.2.2 notes it as "Not implemented in this database." Consequently, it is referenced primarily by Oracle Forms and internal shipping logic rather than by customer-written reports, and it should be treated as a read-only, Oracle-owned object. Its principal value to technical consultants is as a reference for the column-level semantics of delivery line data during departure planning.

Underlying Base Objects

The view is defined over a set of Shipping Execution and Order Management tables, joined to produce a flattened delivery-line-plus-departure record. The documented view text references the following base objects:

  • WSH_DELIVERY_DETAILS (aliased SLD) — the driving table, supplying line_detail_id, delivery_id, departure_id, warehouse_id, item, lot, revision, subinventory, quantity, and scheduling attributes.
  • WSH_DELIVERY_ASSIGNMENTS (SLD/SL relationship) and WSH_NEW_DELIVERIES (DEL) — delivery header context, including delivery name, status code, and pooled ship-to.
  • WSH_TRIPS or WSH_DEPARTURES (DEP) — departure name, status, and planned departure date.
  • OE_ORDER_HEADERS_ALL (SH) — order number, order type, customer, currency, FOB, freight terms, and open flag.
  • OE_ORDER_LINES_ALL (SL) — line number, ship-to and intermediate ship-to site uses, ship method, model/serial attributes, parent line linkage, and descriptive flexfield segments.
  • HZ_CUST_ACCOUNTS / customer tables (CUST) and location tables (USHIP, ISHIP, PSHIP) — customer name and location descriptions for the ship-to chain.
  • WIP_ENTITIES (WIP) — manufacturing work order name for ATO/configured items.
  • OE_ORDER_SOURCES or order type tables (SOTA) — order type name.
  • WSH_ITEM_ATTRIBUTES or item default tables (SLA) — industry context and industry attribute flexfield columns used for DPW planning.

The join produces one row per delivery line detail, with departure and delivery header data denormalised onto each row.

Key Columns

Common Use Cases and Queries

Because the view is Oracle-owned and used by the Departure Planning Workbench, direct customer queries are uncommon, but it is frequently inspected for troubleshooting departure planning behaviour and for building custom DPW-style reports. A representative query listing unplanned delivery lines by warehouse is:

SELECT departure_id, delivery_id, order_number, line_number,
       inventory_item_id, quantity, planned_departure_date,
       dep_plan_required_flag, dpw_assigned_flag
  FROM wsh_delivery_lines_dpw_v
 WHERE warehouse_id = :warehouse_id
   AND NVL(dpw_assigned_flag,'N') = 'N'
 ORDER BY planned_departure_date, load_seq_number;

Another common scenario is identifying lines attached to a departure with a given status:

SELECT dd.name delivery, d2.name departure, h.order_number,
       dl.line_number, dl.quantity
  FROM wsh_delivery_lines_dpw_v dl,
       wsh_delivery_details dd,
       oe_order_headers_all h
 WHERE dl.delivery_id = dd.delivery_id
   AND dl.header_id = h.header_id
   AND dl.status_code = :departure_status;

The view is also used to confirm that lines have been correctly flagged for departure planning after order booking, and to reconcile departure assignments during deployment or upgrade validation.