Search Results auto_assign_resources_flag
Overview
APPS.JTF_TERR_V is a reporting and integration view in Oracle E-Business Suite that exposes the territory definitions maintained by the Territory Manager (also referred to as the Resource Manager or ETRM — Enterprise Territory and Resource Management — framework). The view presents the full set of descriptive, control, and auditing attributes associated with each territory record, providing a denormalized, read-oriented projection of the JTF_TERR base table. Because territory definitions drive quota assignment, sales credit allocation, resource auto-assignment, and territory-based access control across Oracle Sales, Oracle Incentive Compensation, and related modules, JTF_TERR_V serves as a stable reveal point for both SQL*Plus reports and programmatic integrations.
The view is owned by the APPS schema and is available in both EBS 12.1.1 and 12.2.2. The column list is identical in the two releases, making the view a convenient compatibility surface for tools and extensions written against either version. The presence of the standard EBS WHO columns (LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN) alongside the concurrent-manager audit columns (REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE) allows report authors to track record provenance and staleness.
Underlying Base Objects
The documented view definition selects all columns from JTF_TERR, which is listed as a synonym in the ETRM 12.2.2 metadata. In practice JTF_TERR is the primary territory definition table; the synonym resolves to the underlying table owned by the territory schema. The view does not introduce joins, filters, or derivations — it is a one-to-one projection of the base table. As a result, each row in JTF_TERR_V corresponds to a single territory row in JTF_TERR, and the view inherits all row-level partitioning and multi-org semantics (via ORG_ID) of the base object. Because no WHERE clause is applied, the view returns both planned and active territories; consumers are expected to filter on the flags exposed by the view.
Key Columns
- TERR_ID — Primary key of the territory; the join key to territory member, resource assignment, and win-rule tables.
- NAME, DESCRIPTION — Descriptive identifiers for reporting and user display.
- ENABLED_FLAG, PLANNED_FLAG — Status indicators distinguishing active territories from planned or disabled ones.
- START_DATE_ACTIVE, END_DATE_ACTIVE — Effective-dating range controlling when the territory is in force.
- PARENT_TERRITORY_ID — Self-referencing pointer that establishes territory hierarchies.
- TERRITORY_TYPE_ID, TEMPLATE_TERRITORY_ID, TEMPLATE_FLAG — Classify the territory and identify templates used to generate new territories.
- ESCALATION_TERRITORY_ID, ESCALATION_TERRITORY_FLAG — Define escalation routing for territories.
- OVERLAP_ALLOWED_FLAG, RANK, NUM_WINNERS — Govern how competing territories resolve when a transaction or resource can match more than one territory.
- UPDATE_FLAG — Controls whether the territory may be modified.
- AUTO_ASSIGN_RESOURCES_FLAG — The column of interest to users searching this term. When enabled, the territory participates in automatic resource assignment processing, meaning eligible resources are assigned to the territory (and consequently to the transactions quantified by that territory) without manual intervention. Analysts query this flag to audit which territories drive automated assignment, to troubleshoot unexpected assignments, and to align assignment behavior with quota or credit rules.
- ORG_ID — Operating unit (multi-org) discriminator; mandatory for correct filtering in multi-org environments.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1–15 — Descriptive flexfield segments extending the territory record.
- Audit columns — LAST_UPDATE_DATE and related WHO fields for change tracking.
Common Use Cases and Queries
Typical scenarios include listing active territories for a given operating unit, auditing auto-assignment configuration, and reconstructing territory hierarchies. The following query lists territories with automatic resource assignment enabled, the use case most frequently associated with the auto_assign_resources_flag search term:
SELECT terr_id, name, enabled_flag, auto_assign_resources_flag, org_id, start_date_active, end_date_active FROM apps.jtf_terr_v WHERE auto_assign_resources_flag = 'Y' AND enabled_flag = 'Y' AND org_id = :org_id;SELECT terr_id, name, parent_territory_id, rank, num_winners, overlap_allowed_flag FROM apps.jtf_terr_v WHERE org_id = :org_id AND planned_flag = 'N';SELECT t.terr_id, t.name, t.auto_assign_resources_flag, t.last_update_date FROM apps.jtf_terr_v t WHERE t.territory_type_id = :type_id ORDER BY t.rank;
Because the view is unfiltered, always constrain queries by ORG_ID, ENABLED_FLAG, and applicable date ranges to avoid returning planned, disabled, or cross-organization rows. Aggregate reports joining JTF_TERR_V to territory member tables should key on TERR_ID and observe the same effective-dating rules applied to the base table.
-
VIEW: APPS.JTF_TERR_V
12.1.1
-
VIEW: JTF.JTF_TERR_ALL#
12.2.2
-
VIEW: APPS.JTF_TERR_V
12.2.2
-
View: JTF_TERR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_V, object_name:JTF_TERR_V, status:VALID, product: JTF - CRM Foundation , implementation_dba_data: APPS.JTF_TERR_V ,
-
View: JTF_TERR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_V, object_name:JTF_TERR_V, status:VALID, product: JTF - CRM Foundation , implementation_dba_data: APPS.JTF_TERR_V ,
-
View: JTF_TERR_OVERVIEW_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_OVERVIEW_V, object_name:JTF_TERR_OVERVIEW_V, status:VALID, product: JTF - CRM Foundation , description: This view shows the header information for a territory. , implementation_dba_data: APPS.JTF_TERR_OVERVIEW_V ,
-
View: JTF_TERR
12.1.1
product: JTF - CRM Foundation , description: Territories (multi-org) , implementation_dba_data: Not implemented in this database ,
-
View: JTF_TERR
12.2.2
product: JTF - CRM Foundation , description: Territories (multi-org) , implementation_dba_data: Not implemented in this database ,
-
View: JTF_TERR_OVERVIEW_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_OVERVIEW_V, object_name:JTF_TERR_OVERVIEW_V, status:VALID, product: JTF - CRM Foundation , description: This view shows the header information for a territory. , implementation_dba_data: APPS.JTF_TERR_OVERVIEW_V ,
-
VIEW: JTF.JTF_TERR_ALL#
12.2.2
owner:JTF, object_type:VIEW, object_name:JTF_TERR_ALL#, status:VALID,
-
VIEW: APPS.JTF_TERR_OVERVIEW_V
12.1.1
-
VIEW: APPS.JTF_TERR_OVERVIEW_V
12.2.2
-
VIEW: APPS.JTF_TERR_OVERVIEW_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_OVERVIEW_V, object_name:JTF_TERR_OVERVIEW_V, status:VALID,
-
VIEW: APPS.JTF_TERR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_V, object_name:JTF_TERR_V, status:VALID,
-
VIEW: APPS.JTF_TERR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_V, object_name:JTF_TERR_V, status:VALID,
-
VIEW: APPS.JTF_TERR_OVERVIEW_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TERR_OVERVIEW_V, object_name:JTF_TERR_OVERVIEW_V, status:VALID,
-
TABLE: JTF.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,
-
APPS.JTF_TERR_PKG SQL Statements
12.1.1
-
TABLE: JTF.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,
-
APPS.JTF_TERR_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JTF_TERR_PKG
12.2.2
-
PACKAGE BODY: APPS.JTF_TERR_PKG
12.1.1
-
APPS.JTF_TERRITORY_GET_PUB SQL Statements
12.2.2
-
APPS.JTF_TERRITORY_GET_PUB SQL Statements
12.1.1
-
APPS.JTF_TERRITORY_PVT SQL Statements
12.1.1
-
APPS.JTF_TERRITORY_PVT SQL Statements
12.2.2
-
PACKAGE: APPS.JTF_TERRITORY_GET_PUB
12.1.1
-
PACKAGE: APPS.JTF_TERRITORY_GET_PUB
12.2.2
-
APPS.JTF_TERR_PKG dependencies on FND_API
12.1.1
-
APPS.JTF_TERR_PKG dependencies on FND_API
12.2.2
-
PACKAGE: APPS.JTF_TERRITORY_PVT
12.1.1
-
PACKAGE: APPS.JTF_TERRITORY_PVT
12.2.2
-
APPS.JTF_TERRITORY_GET_PUB dependencies on FND_API
12.1.1
-
APPS.JTF_TERRITORY_GET_PUB dependencies on FND_API
12.2.2
-
PACKAGE: APPS.JTF_TERRITORY_PUB
12.1.1
-
APPS.JTF_TERRITORY_PVT dependencies on FND_API
12.2.2
-
APPS.JTF_TERRITORY_PVT dependencies on FND_API
12.1.1
-
PACKAGE: APPS.JTF_TERRITORY_PUB
12.2.2
-
PACKAGE BODY: APPS.JTF_TERRITORY_PVT
12.1.1
-
PACKAGE BODY: APPS.JTF_TERRITORY_PVT
12.2.2
-
PACKAGE BODY: APPS.JTF_TERRITORY_GET_PUB
12.2.2
-
PACKAGE BODY: APPS.JTF_TERRITORY_GET_PUB
12.1.1
-
APPS.JTF_TERRITORY_PUB dependencies on FND_API
12.1.1
-
APPS.JTF_TERRITORY_PUB dependencies on FND_API
12.2.2
-
eTRM - JTF Tables and Views
12.1.1
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,