Search Results as_territory_groups_all
Overview
The AS_TERRITORY_GROUPS_ALL table is a core data structure within the Oracle E-Business Suite Sales Foundation module (AS). Its primary function is to define and store master records for territory groups, which are logical collections of sales territories used for hierarchical organization, reporting, and assignment rules. The table is owned by the OSM schema and is designed to support multi-organization access control through its "_ALL" suffix, meaning it contains data across all operating units when the relevant HR Security profile option is enabled. A critical point from the provided ETRM documentation is its status as "Obsolete." This indicates that while the table exists in versions 12.1.1 and 12.2.2, its associated functionality may be deprecated, and new implementations should utilize alternative, supported territory management features.
Key Information Stored
The table's structure centers on a unique territory group identifier and a name. The primary key is the AS_TERRITORY_GROUPS_PK constraint on the TERRITORY_GROUP_ID column, which holds the system-generated unique identifier for each group. A second unique constraint, AS_TERRITORY_GROUPS_UK, is enforced on the NAME column, ensuring no duplicate territory group names exist. While the specific metadata for other standard columns (e.g., CREATION_DATE, LAST_UPDATE_DATE, LAST_UPDATED_BY) is not listed in the excerpt, it is standard for EBS tables to include these WHO columns for auditing. The key data point stored is the relationship between a TERRITORY_GROUP_ID and its NAME.
Common Use Cases and Queries
Given its obsolete status, direct operational use in new customizations is discouraged. However, it remains relevant for historical data analysis, supporting legacy reports, and understanding existing data relationships. Common queries involve joining this table to its related territory tables to generate hierarchical lists or validate data integrity. A typical pattern is to retrieve all territory groups with their associated territories. Due to the obsolete nature, queries are often for diagnostic or migration purposes rather than active transaction processing.
SELECT tg.NAME AS TERRITORY_GROUP, t.NAME AS TERRITORY_NAME FROM AS_TERRITORY_GROUPS_ALL tg, AS_TERRITORIES_ALL t WHERE tg.TERRITORY_GROUP_ID = t.TERRITORY_GROUP_ID ORDER BY tg.NAME, t.NAME;
Related Objects
The ETRM documentation explicitly defines the following foreign key relationships, where AS_TERRITORY_GROUPS_ALL is the parent table. These relationships are fundamental to the territory data model:
- AS_TERRITORIES_ALL: This table references AS_TERRITORY_GROUPS_ALL via the column
AS_TERRITORIES_ALL.TERRITORY_GROUP_ID. This links individual territories to their parent group. - AS_TERRITORY_TYPES_ALL: This table has two documented foreign key relationships referencing AS_TERRITORY_GROUPS_ALL, both using the column
AS_TERRITORY_TYPES_ALL.TERRITORY_GROUP_ID. This associates territory types (categories or classifications) with specific territory groups.
The primary key AS_TERRITORY_GROUPS_PK (TERRITORY_GROUP_ID) supports these relationships, ensuring referential integrity within the territory management schema.
-
Table: AS_TERRITORY_GROUPS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_GROUPS_ALL, object_name:AS_TERRITORY_GROUPS_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete Defines territory groups , implementation_dba_data: OSM.AS_TERRITORY_GROUPS_ALL ,
-
Table: AS_TERRITORY_GROUPS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_GROUPS_ALL, object_name:AS_TERRITORY_GROUPS_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete Defines territory groups , implementation_dba_data: OSM.AS_TERRITORY_GROUPS_ALL ,
-
VIEW: OSM.AS_TERRITORY_GROUPS_ALL#
12.2.2
owner:OSM, object_type:VIEW, object_name:AS_TERRITORY_GROUPS_ALL#, status:VALID,
-
SYNONYM: APPS.AS_TERRITORY_GROUPS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_TERRITORY_GROUPS_ALL, status:VALID,
-
SYNONYM: APPS.AS_TERRITORY_GROUPS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AS_TERRITORY_GROUPS_ALL, status:VALID,
-
Table: AS_TERRITORY_TYPES_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_TYPES_ALL, object_name:AS_TERRITORY_TYPES_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete To JTF Terr Core Defines territory types , implementation_dba_data: OSM.AS_TERRITORY_TYPES_ALL ,
-
Table: AS_TERRITORY_TYPES_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_TYPES_ALL, object_name:AS_TERRITORY_TYPES_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete To JTF Terr Core Defines territory types , implementation_dba_data: OSM.AS_TERRITORY_TYPES_ALL ,
-
VIEW: OSM.AS_TERRITORY_GROUPS_ALL#
12.2.2
-
Table: AS_TERRITORIES_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORIES_ALL, object_name:AS_TERRITORIES_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete Sales out to JTF Terr Core -- Holds territory definitions , implementation_dba_data: OSM.AS_TERRITORIES_ALL ,
-
Table: AS_TERRITORIES_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORIES_ALL, object_name:AS_TERRITORIES_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete Sales out to JTF Terr Core -- Holds territory definitions , implementation_dba_data: OSM.AS_TERRITORIES_ALL ,
-
TABLE: OSM.AS_TERRITORY_GROUPS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_GROUPS_ALL, object_name:AS_TERRITORY_GROUPS_ALL, status:VALID,
-
TABLE: OSM.AS_TERRITORY_GROUPS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_GROUPS_ALL, object_name:AS_TERRITORY_GROUPS_ALL, status:VALID,
-
View: AS_TERRITORY_GROUPS
12.2.2
product: AS - Sales Foundation , description: Obsolete. Territory groups (multi-org) , implementation_dba_data: Not implemented in this database ,
-
View: AS_TERRITORY_GROUPS
12.1.1
product: AS - Sales Foundation , description: Obsolete. Territory groups (multi-org) , implementation_dba_data: Not implemented in this database ,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
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.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.AST_OFL_TERR_ACC_CLASS_PARAM
12.1.1
-
PACKAGE BODY: APPS.AST_OFL_TERR_ACC_CLASS_PARAM
12.2.2
-
eTRM - AS Tables and Views
12.2.2
description: - Retrofitted ,
-
eTRM - AS Tables and Views
12.1.1
description: - Retrofitted ,
-
eTRM - AS Tables and Views
12.2.2
description: - Retrofitted ,
-
eTRM - AS Tables and Views
12.1.1
description: - Retrofitted ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1