OE_ORDER_HOLDS_ALL
Schema: ONTtransactionOU-striped (ORG_ID)Hold instances on orders and lines — one row per applied hold, pointing at the hold source that applied it and the release record once lifted; the "why isn't this line shipping" table
LINE_ID is NULL for order-level holds — a line-only filter silently drops them. Active holds are RELEASED_FLAG = 'N'; release timing lives on the hold-release record (not yet cataloged).
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
8 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | ORDER_HOLD_ID | Surrogate key of the hold instance | NUMBER | Key |
| 2 | ORG_ID | Operating unit | NUMBER | |
| 3 | HEADER_ID | The held order | NUMBER | |
| 4 | LINE_ID | The held line — NULL for order-level holds, so a line-only filter drops them | NUMBER | |
| 5 | HOLD_SOURCE_ID | The hold source (criteria) that applied this hold | NUMBER | |
| 6 | HOLD_RELEASE_ID | The release record once lifted — NULL while the hold is active | NUMBER | |
| 7 | RELEASED_FLAG | N while the hold is active — the open-holds filter | VARCHAR2 | |
| 8 | CREDIT_PROFILE_LEVEL | Credit-check profile level for credit holds | VARCHAR2 |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading OE_ORDER_HOLDS_ALLon 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 : OE_ORDER_HOLDS_ALL — Hold instances on orders and lines — one row per applied hold, pointing at the hold source that applied it and the release record once lifted; the "why isn't this line shipping" table
-- Purpose: Column-selected read of OE_ORDER_HOLDS_ALL — auto-generated from field metadata
-- Grain : One row per operating unit (ORG_ID) + ORDER_HOLD_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.ORDER_HOLD_ID AS "Surrogate key of the hold instance",
t.ORG_ID AS "Operating unit",
t.HEADER_ID AS "The held order",
t.LINE_ID AS "The held line — NULL for order-level holds, so a line-only filter drops them",
t.HOLD_SOURCE_ID AS "The hold source (criteria) that applied this hold",
t.HOLD_RELEASE_ID AS "The release record once lifted — NULL while the hold is active",
t.RELEASED_FLAG AS "N while the hold is active — the open-holds filter",
t.CREDIT_PROFILE_LEVEL AS "Credit-check profile level for credit holds"
FROM <catalog>.<schema>.OE_ORDER_HOLDS_ALL t
WHERE
t.ORG_ID = <operating_unit_id> -- operating unit (MOAC does not filter extracts)
-- AND t.ORDER_HOLD_ID = <ORDER_HOLD_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.ORDER_HOLD_ID;5 parameters not filled: <catalog>, <schema>, <operating_unit_id>, <ORDER_HOLD_ID>, <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 OE_ORDER_HOLDS_ALL.HEADER_ID = OE_ORDER_HEADERS_ALL.HEADER_ID AND OE_ORDER_HOLDS_ALL.ORG_ID = OE_ORDER_HEADERS_ALL.ORG_IDON OE_ORDER_HOLDS_ALL.LINE_ID = OE_ORDER_LINES_ALL.LINE_ID AND OE_ORDER_HOLDS_ALL.ORG_ID = OE_ORDER_LINES_ALL.ORG_IDON OE_ORDER_HOLDS_ALL.HOLD_SOURCE_ID = OE_HOLD_SOURCES_ALL.HOLD_SOURCE_ID AND OE_ORDER_HOLDS_ALL.ORG_ID = OE_HOLD_SOURCES_ALL.ORG_ID