Search Results jtf_changed_terr_all
Overview
JTF_CHANGED_TERR_ALL is a CRM Foundation (JTF) table in Oracle E-Business Suite 12.1.1 and 12.2.2 that stores change-history records for the Territory Management (ETRM) model. According to Oracle's documented metadata, the table records modifications made to three core territory objects: JTF_TERR_ALL (the territory definition itself), JTF_TERR_VALUES (territory qualification criteria), and JTF_TERR_RSC (territory resource assignments). Each row captures the state of an affected record before and after a change, allowing the territory engine and downstream processes to identify what moved, what was added, what was removed, and when. In the ETRM schema the table is owned by JTF and is documented as VALID, with 79 columns in the 12.2.2 physical schema.
From a Data Vault modeling perspective, the table is heuristic-classified as satellite-leaning. This is a reasonable suggestion given that it holds descriptive, time-stamped change attributes (old and new values, action codes, audit columns) keyed to parent territory entities rather than representing an independent business relationship.
Key Information Stored
The column set is organized around a before/after pattern. The most operationally significant columns include:
- TERR_ID — foreign key to JTF_TERR_ALL; identifies the territory whose change is being logged.
- ACTION — the nature of the change performed against the territory record.
- TRIGGER_MODE — indicates how the change was initiated (for example, programmatic versus user-driven).
- OLD_* / NEW_* column pairs — the prior and resulting values for the same attribute, including OLD_START_DATE_ACTIVE / NEW_START_DATE_ACTIVE, OLD_END_DATE_ACTIVE / NEW_END_DATE_ACTIVE, OLD_RANK / NEW_RANK, OLD_UPDATE_FLAG / NEW_UPDATE_FLAG, and the audit fields OLD_LAST_UPDATED_BY, OLD_LAST_UPDATE_DATE, NEW_LAST_UPDATED_BY, NEW_LAST_UPDATE_DATE.
- OLD_TERR_QUAL_ID / NEW_TERR_QUAL_ID — linkage to territory qualification definitions that were modified.
- OLD_TERRITORY_ID / NEW_TERRITORY_ID via PARENT_TERRITORY_ID, OLD_PARENT_TERRITORY_ID and NEW_PARENT_TERRITORY_ID — captures hierarchy reparenting events.
- TRANSFER_ONLY_FLAG — distinguishes transfer-only updates from other change categories.
- REQUEST_ID — associates the change with a concurrent request, enabling traceability to the job that wrote it.
- ORG_ID and SECURITY_GROUP_ID — multi-org and security group context for the change; SECURITY_GROUP_ID references FND_SECURITY_GROUPS.
- OBJECT_VERSION_NUMBER — optimistic locking / versioning column used by the EBS framework.
Surrogate and audit identifiers (TERR_VALUE_ID, TERR_RSC_ID, TERR_QTYPE_USG_ID, TERR_RSC_ACCESS_ID) tie each change row to the specific qualification value, resource assignment, usage, or access record affected. The documented schema does not expose a single-column surrogate primary key; the effective row key is a composite of the change context plus the affected entity identifiers.
Common Use Cases and Queries
Typical uses include auditing territory hierarchy changes, troubleshooting why a sales representative lost or gained access to a territory, reconstructing qualification criteria as of a date, and feeding downstream analytics with change volume metrics. A representative query joining the change log to the territory master might be:
- SELECT c.TERR_ID, t.NAME, c.ACTION, c.OLD_RANK, c.NEW_RANK, c.OLD_LAST_UPDATE_DATE, c.NEW_LAST_UPDATE_DATE FROM JTF_CHANGED_TERR_ALL c JOIN JTF_TERR_ALL t ON t.TERR_ID = c.TERR_ID WHERE c.NEW_LAST_UPDATE_DATE >= :start_date;
- Filtering by REQUEST_ID to isolate the output of a specific concurrent territory refresh.
- Aggregating by ACTION and TRIGGER_MODE to report change volumes per period.
- Comparing OLD_PARENT_TERRITORY_ID and NEW_PARENT_TERRITORY_ID to identify reparenting activity in the territory hierarchy.
Related Objects
- JTF_TERR_ALL — primary parent via TERR_ID; the territory master record.
- JTF_TERR_VALUES_ALL — referenced through TERR_VALUE_ID; territory qualification values.
- JTF_TERR_RSC_ALL — referenced through TERR_RSC_ID; territory resource assignments.
- JTF_TERR_RSC_ACCESS_ALL — referenced through TERR_RSC_ACCESS_ID; resource access rules.
- JTF_TERR_QTYPE_USGS_ALL — referenced through TERR_QTYPE_USG_ID; qualification type usage.
- FND_SECURITY_GROUPS — referenced through SECURITY_GROUP_ID; security group context.
These relationships confirm that JTF_CHANGED_TERR_ALL functions as a dependent change-capture satellite for the core ETRM territory tables.
-
Table: JTF_CHANGED_TERR_ALL
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CHANGED_TERR_ALL, object_name:JTF_CHANGED_TERR_ALL, status:VALID, product: JTF - CRM Foundation , description: Stores records of changes to JTF_TERR_ALL, JTF_TERR_VALUES, and JTF_TERR_RSC , implementation_dba_data: JTF.JTF_CHANGED_TERR_ALL ,
-
Table: JTF_CHANGED_TERR_ALL
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CHANGED_TERR_ALL, object_name:JTF_CHANGED_TERR_ALL, status:VALID, product: JTF - CRM Foundation , description: Stores records of changes to JTF_TERR_ALL, JTF_TERR_VALUES, and JTF_TERR_RSC , implementation_dba_data: JTF.JTF_CHANGED_TERR_ALL ,
-
SYNONYM: APPS.JTF_CHANGED_TERR_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CHANGED_TERR_ALL, status:VALID,
-
SYNONYM: APPS.JTF_CHANGED_TERR_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_CHANGED_TERR_ALL, status:VALID,
-
VIEW: JTF.JTF_CHANGED_TERR_ALL#
12.2.2
owner:JTF, object_type:VIEW, object_name:JTF_CHANGED_TERR_ALL#, status:VALID,
-
SYNONYM: APPS.JTF_CHANGED_TERR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_CHANGED_TERR, status:VALID,
-
SYNONYM: APPS.JTF_CHANGED_TERR
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CHANGED_TERR, status:VALID,
-
PACKAGE BODY: APPS.JTF_CHANGED_TERR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_CHANGED_TERR_PKG, status:VALID,
-
VIEW: JTF.JTF_CHANGED_TERR_ALL#
12.2.2
-
PACKAGE BODY: APPS.JTF_CHANGED_TERR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_CHANGED_TERR_PKG, status:VALID,
-
PACKAGE BODY: APPS.JTF_TAE_GEN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_TAE_GEN_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTF_TAE_GEN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_TAE_GEN_PVT, status:VALID,
-
Table: JTF_TERR_ALL
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_TERR_ALL, object_name:JTF_TERR_ALL, status:VALID, product: JTF - CRM Foundation , description: Stores the definition of the territories. There are 3 categories of territories, Standard, Escalation and Template. Information stored in this table also includes comment about this territory, effective dates, and what type of territory it , implementation_dba_data: JTF.JTF_TERR_ALL ,
-
Table: JTF_TERR_ALL
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_TERR_ALL, object_name:JTF_TERR_ALL, status:VALID, product: JTF - CRM Foundation , description: Stores the definition of the territories. There are 3 categories of territories, Standard, Escalation and Template. Information stored in this table also includes comment about this territory, effective dates, and what type of territory it , implementation_dba_data: JTF.JTF_TERR_ALL ,
-
PACKAGE BODY: APPS.JTF_TAE_ASSIGN_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_TAE_ASSIGN_PUB, status:VALID,
-
PACKAGE BODY: APPS.JTF_TAE_ASSIGN_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_TAE_ASSIGN_PUB, status:VALID,
-
View: JTF_CHANGED_TERR
12.1.1
product: JTF - CRM Foundation , implementation_dba_data: Not implemented in this database ,
-
View: JTF_CHANGED_TERR
12.2.2
product: JTF - CRM Foundation , implementation_dba_data: Not implemented in this database ,
-
TABLE: JTF.JTF_CHANGED_TERR_ALL
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CHANGED_TERR_ALL, object_name:JTF_CHANGED_TERR_ALL, status:VALID,
-
TABLE: JTF.JTF_CHANGED_TERR_ALL
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_CHANGED_TERR_ALL, object_name:JTF_CHANGED_TERR_ALL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.JTF_CHANGED_TERR_PKG SQL Statements
12.2.2
-
APPS.JTF_CHANGED_TERR_PKG SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.JTF_TAE_GEN_PVT SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.JTF_TAE_GEN_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.JTF_CHANGED_TERR_PKG
12.2.2
-
PACKAGE BODY: APPS.JTF_CHANGED_TERR_PKG
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.JTF_TAE_ASSIGN_PUB dependencies on JTF_CHANGED_TERR_ALL
12.2.2
-
APPS.JTF_CHANGED_TERR_PKG dependencies on JTF_CHANGED_TERR_ALL
12.1.1
-
APPS.JTF_TAE_GEN_PVT dependencies on JTF_CHANGED_TERR_ALL
12.2.2
-
APPS.JTF_TAE_ASSIGN_PUB SQL Statements
12.1.1
-
APPS.JTF_CHANGED_TERR_PKG dependencies on JTF_CHANGED_TERR_ALL
12.2.2
-
APPS.JTF_TAE_GEN_PVT dependencies on JTF_CHANGED_TERR_ALL
12.1.1
-
APPS.JTF_TAE_ASSIGN_PUB dependencies on JTF_CHANGED_TERR_ALL
12.1.1
-
APPS.JTF_TAE_ASSIGN_PUB SQL Statements
12.2.2
-
APPS.JTF_CHANGED_TERR_PKG dependencies on JTF_CHANGED_TERR
12.1.1
-
APPS.JTF_CHANGED_TERR_PKG dependencies on JTF_CHANGED_TERR
12.2.2
-
APPS.JTF_TAE_GEN_PVT dependencies on JTF_TERR_DENORM_RULES_ALL
12.1.1
-
APPS.JTF_TAE_GEN_PVT dependencies on JTF_TERR_DENORM_RULES_ALL
12.2.2
-
APPS.JTF_TAE_GEN_PVT dependencies on JTF_QUAL_TYPE_USGS_ALL
12.1.1
-
APPS.JTF_TAE_GEN_PVT dependencies on JTF_TERR_QTYPE_USGS_ALL
12.2.2