MTL_CATEGORIES_B
Schema: INVmasterThe category master — one row per category code combination, with the SEGMENTn flexfield columns the category name concatenates from, keyed by the flexfield structure
Categories are org-independent. The DESCRIPTION here is the untranslated copy; the language-correct description lives on the translation companion (MTL_CATEGORIES_TL, 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
9 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | CATEGORY_ID | Surrogate key of the category | NUMBER | Key |
| 2 | STRUCTURE_ID | The flexfield structure the category's segments belong to | NUMBER | |
| 3 | SEGMENT1 | Category flexfield segment 1 — the category name is the configured concatenation | VARCHAR2 | |
| 4 | SEGMENT2 | Category flexfield segment 2 | VARCHAR2 | |
| 5 | SEGMENT3 | Category flexfield segment 3 | VARCHAR2 | |
| 6 | DESCRIPTION | Category description — untranslated copy; the language-correct text is on the TL companion | VARCHAR2 | |
| 7 | ENABLED_FLAG | Whether the category is active | VARCHAR2 | |
| 8 | DISABLE_DATE | When the category was disabled — NULL while active | DATE | |
| 9 | SUMMARY_FLAG | Whether this is a summary (rollup) category | VARCHAR2 |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading MTL_CATEGORIES_Bon 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 : MTL_CATEGORIES_B — The category master — one row per category code combination, with the SEGMENTn flexfield columns the category name concatenates from, keyed by the flexfield structure
-- Purpose: Column-selected read of MTL_CATEGORIES_B — auto-generated from field metadata
-- Grain : One row per CATEGORY_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.CATEGORY_ID AS "Surrogate key of the category",
t.STRUCTURE_ID AS "The flexfield structure the category's segments belong to",
t.SEGMENT1 AS "Category flexfield segment 1 — the category name is the configured concatenation", -- flexfield segment: concatenation is configuration-defined — see quirks guide #flexfields
t.SEGMENT2 AS "Category flexfield segment 2", -- flexfield segment: concatenation is configuration-defined — see quirks guide #flexfields
t.SEGMENT3 AS "Category flexfield segment 3", -- flexfield segment: concatenation is configuration-defined — see quirks guide #flexfields
t.DESCRIPTION AS "Category description — untranslated copy; the language-correct text is on the TL companion",
t.ENABLED_FLAG AS "Whether the category is active",
t.DISABLE_DATE AS "When the category was disabled — NULL while active",
t.SUMMARY_FLAG AS "Whether this is a summary (rollup) category"
FROM <catalog>.<schema>.MTL_CATEGORIES_B t
WHERE
1 = 1 -- no partition column on this table; the filters below are optional
-- AND t.CATEGORY_ID = <CATEGORY_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.CATEGORY_ID;4 parameters not filled: <catalog>, <schema>, <CATEGORY_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 MTL_ITEM_CATEGORIES.CATEGORY_ID = MTL_CATEGORIES_B.CATEGORY_IDON MTL_CATEGORY_SETS_B.DEFAULT_CATEGORY_ID = MTL_CATEGORIES_B.CATEGORY_IDON PO_LINES_ALL.CATEGORY_ID = MTL_CATEGORIES_B.CATEGORY_ID