Search Results ozf_terr_levels_all
Overview
OZF_TERR_LEVELS_ALL is a foundational table within the Oracle Trade Management (OZF) module of Oracle E-Business Suite, documented as valid in both release 12.1.1 and 12.2.2. The table stores the hierarchical levels that correspond to territory types defined in the JTF (CRM Foundation) schema. In practical terms, it provides the structural backbone for territory hierarchies used by Trade Management, Channel Management, and related go-to-market functions, allowing each territory type — such as geography, product, or customer-based classifications — to be decomposed into nested levels that roll up from a leaf territory to a root node.
The ETRM metadata classifies this object heuristically as a standalone Data Vault artifact. Because it carries its own descriptive level attributes and references external parents (TERR_TYPE_ID, SECURITY_GROUP_ID) without acting purely as an association table between two hubs, it is most naturally modeled as a satellite or reference hub rather than a link. Treat this classification as a modeling suggestion when mapping EBS data into a warehouse layer.
Key Information Stored
The table contains 39 documented columns. The most operationally significant are:
- TERR_LEVEL_ID — the surrogate primary key, enforced by OZF_TERR_LEVELS_ALL_PK and mirrored by the unique index OZF_TERR_LEVELS_ALL_U1, making it the single business-key candidate.
- TERR_TYPE_ID — foreign key to JTF_TERR_TYPES_ALL, identifying which territory type this level belongs to.
- TERRITORY_ID and PARENT_TERRITORY_ID — define the parent-child relationship that forms the actual hierarchy tree.
- LEVEL_DEPTH — numeric depth of the level within the hierarchy, used for roll-up and level-aware aggregation.
- HEIRARCHY_ID and HIERARCHY_NAME — identify and label the owning hierarchy (note the non-standard spelling preserved in the schema).
- SECURITY_GROUP_ID — foreign key to FND_SECURITY_GROUPS, enforcing multi-tenant data isolation.
- ORG_ID — operating unit context for multi-org reporting.
- ENABLED_FLAG and ACTIVE_FLAG — control whether the level is usable and currently active.
- END_DATE_ACTIVE — effective-dating column supporting historical hierarchies.
- OBJECT_VERSION_NUMBER — optimistic locking for concurrent updates.
- The standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) and the program/request columns (PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, REQUEST_ID) for audit and concurrent program traceability.
- The ATTRIBUTE_CATEGORY and ATTRIBUTE1–15 descriptive flexfield columns for client-specific extensions.
Common Use Cases and Queries
Typical scenarios include reconstructing territory trees for CRM assignment, validating hierarchy completeness for partner and quota planning, and reporting on enabled levels per hierarchy. A common query joins levels to their territory type:
SELECT l.TERR_LEVEL_ID, l.LEVEL_DEPTH, l.HIERARCHY_NAME, t.TERR_TYPE_NAME FROM OZF_TERR_LEVELS_ALL l, JTF_TERR_TYPES_ALL t WHERE l.TERR_TYPE_ID = t.TERR_TYPE_ID AND l.ENABLED_FLAG = 'Y';- Traversing a tree: self-join on
l.TERRITORY_ID = c.PARENT_TERRITORY_IDto walk from a parent to its children. - Filtering by
ORG_IDandSECURITY_GROUP_IDfor multi-org, multi-tenant reporting. - Effective-date filtering using
END_DATE_ACTIVEto reproduce historical hierarchy snapshots.
Related Objects
The most significant related objects, based on documented foreign keys and PK structure, are:
- JTF_TERR_TYPES_ALL — joined on TERR_TYPE_ID; defines the territory type each level belongs to.
- FND_SECURITY_GROUPS — joined on SECURITY_GROUP_ID; enforces security partitioning.
- OZF_TERR_LEVELS_ALL itself, via the self-referencing TERRITORY_ID / PARENT_TERRITORY_ID pair, for hierarchy traversal.
- AMS_TERR_LEVELS_ALL — shares the AMS_TERR_LEVELS_ALL_PK primary key on TERR_LEVEL_ID, indicating a closely coupled AMS (Marketing) counterpart.
- OZF_TERRITORIES_ALL and related territory assignment tables, which consume the level structure to place accounts and resources.
-
Table: OZF_TERR_LEVELS_ALL
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_TERR_LEVELS_ALL, object_name:OZF_TERR_LEVELS_ALL, status:VALID, product: OZF - Trade Management , description: This table stores the levels that corrospond to territory types in JTF. , implementation_dba_data: OZF.OZF_TERR_LEVELS_ALL ,
-
Table: OZF_TERR_LEVELS_ALL
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_TERR_LEVELS_ALL, object_name:OZF_TERR_LEVELS_ALL, status:VALID, product: OZF - Trade Management , description: This table stores the levels that corrospond to territory types in JTF. , implementation_dba_data: OZF.OZF_TERR_LEVELS_ALL ,
-
SYNONYM: APPS.OZF_TERR_LEVELS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OZF_TERR_LEVELS_ALL, status:VALID,
-
APPS.OZF_TERR_LEVELS_PVT SQL Statements
12.1.1
-
VIEW: APPS.OZF_TERR_V
12.2.2
-
APPS.OZF_TERR_LEVELS_PVT SQL Statements
12.2.2
-
VIEW: APPS.OZF_TERR_HIER_V
12.1.1
-
SYNONYM: APPS.OZF_TERR_LEVELS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OZF_TERR_LEVELS_ALL, status:VALID,
-
VIEW: APPS.OZF_TERR_V
12.1.1
-
VIEW: OZF.OZF_TERR_LEVELS_ALL#
12.2.2
owner:OZF, object_type:VIEW, object_name:OZF_TERR_LEVELS_ALL#, status:VALID,
-
VIEW: OZF.OZF_TERR_LEVELS_ALL#
12.2.2
-
VIEW: APPS.OZF_TERR_HIER_V
12.2.2
-
PACKAGE BODY: APPS.OZF_TERR_LEVELS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_TERR_LEVELS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_TERR_LEVELS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_TERR_LEVELS_PVT, status:VALID,
-
TABLE: OZF.OZF_TERR_LEVELS_ALL
12.1.1
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_TERR_LEVELS_ALL, object_name:OZF_TERR_LEVELS_ALL, status:VALID,
-
PACKAGE BODY: APPS.OZF_TERR_LEVELS_PVT
12.1.1
-
PACKAGE BODY: APPS.OZF_TERR_LEVELS_PVT
12.2.2
-
VIEW: APPS.OZF_TERR_HIER_V
12.2.2
owner:APPS, object_type:VIEW, object_name:OZF_TERR_HIER_V, status:VALID,
-
VIEW: APPS.OZF_TERR_V
12.1.1
owner:APPS, object_type:VIEW, object_name:OZF_TERR_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.OZF_TERR_HIER_V
12.1.1
owner:APPS, object_type:VIEW, object_name:OZF_TERR_HIER_V, status:VALID,
-
TABLE: OZF.OZF_TERR_LEVELS_ALL
12.2.2
owner:OZF, object_type:TABLE, fnd_design_data:OZF.OZF_TERR_LEVELS_ALL, object_name:OZF_TERR_LEVELS_ALL, status:VALID,
-
VIEW: APPS.OZF_TERR_V
12.2.2
owner:APPS, object_type:VIEW, object_name:OZF_TERR_V, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.OZF_QUOTA_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_QUOTA_PUB, status:VALID,
-
PACKAGE BODY: APPS.OZF_QUOTA_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_QUOTA_PUB, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.OZF_QUOTA_PUB SQL Statements
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.OZF_QUOTA_PUB SQL Statements
12.1.1
-
APPS.OZF_QUOTA_PUB dependencies on OZF_TERR_LEVELS_ALL
12.2.2
-
APPS.OZF_TERR_LEVELS_PVT dependencies on OZF_TERR_LEVELS_ALL
12.2.2
-
APPS.OZF_TERR_LEVELS_PVT dependencies on OZF_TERR_LEVELS_ALL
12.1.1
-
APPS.OZF_QUOTA_PUB dependencies on OZF_TERR_LEVELS_ALL
12.1.1
-
APPS.OZF_TERR_LEVELS_PVT dependencies on OZF_UTILITY_PVT
12.1.1
-
APPS.OZF_TERR_LEVELS_PVT dependencies on OZF_UTILITY_PVT
12.2.2
-
APPS.OZF_TERR_LEVELS_PVT dependencies on OZF_TERR_LEVELS_PVT
12.2.2
-
APPS.OZF_TERR_LEVELS_PVT dependencies on OZF_TERR_LEVELS_PVT
12.1.1
-
PACKAGE BODY: APPS.OZF_QUOTA_PUB
12.1.1
-
PACKAGE BODY: APPS.OZF_QUOTA_PUB
12.2.2
-
eTRM - OZF Tables and Views
12.2.2
description: OZF_XREF_MAP table created for SIebel TPM Integration ,
-
eTRM - OZF Tables and Views
12.1.1
description: Table to store the Market eligibilty for a Offer Worksheet ,
-
APPS.OZF_TERR_LEVELS_PVT dependencies on FND_API
12.2.2
-
APPS.OZF_TERR_LEVELS_PVT dependencies on FND_API
12.1.1