Search Results wsh_freight_costs_interface_n2




Overview

WSH.WSH_FREIGHT_COSTS_INTERFACE is the Oracle Shipping (WSH) open interface table used to load freight cost records into Oracle E-Business Suite Release 12.1.1 and 12.2.2. It acts as the staging area for transportation and freight charge data that must be validated and imported into the operational freight cost tables during the delivery, trip, and delivery-leg processing cycle. Records placed in this table are read by the concurrent freight cost import program, which resolves the interface surrogate keys to their corresponding operational identifiers and inserts the resulting rows into the production freight cost structures. The table resides in the APPS_TS_INTERFACE tablespace with a PCTFREE of 10 and carries the standard Oracle Applications internal-use warning: it is not supported for direct access except through standard Oracle Applications programs.

Under a heuristic Data Vault classification, this object models as a standalone interface structure rather than as a hub, link, or satellite. Although it contains foreign keys to several operational interfaces, the metadata reports no incoming relationships and no dependent child tables, so it is best treated as a staging entity whose lifecycle is transient.

Key Information Stored

The surrogate primary key is FREIGHT_COST_INTERFACE_ID, enforced by the unique index WSH_FREIGHT_COSTS_INTERFACE_U1 and backed by the constraint SYS_C00191604. This is the documented business-key candidate and the column the import process uses to identify each interface row. No alternate unique index exists on the table, so uniqueness is guaranteed only on this surrogate column.

Fifteen ATTRIBUTE columns provide a configurable descriptive flexfield, preceded by ATTRIBUTE_CATEGORY. The table also carries WHO audit columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN) and concurrent program context columns (PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, REQUEST_ID).

Common Use Cases and Queries

The dominant use case is populating the interface from an external transportation management system or legacy load, then submitting the freight cost import concurrent program. A typical staged load supplies the interface keys plus the cost attributes, leaving the resolved operational IDs null until processing.

To review records pending import:

  • SELECT FREIGHT_COST_INTERFACE_ID, FREIGHT_COST_TYPE_CODE, TOTAL_AMOUNT, CURRENCY_CODE, PROCESS_FLAG, PROCESS_STATUS_FLAG FROM WSH.WSH_FREIGHT_COSTS_INTERFACE WHERE PROCESS_FLAG IS NULL OR PROCESS_STATUS_FLAG = 'ERROR';

To reconcile staged costs back to their delivery and trip interface parents before import:

  • SELECT f.FREIGHT_COST_INTERFACE_ID, f.DELIVERY_INTERFACE_ID, f.DELIVERY_DETAIL_INTERFACE_ID, f.TRIP_INTERFACE_ID, f.STOP_INTERFACE_ID FROM WSH.WSH_FREIGHT_COSTS_INTERFACE f WHERE f.DELIVERY_LEG_INTERFACE_ID = :leg_id;

Reporting queries frequently join to the resolved operational tables once TRIP_ID, DELIVERY_ID, and DELIVERY_LEG_ID are populated, enabling variance analysis between the charged and actual freight amounts per delivery leg. Error diagnostics commonly filter on PROCESS_STATUS_FLAG and join back to the parent interface rows using the nonunique indexes WSH_FREIGHT_COSTS_INTERFACE_N1 (DELIVERY_DETAIL_INTERFACE_ID) and WSH_FREIGHT_COSTS_INTERFACE_N2 (DELIVERY_INTERFACE_ID).

Related Objects

The table is heavily referenced outward, and the following relationships are the most significant for troubleshooting and data extraction:

The table is maintained exclusively through the standard Oracle freight cost import API and concurrent program rather than by direct DML, consistent with the internal-use-only restriction documented for this object.