Search Results deliver_to_location_code




Overview

WSH_DEL_DTL_ASSGN_V is a Shipping Execution (WSH) view owned by the APPS schema. It is a denormalized, read-only join that simultaneously exposes both delivery-assignment interface data and delivery-detail interface data within a single flattened structure. In Oracle EBS 12.1.1 and 12.2.2 this view is primarily used during the inbound shipping interface cycle, where external systems or staged flat-file loaders populate the interface tables before the Shipping Execution concurrent programs (such as the Delivery Interface or Ship Confirm Interface) validate and transfer the records into the operational delivery tables.

The view answers the question of which delivery-detail interface rows belong to which delivery-assignment interface row, and enriches each line with the full set of shipment, address, quantity, weight, volume, and descriptive-flexfield attributes stored on the detail interface record. For users searching on deliver_to_location_code, the view is relevant because the deliver-to address handling is carried on the detail interface side through DELIVER_TO_LOCATION_ID; the corresponding descriptive code is normally resolved by joining to the location table hierarchy, not stored directly in this view.

Underlying Base Objects

The ETRM documentation identifies two referenced base objects, both exposed as synonyms:

The view is defined as a join between these two interface entities: the assignment record provides the delivery grouping key (DELIVERY_INTERFACE_ID), while the detail record provides the line-level content (DELIVERY_DETAIL_INTERFACE_ID, DELIVERY_DETAIL_ID, and all shipment attributes). Because it is a view over interface tables, it is transient by nature — records exist only during active interface processing and are purged or archived after the Shipping Execution interface programs consume them.

Key Columns

Common Use Cases and Queries

The principal use case is troubleshooting and validating staged interface records prior to running the Delivery Interface. Users typically query the view to confirm that detail records are correctly parented to an assignment, and to resolve the deliver-to location identifier.

SELECT v.delivery_interface_id,
       v.delivery_detail_interface_id,
       v.deliver_to_location_id,
       v.ship_to_location_id,
       v.inventory_item_id,
       v.requested_quantity,
       v.date_scheduled
FROM   apps.wsh_del_dtl_assgn_v v
WHERE  v.delivery_interface_id = :p_delivery_interface_id;

To translate DELIVER_TO_LOCATION_ID into the human-readable deliver-to location code, join the location tables:

SELECT v.delivery_detail_interface_id,
       v.deliver_to_location_id,
       h.location_code
FROM   apps.wsh_del_dtl_assgn_v v,
       apps.hr_locations_all    h
WHERE  v.deliver_to_location_id = h.location_id;

Additional scenarios include detecting staging rows with missing or invalid location identifiers before interface submission, reconciling requested versus scheduled quantities, and auditing trading-partner descriptive flexfield values carried on the detail interface record.