Search Results master_ref
Overview
The APPS.AR_LOCATION_VALUES view is a critical data object within Oracle E-Business Suite (EBS) Release 12.1.1 and 12.2.2, specifically for the Receivables (AR) module. It serves as a hierarchical, denormalized representation of the location flexfield (RLOC) values and their parent-child relationships. The view is built upon the Trading Community Architecture (TCA) foundation, primarily querying the HZ_GEOGRAPHIES and HZ_RELATIONSHIPS tables. Its core function is to expose valid location segments—such as Country, State, City, or Postal Code—as defined in the location flexfield structure, while explicitly modeling the hierarchical dependencies between these segments using the 'CHILD_OF' relationship code. This makes it an essential resource for any process or report requiring a structured list of locations with their lineage.
Key Information Stored
The view consolidates key identifiers, descriptive data, and relationship information. Primary columns include LOCATION_SEGMENT_ID (the unique GEOGRAPHY_ID from TCA), LOCATION_SEGMENT_QUALIFIER (the geography type, e.g., STATE), and LOCATION_SEGMENT_VALUE (the geography name). The hierarchical structure is defined by PARENT_SEGMENT_ID, which links a child segment to its immediate parent. The LOCATION_STRUCTURE_ID (ID_FLEX_NUM) ties each row to a specific active location flexfield structure. The view also carries standard EBS WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE), flexfield descriptive columns (LOCATION_SEGMENT_DESCRIPTION, LOCATION_SEGMENT_USER_VALUE), and fifteen custom attribute columns. A critical filter in its source query ensures it only includes geographies with GEOGRAPHY_USE = 'MASTER_REF'.
Common Use Cases and Queries
This view is predominantly used for populating hierarchical lists of values (LOVs) in forms and for hierarchical reporting on customer addresses and territories. A common query pattern retrieves all child segments for a given parent, essential for cascading LOVs. For example, to find all cities within a specific state (where the state's GEOGRAPHY_ID is known):
- SELECT location_segment_value, location_segment_description FROM apps.ar_location_values WHERE parent_segment_id = <state_id> AND location_segment_qualifier = 'CITY' ORDER BY 1;
Another frequent use is to trace the full hierarchy of a location by recursively querying the view using CONNECT BY or a recursive WITH clause, leveraging the PARENT_SEGMENT_ID relationship. Reports on customer distribution by geographic region also heavily depend on this view to correctly aggregate data according to the defined location hierarchy.
Related Objects
The view is intrinsically linked to several core TCA and application flexfield objects. Its source query directly joins:
- HZ_GEOGRAPHIES: The master table for all geography data.
- HZ_RELATIONSHIPS: Stores the 'CHILD_OF' relationships that define the hierarchy.
- FND_SEGMENT_ATTRIBUTE_VALUES (for child and parent): Determines which geography types are valid segments in the RLOC flexfield.
- FND_ID_FLEX_SEGMENTS (for child and parent): Defines the structure and order of the location flexfield segments.
It is related to the AR_LOCATIONS_V view, which provides a flattened, formatted location string. This view is also referenced by various standard APIs and forms within the Receivables and Order Management modules for address validation and territory assignment.
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_GEOGRAPHIES
12.2.2
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_GEOGRAPHIES
12.1.1
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_GEOGRAPHY_IDENTIFIERS
12.1.1
-
VIEW: APPS.AR_LOCATION_VALUES
12.1.1
-
APPS.HZ_GEOGRAPHY_PUB dependencies on HZ_RELATIONSHIPS
12.1.1
-
APPS.HZ_GEOGRAPHY_PUB dependencies on HZ_HIERARCHY_NODES
12.2.2
-
APPS.HZ_GEOGRAPHY_PUB dependencies on HZ_HIERARCHY_NODES
12.1.1
-
VIEW: APPS.OE_INLINE_TWO_LEVEL_V
12.2.2
-
VIEW: APPS.AR_LOCATION_VALUES
12.2.2
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_HIERARCHY_NODES
12.2.2
-
APPS.HZ_GNR_PKG dependencies on HZ_GEOGRAPHY_IDENTIFIERS
12.1.1
-
APPS.HZ_GNR_PKG dependencies on HZ_GEOGRAPHY_IDENTIFIERS
12.2.2
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_GEOGRAPHY_IDENTIFIERS
12.2.2
-
APPS.HZ_GEOGRAPHY_PUB dependencies on HZ_RELATIONSHIPS
12.2.2
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_HIERARCHY_NODES
12.1.1
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_HIERARCHY_NODES
12.2.2
-
APPS.ZX_TAX_CONTENT_UPLOAD dependencies on HZ_GEOGRAPHIES_S
12.2.2
-
VIEW: APPS.OE_INLINE_TWO_LEVEL_V
12.1.1
-
View: OE_INLINE_TWO_LEVEL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_INLINE_TWO_LEVEL_V, object_name:OE_INLINE_TWO_LEVEL_V, status:VALID, product: ONT - Order Management , description: Used in Add Customer. Based on table ar_location_values. , implementation_dba_data: APPS.OE_INLINE_TWO_LEVEL_V ,
-
APPS.HZ_GNR_PVT dependencies on HZ_GEOGRAPHY_IDENTIFIERS
12.2.2
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_HIERARCHY_NODES
12.1.1
-
APPS.ZX_TAX_CONTENT_UPLOAD dependencies on HZ_GEOGRAPHIES_S
12.1.1
-
APPS.ZX_TAX_CONTENT_UPLOAD dependencies on HZ_GEOGRAPHIES
12.1.1
-
View: AR_LOCATION_VALUES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AR_LOCATION_VALUES, object_name:AR_LOCATION_VALUES, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.AR_LOCATION_VALUES ,
-
View: AR_LOCATION_VALUES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AR_LOCATION_VALUES, object_name:AR_LOCATION_VALUES, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.AR_LOCATION_VALUES ,
-
APPS.ZX_TAX_CONTENT_UPLOAD dependencies on HZ_GEOGRAPHIES
12.2.2
-
APPS.HZ_GEO_UI_UTIL_PUB dependencies on HZ_GEOGRAPHIES
12.2.2
-
APPS.HZ_GEOGRAPHY_PUB SQL Statements
12.2.2
-
APPS.HZ_GNR_PVT SQL Statements
12.2.2
-
APPS.HZ_GEO_UI_UTIL_PUB dependencies on HZ_GEOGRAPHIES
12.1.1
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_GEOGRAPHIES
12.2.2
-
APPS.HZ_GNR_PVT SQL Statements
12.1.1
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_GEOGRAPHIES
12.1.1
-
APPS.HZ_GEOGRAPHY_PUB SQL Statements
12.1.1
-
APPS.HZ_GEOGRAPHY_PUB dependencies on HZ_GEOGRAPHIES
12.1.1
-
APPS.HZ_GEOGRAPHY_PUB dependencies on HZ_GEOGRAPHIES
12.2.2
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_RELATIONSHIPS
12.2.2
-
VIEW: APPS.AR_LOCATION_RATES
12.2.2
-
APPS.ZX_TRD_SERVICES_PUB_PKG dependencies on HZ_GEOGRAPHY_TYPES_B
12.1.1
-
Lookup Type: HZ_RELATIONSHIP_TYPE
12.1.1
product: AR - Receivables , meaning: TCA Relationship Types , description: User friendly names for Relationship Types ,
-
APPS.HZ_GNR_PVT dependencies on HZ_GEOGRAPHY_IDENTIFIERS
12.1.1
-
Lookup Type: HZ_RELATIONSHIP_TYPE
12.2.2
product: AR - Receivables , meaning: TCA Relationship Types , description: User friendly names for Relationship Types ,
-
APPS.HZ_GEO_UI_UTIL_PUB dependencies on HZ_HIERARCHY_NODES
12.2.2
-
APPS.ZX_DETERMINING_FACTORS_PKG dependencies on HZ_GEOGRAPHY_TYPES_VL
12.1.1
-
APPS.HZ_GEO_UI_UTIL_PUB dependencies on HZ_HIERARCHY_NODES
12.1.1
-
APPS.HZ_GNR_PKG SQL Statements
12.2.2
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_RELATIONSHIPS
12.1.1
-
VIEW: APPS.AR_LOCATION_RATES
12.1.1
-
APPS.ZX_TAX_CONTENT_UPLOAD dependencies on FND_GLOBAL
12.2.2
-
APPS.ZX_DETERMINING_FACTORS_PKG dependencies on HZ_GEOGRAPHY_TYPES_VL
12.2.2