Oracle Shipping Execution stores two different statuses. The delivery status is WSH_NEW_DELIVERIES.STATUS_CODE (lookup DELIVERY_STATUS), and the shipping (pick) status of each delivery line is WSH_DELIVERY_DETAILS.RELEASED_STATUS (lookup PICK_STATUS). The queries below translate both codes into the meanings shown in the Shipping Transactions form.
SQL: delivery status and shipping status
--Delivery status
SELECT STATUS_CODE, meaning, delivery_id
FROM wsh_new_deliveries wnd,
apps.fnd_lookup_values_vl flv
WHERE flv.LOOKUP_CODE = wnd.STATUS_CODE
AND lookup_type = 'DELIVERY_STATUS'
AND delivery_id = 1000;
--Shipping status
SELECT RELEASED_STATUS, meaning, delivery_detail_id
FROM wsh_delivery_details wdd,
apps.fnd_lookup_values_vl flv
WHERE flv.LOOKUP_CODE = wdd.RELEASED_STATUS
AND lookup_type = 'PICK_STATUS'
AND delivery_detail_id = 215353;
Common status values
| Delivery STATUS_CODE | Meaning |
|---|---|
| OP | Open |
| CO | Confirmed |
| IT | In Transit |
| CL | Closed |
| SA | Shipped Awaiting Confirmation (if used) |
| RELEASED_STATUS | Meaning |
|---|---|
| N | Not Ready for Release |
| R | Ready to Release |
| S | Released to Warehouse |
| B | Backordered |
| Y | Staged / Pick Confirmed |
| C | Shipped |
| D | Cancelled |
| X | Not Applicable |
Replace delivery_id and delivery_detail_id with your values. To get every delivery line for an order line, filter WSH_DELIVERY_DETAILS on SOURCE_LINE_ID and SOURCE_CODE = 'OE'.
What is the difference between delivery status and released status?
Delivery status (WSH_NEW_DELIVERIES.STATUS_CODE) is the status of the whole delivery, such as Open or Closed. Released status (WSH_DELIVERY_DETAILS.RELEASED_STATUS) is the pick and ship status of each line.
What does released status B mean in Oracle Shipping?
B means Backordered: pick release could not allocate enough on-hand quantity.
How do I link a delivery detail to a delivery?
Through WSH_DELIVERY_ASSIGNMENTS, which stores DELIVERY_DETAIL_ID and DELIVERY_ID.
Related queries
- Sales Order Line Status Query in Oracle Apps (as Shown in the Form)
- Query to get Sales order and lines details in Oracle Apps
- Query to find Sales Orders that are shipped but not invoiced
- Query to find shipset and fulfilment set
- Oracle Apps Order Management Tables
- TCA Query: Customer Party Site and Address by Location in Oracle R12
- Query to Check Shipping Exceptions on a Sales Order Line
- Sales Order Line Status Query in Oracle Apps (as Shown in the Form)
- Query to Get Price List Details in Oracle EBS (QP Tables)
- Query to Find All Public APIs of Oracle Apps Modules
- Oracle R12 Shipping Status and Delivery Status Query
- Query to Get Customer Tax Registration Details in Oracle R12
- Query to Get Sales Order Header and Line Details in Oracle Apps R12
- Query to Find Serial Number Material Transaction Details in Oracle Inventory
- Query to Find Period Status for Inventory, GL, Purchasing, Payables, Receivables and Fixed Assets
- Query to Find Sales Orders That Are Shipped but Not Invoiced
- Query to Get Customer Bank Account Details in Oracle R12 (Oracle Payments)
- AutoInvoice Grouping Columns in RA_INTERFACE_LINES_ALL (OM to AR)
- Query to Find Ship Sets and Fulfillment Sets in Oracle Order Management
