Skip to the content.

WSH Commercial Invoice – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Shipping Execution · all Shipping Execution reports

Overview

Shipping commercial invoice report showing delivery details including shipped items, quantities, unit costs, extended costs, ship-from/ship-to addresses, freight information, and bill of lading details. Blitz version of the Oracle standard Commercial Invoice (XML) concurrent program WSHRDINV_XML. DB package: WSH_WSHRDINV_XMLP_PKG

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Trip Stop, Stop Planned Depart Date (Low), Stop Planned Depart Date (High), Freight Carrier, Warehouse, Delivery Name, Currency Code, Item Display, DFF Display, Print Customer Item

Oracle EBS Tables Used

wsh_carrier_services, wsh_delivery_assignments_v, wsh_delivery_details, wsh_bols_rd_v, hz_party_site_uses, hz_party_sites, hz_parties, hz_cust_site_uses_all, hz_cust_acct_sites_all, hz_cust_account_roles, hz_relationships, mtl_system_items_vl, mtl_categories_kfv, mtl_item_categories, mtl_category_sets_vl, oe_order_lines_all, oke_k_deliverables_b, wsh_freight_costs, wsh_freight_cost_types, wsh_new_deliveries, wsh_locations, mtl_categories, mtl_default_category_sets, fnd_territories_tl, org_organization_definitions, bom_inventory_components, dual

Report Categories

Enginatics

ONT Orders and Lines 11i, WSH Shipping/Delivery Transactions, ONT Orders and Lines, PPF_WP3_OM_DETAILS

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output WSH Commercial Invoice 28-Mar-2026 011331.xlsx
Blitz Report™ XML Import WSH_Commercial_Invoice.xml
SQL Source WSH Commercial Invoice.sql
Full Report on Enginatics www.enginatics.com/reports/wsh-commercial-invoice/

Case Study & Technical Analysis: WSH Commercial Invoice

Executive Summary

The WSH Commercial Invoice report is a shipping commercial invoice for Oracle Shipping Execution deliveries. It lists the delivery details of each delivery, with shipped items, quantities, unit costs, extended costs, ship-from and ship-to addresses, freight and bill of lading details. It is the Blitz version of the Oracle standard Commercial Invoice (XML) concurrent program WSHRDINVXML, and its database logic is held in the WSHWSHRDINVXMLPPKG package. Export and logistics teams use it to prepare the commercial invoice that accompanies an international shipment, with the commodity classes that customs requires. It runs in Excel through Blitz Report.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. WSH_NEW_DELIVERIES is joined to WSH_DELIVERY_ASSIGNMENTS_V and then to WSH_DELIVERY_DETAILS on the delivery detail id.
  2. Ship-from and ship-to locations are joined to WSH_LOCATIONS, and their countries to FND_TERRITORIES_TL in the user’s language.
  3. The commodity class lists the categories of the item in the WSH_COMMODITY_CODE category set, from MTL_ITEM_CATEGORIES and MTL_CATEGORIES_KFV.
  4. The unit cost comes from the order line selling price for OE lines, the agreement deliverable price for OKE lines, or another delivery line of the same source for other sources.
  5. A component is included when it is flagged for shipping documents on the bill of material.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Which costs appear on the commercial invoice? A: Each item shows its unit cost and extended cost, derived from the order line selling price or the agreement price. The total freight cost is shown for the delivery.

Q: How are commodity classes determined? A: They are the categories assigned to the item in the WSH_COMMODITY_CODE category set. Items without one show a blank commodity class.


© Enginatics GmbH