Search Results jtf_terr_all
Overview
The JTF_TERR_ALL table is a core repository for territory definitions within the Oracle E-Business Suite (EBS), specifically for the JTF (CRM Foundation) module. It serves as the master table for all territory entities, which are fundamental to structuring sales, service, and marketing organizations. The table supports a hierarchical and flexible territory model by storing three distinct categories: Standard territories for operational assignments, Escalation territories for routing exceptions, and Template territories for defining reusable structures. Its central role in the CRM architecture makes it a critical reference point for resource assignment, access control, and transaction routing across multiple EBS products.
Key Information Stored
The table's primary identifier is the TERR_ID column, which is the unique key for every territory record. Essential attributes stored include the TERRITORY_TYPE_ID, which links to the JTF_TERR_TYPES_ALL table to classify the territory category. The table manages hierarchical relationships through self-referencing foreign key columns: PARENT_TERRITORY_ID, TEMPLATE_TERRITORY_ID, and ESCALATION_TERRITORY_ID. Other critical columns track the territory's lifecycle and purpose, such as effective start and end dates (START_DATE_ACTIVE, END_DATE_ACTIVE), a descriptive NAME, and a COMMENT field for administrative notes. The multi-org structure is supported via the ORG_ID column.
Common Use Cases and Queries
A primary use case is generating reports on the territory hierarchy for sales management. A common query retrieves a territory and its immediate parent. For example: SELECT t1.NAME AS TERRITORY, t2.NAME AS PARENT_TERRITORY FROM JTF.JTF_TERR_ALL t1 LEFT JOIN JTF.JTF_TERR_ALL t2 ON t1.PARENT_TERRITORY_ID = t2.TERR_ID WHERE t1.START_DATE_ACTIVE <= SYSDATE AND (t1.END_DATE_ACTIVE IS NULL OR t1.END_DATE_ACTIVE >= SYSDATE);. Another critical scenario involves data validation and integration, such as identifying all transactional records (e.g., service requests from CSS_DEF_AUDIT_HISTORY_B) associated with a specific territory ID for audit or migration purposes. Administrators frequently query this table to manage territory assignments and understand the relationships between standard, escalation, and template territories.
Related Objects
The JTF_TERR_ALL table has extensive relationships, acting as a hub for territory-related data. Its primary key (TERR_ID) is referenced by numerous foreign keys across the application. Key documented relationships include:
- Self-References: JTF_TERR_ALL.PARENT_TERRITORY_ID, .TEMPLATE_TERRITORY_ID, and .ESCALATION_TERRITORY_ID all reference JTF_TERR_ALL.TERR_ID, enabling hierarchy and templates.
- Core CRM Tables: JTF_TERR_RSC_ALL (TERR_ID), JTF_TERR_QUAL_ALL (TERR_ID), and JTF_TERR_USGS_ALL (TERR_ID) store assigned resources, qualifications, and usage rules.
- Service Modules: CSS_DEF_AUDIT_HISTORY_B (TERRITORY_ID) and CSS_DEF_DEFECTS_B (TERRITORY_ID), as noted in the user's search context, link service audit and defect records to territories.
- Other Key References: AS_TERRITORY_ACCESSES (TERRITORY_ID) for security, JTF_EXCEPTIONS_ALL (TERR_ID) for territory rule overrides, and AMS_BASE_SALES_VOL_ALL (MRKT_LEVEL_VALUE) for marketing analytics.
-
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 ,
-
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 ,
-
APPS.JTF_TTY_OVERLAP_WEBADI_PKG dependencies on JTF_TERR_ALL
12.1.1
-
APPS.OZF_TERR_LEVELS_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TERRITORY_GET_PUB dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTY_WEBADI_OTH_TERR_UPDATE_PKG dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TTY_GEO_TERRGP dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTY_WEBADI_OTH_TERR_UPDATE_PKG dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TTY_CREATE_TERR_FROM_GEO dependencies on JTF_TERR_ALL
12.1.1
-
APPS.PV_TAP_ACCESS_TERRS_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTY_ASSIGN_BULK_PUB dependencies on JTF_TERR_ALL
12.2.2
-
APPS.PV_REFERRAL_GENERAL_PUB dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TERRITORY_GET_PUB dependencies on JTF_TERR_ALL
12.2.2
-
APPS.CSF_PLAN_TERRS_PKG dependencies on JTF_TERR_ALL
12.2.2
-
APPS.CSF_RESOURCE_PUB dependencies on JTF_TERR_ALL
12.2.2
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTY_WEBADI_OTH_TERR_DWNL_PKG dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TERR_ENGINE_GEN2_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TERR_DIAGNOSTIC_TEST dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TTY_NA_GEO_TERR_PVT dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TTY_CATCHALL_WORKFLOW dependencies on JTF_TERR_ALL
12.1.1
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TERR_PKG dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTY_TERR_ENGINE_GEN_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTY_MIGRATION_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TERRITORY_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TTY_GEO_WEBADI_INT_PKG dependencies on JTF_TERR_ALL
12.1.1
-
APPS.OZF_SD_REQUEST_PUB dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TERR_JSP_REPORTS dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTY_WEBADI_OTH_TERR_DWNL_PKG dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TTY_CATCHALL_WORKFLOW dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TTY_POP_TERR_ADMIN_BIN_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTY_TERR_DENORM_RULES_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TTY_GEO_WEBADI_INT_PKG dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TTY_GEN_TERR_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.OZF_QP_QUAL_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTY_ASSIGN_REALTIME_PUB dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TTY_MAINTAIN_NA_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TERR_ENGINE_GEN_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.CSF_PLAN_TERRS_PKG dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TERR_PKG dependencies on JTF_TERR_ALL
12.2.2
-
APPS.AS_TAP_PURGE_PUB dependencies on JTF_TERR_ALL
12.1.1
-
APPS.JTF_TTY_GEN_TERR_PVT dependencies on JTF_TERR_ALL
12.2.2
-
APPS.AMS_PARTY_MKT_SEG_LOADER_PVT dependencies on JTF_TERR_ALL
12.1.1
-
APPS.OZF_PARTY_MKT_SEG_LOADER_PVT dependencies on JTF_TERR_ALL
12.2.2
-
APPS.PV_TAP_ACCESS_TERRS_PVT dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TERRITORY_RESOURCE_PVT dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTY_TERR_ENGINE_GEN_PVT dependencies on JTF_TERR_ALL
12.2.2
-
APPS.AMS_PARTY_MKT_SEG_LOADER_PVT dependencies on JTF_TERR_ALL
12.2.2
-
APPS.JTF_TAE_ASSIGN_PUB dependencies on JTF_TERR_ALL
12.2.2