Search Results as_territory_values
Overview
AS_TERRITORY_VALUES is a Sales Foundation (AS) view that exposes territory value definitions maintained by Oracle's Territory Manager. It is documented in the ETRM reference material for releases 12.1.1 and 12.2.2 as Obsolete. Territory values (multi-org), and the ETRM metadata explicitly records its implementation status as "Not implemented in this database." Consequently, the object should be treated as a legacy, non-functional view rather than a supported reporting interface in a current 12.1.1 or 12.2.2 environment. Its historical purpose was to present the multi-organization filtered slice of territory values — the combination of qualification criteria (qualifiers and their low/high value ranges) that determine which customers, addresses, items, or other entities are assigned to a given territory.
A territory value row binds a qualifier to a specific match condition. Because territories in Sales Foundation are frequently defined and reused across operating units, the underlying storage is an _ALL table and the view applies an operating unit filter through the CLIENT_INFO session value, allowing the same territory definition to resolve to organization-specific values. The presence of ORG_ID as a column and in the WHERE clause confirms this multi-org design intent.
Underlying Base Objects
Per the supplied metadata, no base objects are separately documented for this view; the view text itself names AS_TERRITORY_VALUES_ALL as its sole source. The view definition is a straight projection of every column from AS_TERRITORY_VALUES_ALL, with a multi-org predicate applied. That predicate compares NVL(ORG_ID, ...) against the operating unit derived from USERENV('CLIENT_INFO'), defaulting unmatched values to -99. In effect, AS_TERRITORY_VALUES is a filtered wrapper over the _ALL table and contains no aggregation, join, or computed business column.
Because the ETRM metadata states the object is obsolete and not implemented, the _ALL table may be absent or unsupported in later patch levels. Readers should verify existence against the specific instance's data dictionary before relying on either name.
Key Columns
- TERRITORY_VALUE_ID — Unique identifier for the territory value row.
- TERRITORY_ID — Territory to which this value qualification belongs.
- SEEDED_QUALIFIER_ID — Identifies the seeded qualifier (for example, customer name, state, country, item) against which the low/high range is matched. This is the column users most often search for when tracing how a territory is qualified.
- LOW_VALUE_CHAR / HIGH_VALUE_CHAR — Character range boundaries for the qualifier.
- LOW_VALUE_NUMBER / HIGH_VALUE_NUMBER — Numeric range boundaries for the qualifier.
- ROLLUP_TERRITORY_ID — Territory rolled up to for hierarchical territory definitions.
- CUSTOMER_ID, ADDRESS_ID, STATE_PROVINCE_CODE, COUNTRY — Customer and address dimension qualifiers.
- INVENTORY_ITEM_ID, ORGANIZATION_ID — Item and inventory organization qualifiers.
- INTEREST_TYPE_ID, PRIMARY_INTEREST_CODE_ID, SECONDARY_INTEREST_CODE_ID, MATCH_CODE — Interest and matching attributes used in qualification logic.
- ORG_ID — Operating unit; drives the multi-org filter.
- CURRENCY_CODE — Currency context for the territory value.
- Audit columns — LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN.
Common Use Cases and Queries
Historically, this view supported reporting on territory qualification rules and diagnostics of territory assignment. Typical access filters by territory and qualifier, as shown below.
- Retrieve all qualifiers for a territory:
SELECT territory_value_id, seeded_qualifier_id, low_value_char, high_value_char FROM as_territory_values WHERE territory_id = :p_territory_id; - Trace a specific qualifier's ranges across territories:
SELECT territory_id, low_value_number, high_value_number FROM as_territory_values WHERE seeded_qualifier_id = :p_qualifier_id; - Identify rollup relationships:
SELECT territory_id, rollup_territory_id FROM as_territory_values WHERE rollup_territory_id IS NOT NULL;
Given the documented obsolescence, any query should be validated against the target instance, and migration to supported territory-related objects should be considered for 12.1.1 and 12.2.2 implementations.
-
View: AS_TERRITORY_VALUES
12.1.1
product: AS - Sales Foundation , description: Obsolete. Territory values (multi-org) , implementation_dba_data: Not implemented in this database ,
-
View: AS_TERRITORY_VALUES
12.2.2
product: AS - Sales Foundation , description: Obsolete. Territory values (multi-org) , implementation_dba_data: Not implemented in this database ,
-
View: AS_TERR_ROLLUPS_IMMEDIATE_V
12.2.2
product: AS - Sales Foundation , description: Territory rollups view , implementation_dba_data: Not implemented in this database ,
-
View: AS_TERR_ROLLUPS_IMMEDIATE_V
12.1.1
product: AS - Sales Foundation , description: Territory rollups view , implementation_dba_data: Not implemented in this database ,
-
View: AS_TERRITORY_VALUES_V
12.1.1
product: AS - Sales Foundation , description: Territory values view , implementation_dba_data: Not implemented in this database ,
-
View: AS_TERRITORY_VALUES_V
12.2.2
product: AS - Sales Foundation , description: Territory values view , implementation_dba_data: Not implemented in this database ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2