Results for “area2_name”

8 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

JTF_LOC_HIERARCHIES_VL is a validation-level (VL) view owned by the APPS schema in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It belongs to the JTF – CRM Foundation product family, which provides the shared location, party, and territory infrastructure used across CRM and order-to-cash modules. The view is defined primarily over the JTF_LOC_HIERARCHIES_B base table and joins to JTF_LOC_TYPES_VL and multiple instances of JTF_LOC_AREAS_TL to resolve internal ID and code pairs into user-facing descriptive names.

The "_VL" suffix indicates that the view exposes translated reference data. Each JTF_LOC_AREAS_TL join is filtered by LANGUAGE(+) = USERENV('LANG'), so location area names are returned in the session's current language rather than a fixed language. This makes the view suitable for multilingual reporting and for LOV (list of values) queries where a localized description is required. Because it flattens the hierarchical geography of a location record into a single row, JTF_LOC_HIERARCHIES_VL is a convenient integration and reporting source for CRM location hierarchies.

Underlying Base Objects

The documented base objects referenced by the view are:

The joins to JTF_LOC_AREAS_TL are outer joins (indicated by the (+) syntax), so a hierarchy row is returned even when one or more of its area IDs is null. The join to JTF_LOC_TYPES_VL is an inner join.

Key Columns

Common Use Cases and Queries

Typical uses include localized geography lookups for CRM screens, hierarchical address reporting, and downstream integrations that require a single flattened location record with readable names.

To retrieve the localized names for a given hierarchy:

  • SELECT location_hierarchy_id, location_type_name, country_name, state_name, city_name, area1_name, area2_name FROM jtf_loc_hierarchies_vl WHERE location_hierarchy_id = :p_id;

To find the LOCATION_AREA_NAME values associated with a specific city or area:

  • SELECT location_hierarchy_id, city_code, city_name, area1_name FROM jtf_loc_hierarchies_vl WHERE city_name LIKE 'San%';

To build a report of hierarchies by country, excluding inactive rows:

  • SELECT country_name, state_name, city_name, location_type_name FROM jtf_loc_hierarchies_vl WHERE country_code = 'US' AND (end_date_active IS NULL OR end_date_active > SYSDATE) ORDER BY state_name, city_name;

Because the view is read-only and based on the _B table, DML should be performed against the underlying base tables or their corresponding APIs rather than through the view. Report logic should also account for the outer joins, which may return null area names where hierarchy attributes are not populated.