Search Results node_key
Overview
The APPS.JTF_TERRITORIES_NAV view is a navigation-oriented database object within the Oracle E-Business Suite Territory Management (also referred to as ETRM) module. It exposes a hierarchical, presentation-ready representation of territory definitions that is consumed by the Territory Manager navigation tree. Rather than storing data itself, the view synthesizes territory records into a flat result set of navigation nodes, each carrying the attributes needed to render a tree node: a display label, node type, node key, icon, parent linkage, display rank, and a LEAF_FLAG.
The view is a UNION ALL construct composed of multiple sub-queries. Each branch maps territory records to either a TERRITORY parent node type or a SOURCE parent node type, with the differentiation driven by the jtall.parent_territory_id value relative to the sentinel value 1. The LEAF_FLAG column is a computed indicator derived from an outer-join count of child territories: territories with no children are flagged 'Y', and those with children are flagged 'N'. The same child-count logic also determines the ICON_NAME, returning 'territor' for leaf nodes and 'aftreecl' for nodes that contain children.
Because the view filters out template territories (template_flag <> 'Y') and escalation territories (escalation_territory_flag <> 'Y'), it presents only the operational, navigable territory hierarchy relevant to users in the Territory Manager interface.
Underlying Base Objects
Per the documented ETRM 12.2.2 metadata, JTF_TERRITORIES_NAV is owned by APPS and is defined over the following referenced base objects:
FND_GLOBAL(PACKAGE) — provides session context such as organization and user identifiers.JTF_NAV_NODE_TYPES_V(VIEW) — supplies node type metadata; the view constrains onroot_key = 'JTF_TERR_ROOT'andnode_type = 'TERRITORY'.JTF_SOURCES(VIEW) — the territory source definition, linked throughJTF_TERR_USGS.source_id.JTF_TERR(SYNONYM) — the base territory entity, aliased asjtalland again asjtall2for the self-join that counts children.JTF_TERR_USGS(SYNONYM) — the territory usage association bridging territories to sources.
The self-join on JTF_TERR (jtall.terr_id = jtall2.parent_territory_id(+), with matching org_id) is the mechanism underlying both LEAF_FLAG and the icon selection, since the aggregate COUNT(jtall2.parent_territory_id) returns zero precisely for territories that have no children.
Key Columns
LABEL— the localized territory name concatenated with its rank in brackets, formatted asname [rank].NODE_TYPE— the navigation node type, here'TERRITORY'.NODE_KEY— the unique node identifier, constructed by quoting the territory ID.ICON_NAME—'territor'for leaf territories,'aftreecl'for nodes having children.LEAF_FLAG—'Y'when the territory has no child territories, otherwise'N'.PARENT_NODE_TYPE—'TERRITORY'or'SOURCE'depending on the union branch.PARENT_NODE_KEY— the quoted parent territory ID or source ID.DISPLAY_RANK— the sort order value derived fromjtall.rank.
Common Use Cases and Queries
The view is primarily queried to enumerate the territory tree and to identify leaf versus non-leaf nodes for reporting or eligibility checks. A typical query locates leaf territories under a given parent:
SELECT label, node_key, display_rank
FROM apps.jtf_territories_nav
WHERE leaf_flag = 'Y'
ORDER BY display_rank;
To retrieve the full hierarchy for a specific parent node:
SELECT label, node_type, node_key, parent_node_key
FROM apps.jtf_territories_nav
WHERE parent_node_key = '"1001"'
ORDER BY display_rank;
Counting leaves by parent supports administrator validation of tree depth, while filtering on parent_node_type = 'SOURCE' isolates the top-level entries that hang directly beneath a territory source. Because LEAF_FLAG is computed rather than stored, it is always current with the underlying JTF_TERR hierarchy.
-
VIEW: APPS.JTF_TERRITORIES_NAV
12.1.1
-
View: XNC_ORD_ORDERTYP_NAV
12.2.2
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Order Navigator tree , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.CN_RULESETS_NAV
12.2.2
-
View: XNC_ORD_ORDERTYP_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Order Navigator tree , implementation_dba_data: Not implemented in this database ,
-
View: JTF_TERRITORIES_NAV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERRITORIES_NAV, object_name:JTF_TERRITORIES_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Territories - Defines navigator tree structure for territory parent to child hierarchy. , implementation_dba_data: APPS.JTF_TERRITORIES_NAV ,
-
VIEW: APPLSYS.FND_HELP_TREE#
12.2.2
-
VIEW: APPS.CN_RULESETS_NAV
12.1.1
-
VIEW: APPS.JTF_TERRITORIES_NAV
12.2.2
-
View: JTF_TERRITORIES_NAV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERRITORIES_NAV, object_name:JTF_TERRITORIES_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Territories - Defines navigator tree structure for territory parent to child hierarchy. , implementation_dba_data: APPS.JTF_TERRITORIES_NAV ,
-
VIEW: APPS.JTF_TERR_TEMPLATES_NAV
12.2.2
-
VIEW: APPS.JTF_TERR_TYPES_NAV
12.1.1
-
VIEW: APPS.JTF_TERR_TYPES_NAV
12.2.2
-
VIEW: APPS.JTF_TERR_TEMPLATES_NAV
12.1.1
-
VIEW: APPS.CN_PLAN_ELEMENTS_NAV
12.2.2
-
View: JTF_TERR_TYPES_NAV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_TYPES_NAV, object_name:JTF_TERR_TYPES_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Territory Types - Defines navigator tree structure for type to territory hierarchy. , implementation_dba_data: APPS.JTF_TERR_TYPES_NAV ,
-
View: JTF_TERR_TYPES_NAV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_TYPES_NAV, object_name:JTF_TERR_TYPES_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Territory Types - Defines navigator tree structure for type to territory hierarchy. , implementation_dba_data: APPS.JTF_TERR_TYPES_NAV ,
-
VIEW: APPS.JTF_TERR_ESCALATIONS_NAV
12.1.1
-
VIEW: APPS.CN_PLAN_ELEMENTS_NAV
12.1.1
-
VIEW: APPS.JTF_TERR_ESCALATIONS_NAV
12.2.2
-
View: JTF_TERR_TEMPLATES_NAV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_TEMPLATES_NAV, object_name:JTF_TERR_TEMPLATES_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Templates - Defines navigator tree structure for territory template to created territory hierarchy. , implementation_dba_data: APPS.JTF_TERR_TEMPLATES_NAV ,
-
VIEW: APPS.CN_COMP_GROUPS_NAV
12.2.2
-
View: JTF_TERR_TEMPLATES_NAV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_TEMPLATES_NAV, object_name:JTF_TERR_TEMPLATES_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Templates - Defines navigator tree structure for territory template to created territory hierarchy. , implementation_dba_data: APPS.JTF_TERR_TEMPLATES_NAV ,
-
View: JTF_TERR_ESCALATIONS_NAV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_ESCALATIONS_NAV, object_name:JTF_TERR_ESCALATIONS_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Escalations - Defines navigator tree structure for territory escalations escalating hierarchy. , implementation_dba_data: APPS.JTF_TERR_ESCALATIONS_NAV ,
-
View: JTF_TERR_ESCALATIONS_NAV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_ESCALATIONS_NAV, object_name:JTF_TERR_ESCALATIONS_NAV, status:VALID, product: JTF - CRM Foundation , description: View for UI Navigator - view by Escalations - Defines navigator tree structure for territory escalations escalating hierarchy. , implementation_dba_data: APPS.JTF_TERR_ESCALATIONS_NAV ,
-
View: XNC_CATALOG_SET_NAV
12.2.2
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Runtime Product Catalog Setup tree , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.CN_COMP_GROUPS_NAV
12.1.1
-
VIEW: APPS.CN_PAY_PLANS_NAV
12.1.1
-
VIEW: APPS.CN_HIERARCHIES_NAV
12.1.1
-
VIEW: APPS.CN_COMP_PLANS_NAV
12.2.2
-
VIEW: APPS.CN_REV_CLASSES_NAV
12.2.2
-
View: XNC_CATALOG_SET_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Runtime Product Catalog Setup tree , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.CN_RULES_NAV
12.2.2
-
VIEW: APPS.CN_RULES_NAV
12.1.1
-
View: XNC_PL_ALL_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Runtime Product Catalog Navigator tree , implementation_dba_data: Not implemented in this database ,
-
View: XNC_PCS_STATITM_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Product Catalog Setup tree. Returns all items falling under a valid status. , implementation_dba_data: Not implemented in this database ,
-
View: XNC_PL_ALL_NAV
12.2.2
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Runtime Product Catalog Navigator tree , implementation_dba_data: Not implemented in this database ,
-
View: XNC_IB_ACTIVE_ACCT_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: This view is used in Install Base Navigator tree to display active accounts. , implementation_dba_data: Not implemented in this database ,
-
View: XNC_ORD_QUOTETYP_NAV
12.2.2
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Quote Navigator tree , implementation_dba_data: Not implemented in this database ,
-
View: XNC_ORD_QUOTETYP_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Quote Navigator tree , implementation_dba_data: Not implemented in this database ,
-
View: XNC_IB_H_ACCT_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: This view gives account numbers for inactive products. , implementation_dba_data: Not implemented in this database ,
-
View: XNC_PCS_CATGRP_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Product Catalog Setup tree , implementation_dba_data: Not implemented in this database ,
-
View: XNC_ORD_IB_SYSTEM_NAV
12.1.1
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Installed Base tree , implementation_dba_data: Not implemented in this database ,
-
View: XNC_ORD_IB_SYS_ACTIVE_NAV
12.2.2
product: XNC - Sales for Communications (Obsolete) , description: View used to define the attribute fields for an AK object for construction of the Installed Base tree , implementation_dba_data: Not implemented in this database ,
-
View: XNC_IB_ACTIVE_ACCT_NAV
12.2.2
product: XNC - Sales for Communications (Obsolete) , description: This view is used in Install Base Navigator tree to display active accounts. , implementation_dba_data: Not implemented in this database ,
-
View: XNC_IB_H_ACCT_NAV
12.2.2
product: XNC - Sales for Communications (Obsolete) , description: This view gives account numbers for inactive products. , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.CN_PAY_GROUPS_NAV
12.1.1
-
View: CSP_PLIST_ITMSLNO_NAV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSP.CSP_PLIST_ITMSLNO_NAV, object_name:CSP_PLIST_ITMSLNO_NAV, status:VALID, product: CSP - Spares Management , description: View for packlist items to Serial/Lot flow , implementation_dba_data: APPS.CSP_PLIST_ITMSLNO_NAV ,
-
VIEW: APPS.CN_CALC_EXPS_NAV
12.1.1
-
VIEW: APPS.CN_RATE_TABLES_NAV
12.1.1
-
VIEW: APPS.CN_ROLES_NAV
12.2.2