OE_HOLD_SOURCES_ALL
Schema: ONTtransactionOU-striped (ORG_ID)Hold source criteria — the entity a hold was applied against (a customer, an order, an item, a warehouse), stored as a generic entity code plus a polymorphic id, with the hold-until date
HOLD_ENTITY_ID is a VARCHAR2(250) holding whatever id HOLD_ENTITY_CODE names — cast before joining it to numeric keys.
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 | HOLD_SOURCE_ID | Surrogate key of the hold source | NUMBER | Key |
| 2 | ORG_ID | Operating unit | NUMBER | |
| 3 | HOLD_ID | The hold definition being applied | NUMBER | |
| 4 | HOLD_ENTITY_CODE | What kind of entity is held — customer, order, item, warehouse… | VARCHAR2 | |
| 5 | HOLD_ENTITY_ID | The held entity's id — stored as text whatever the entity; cast before numeric joins | VARCHAR2 | |
| 6 | HOLD_UNTIL_DATE | Automatic expiry date of the hold, when set | DATE | |
| 7 | RELEASED_FLAG | N while the source still applies its hold | VARCHAR2 | |
| 8 | HOLD_RELEASE_ID | The release record for the whole source, once released | NUMBER |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading OE_HOLD_SOURCES_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_HOLD_SOURCES_ALL — Hold source criteria — the entity a hold was applied against (a customer, an order, an item, a warehouse), stored as a generic entity code plus a polymorphic id, with the hold-until date
-- Purpose: Column-selected read of OE_HOLD_SOURCES_ALL — auto-generated from field metadata
-- Grain : One row per operating unit (ORG_ID) + HOLD_SOURCE_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.HOLD_SOURCE_ID AS "Surrogate key of the hold source",
t.ORG_ID AS "Operating unit",
t.HOLD_ID AS "The hold definition being applied",
t.HOLD_ENTITY_CODE AS "What kind of entity is held — customer, order, item, warehouse…",
t.HOLD_ENTITY_ID AS "The held entity's id — stored as text whatever the entity; cast before numeric joins",
t.HOLD_UNTIL_DATE AS "Automatic expiry date of the hold, when set",
t.RELEASED_FLAG AS "N while the source still applies its hold",
t.HOLD_RELEASE_ID AS "The release record for the whole source, once released"
FROM <catalog>.<schema>.OE_HOLD_SOURCES_ALL t
WHERE
t.ORG_ID = <operating_unit_id> -- operating unit (MOAC does not filter extracts)
-- AND t.HOLD_SOURCE_ID = <HOLD_SOURCE_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.HOLD_SOURCE_ID;5 parameters not filled: <catalog>, <schema>, <operating_unit_id>, <HOLD_SOURCE_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.HOLD_SOURCE_ID = OE_HOLD_SOURCES_ALL.HOLD_SOURCE_ID AND OE_ORDER_HOLDS_ALL.ORG_ID = OE_HOLD_SOURCES_ALL.ORG_IDON OE_HOLD_SOURCES_ALL.HOLD_ID = OE_HOLD_DEFINITIONS.HOLD_ID