WSH_TRIP_STOPS
Schema: WSHtransactionTrip stops — one row per pickup or drop-off point on a trip, with planned and actual arrival/departure timestamps; the actual departure at the pickup stop is the gate-out time ship confirm writes
STATUS_CODE values OP (open), IT (in transit), and CL (closed) are spelled out in the data dictionary's own column comment. PENDING_INTERFACE_FLAG = 'Y' marks stops awaiting the interface run — a backlog signal.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
Fields
11 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | STOP_ID | Surrogate key of the stop | NUMBER | Key |
| 2 | TRIP_ID | The trip the stop belongs to | NUMBER | |
| 3 | STOP_SEQUENCE_NUMBER | Order of the stop within the trip | NUMBER | |
| 4 | STOP_LOCATION_ID | The stop's location | NUMBER | |
| 5 | STATUS_CODE | OP open, IT in transit, CL closed — spelled out in the data dictionary's column comment | VARCHAR2 | |
| 6 | PLANNED_ARRIVAL_DATE | Planned arrival | DATE | |
| 7 | PLANNED_DEPARTURE_DATE | Planned departure | DATE | |
| 8 | ACTUAL_ARRIVAL_DATE | Actual arrival | DATE | |
| 9 | ACTUAL_DEPARTURE_DATE | Actual departure — at the pickup stop this is the gate-out time ship confirm writes | DATE | Filter date |
| 10 | DEPARTURE_GROSS_WEIGHT | Gross weight at departure | NUMBER | |
| 11 | PENDING_INTERFACE_FLAG | Y while the stop awaits the interface run — a backlog signal | VARCHAR2 |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading WSH_TRIP_STOPSon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : WSH_TRIP_STOPS — Trip stops — one row per pickup or drop-off point on a trip, with planned and actual arrival/departure timestamps; the actual departure at the pickup stop is the gate-out time ship confirm writes
-- Purpose: Column-selected read of WSH_TRIP_STOPS — auto-generated from field metadata
-- Grain : One row per STOP_ID
-- Notes : Auto-generated skeleton for Oracle EBS R12 data landed in your lakehouse. Dates are real DATE/TIMESTAMP columns — no conversion needed. WHO audit columns omitted (see the quirks guide); the optional LAST_UPDATE_DATE watermark filter supports incremental extracts.
-- ============================================================
SELECT
t.STOP_ID AS "Surrogate key of the stop",
t.TRIP_ID AS "The trip the stop belongs to",
t.STOP_SEQUENCE_NUMBER AS "Order of the stop within the trip",
t.STOP_LOCATION_ID AS "The stop's location",
t.STATUS_CODE AS "OP open, IT in transit, CL closed — spelled out in the data dictionary's column comment",
t.PLANNED_ARRIVAL_DATE AS "Planned arrival",
t.PLANNED_DEPARTURE_DATE AS "Planned departure",
t.ACTUAL_ARRIVAL_DATE AS "Actual arrival",
t.ACTUAL_DEPARTURE_DATE AS "Actual departure — at the pickup stop this is the gate-out time ship confirm writes",
t.DEPARTURE_GROSS_WEIGHT AS "Gross weight at departure",
t.PENDING_INTERFACE_FLAG AS "Y while the stop awaits the interface run — a backlog signal"
FROM <catalog>.<schema>.WSH_TRIP_STOPS t
WHERE
1 = 1 -- no partition column on this table; the filters below are optional
-- AND t.STOP_ID = <STOP_ID>
-- AND t.ACTUAL_DEPARTURE_DATE >= DATE '<DATE_FROM>'
-- AND t.ACTUAL_DEPARTURE_DATE <= DATE '<DATE_TO>'
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.STOP_ID;6 parameters not filled: <catalog>, <schema>, <STOP_ID>, <DATE_FROM>, <DATE_TO>, <watermark>
Relationships
1-hop neighbors — click a table to navigate there. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON WSH_DELIVERY_LEGS.PICK_UP_STOP_ID = WSH_TRIP_STOPS.STOP_IDON WSH_DELIVERY_LEGS.DROP_OFF_STOP_ID = WSH_TRIP_STOPS.STOP_IDON WSH_TRIP_STOPS.TRIP_ID = WSH_TRIPS.TRIP_ID