Search Results base_region_appl_id




Overview

APPS.AK_REGION_LOV_RELATIONS_V is a reporting and integration view in the Oracle E-Business Suite Applications (APPS) schema. It exposes the configuration of List of Values (LOV) relationships defined against Oracle Application Framework (OAF) / AK regions and their region items. In EBS, the AK (Application Kit) schema stores metadata describing how regions, region items, and their associated LOVs are wired together in self-service and OA-based pages. The base transactional table AK_REGION_LOV_RELATIONS captures the raw relationship rows, but it stores only numeric application identifiers and short codes. This view joins those rows to the descriptive region and region-item views so that reports, diagnostics, and integration extracts can present human-readable region names, attribute names, and item names alongside the relationship metadata.

Because the view presents denormalized descriptive information for both the source region/attribute and the target LOV region/attribute, it is particularly useful when investigating how a specific region_code behaves, which attributes drive a given LOV, and how base regions contribute to dependent or cascading LOV behavior.

Underlying Base Objects

According to the documented ETRM 12.2.2 metadata, the view is owned by APPS and is defined over three referenced base objects:

  • AK_REGIONS_VL (VIEW) — supplies the region-level descriptive name via columns such as NAME and REGION_CODE, keyed by REGION_APPLICATION_ID and REGION_CODE.
  • AK_REGION_ITEMS_VL (VIEW) — supplies attribute-level descriptive data, including ATTRIBUTE_NAME and ITEM_NAME, keyed by region and attribute identifiers.
  • AK_REGION_LOV_RELATIONS (SYNONYM) — the driving relationship table (referenced as ALR1), which holds the actual LOV relation rows and the ROWID used as ROW_ID.

The view text aliases AK_REGIONS_VL three times (ARV1, ARV2, ARV3) to resolve the source region, the LOV region, and the base region respectively. Similarly, AK_REGION_ITEMS_VL is aliased three times (ARI1, ARI2, ARI3) to resolve the source attribute, the LOV attribute, and the base attribute. Inner joins on REGION_APPLICATION_ID/REGION_CODE plus ATTRIBUTE_APPLICATION_ID/ATTRIBUTE_CODE ensure each relationship row is enriched with descriptive names from all three logical perspectives. The presence of the ROW_ID (ALR1.ROWID) column indicates the view is intended to support updatable or row-identifying operations.

Key Columns

The view exposes identifiers, descriptive names, and audit columns. Principal columns include:

Common Use Cases and Queries

Typical scenarios include auditing LOV wiring for a specific region, locating every attribute bound to a target LOV region, and tracing base-region dependencies for cascading LOVs.

SELECT REGION_CODE,
       REGION_NAME,
       ATTRIBUTE_CODE,
       ATTRIBUTE_NAME,
       LOV_REGION_CODE,
       LOV_REGION_NAME
FROM   APPS.AK_REGION_LOV_RELATIONS_V
WHERE  REGION_CODE = :p_region_code;

To find all relationships where a given attribute is required:

SELECT REGION_CODE,
       ATTRIBUTE_CODE,
       LOV_REGION_CODE,
       LOV_ATTRIBUTE_CODE,
       BASE_REGION_CODE,
       DIRECTION_FLAG
FROM   APPS.AK_REGION_LOV_RELATIONS_V
WHERE  REQUIRED_FLAG = 'Y'
AND    REGION_APPLICATION_ID = :p_app_id;

To trace base-region dependencies for a target LOV:

SELECT BASE_REGION_CODE,
       BASE_ATTRIBUTE_CODE,
       REGION_CODE,
       ATTRIBUTE_CODE
FROM   APPS.AK_REGION_LOV_RELATIONS_V
WHERE  LOV_REGION_CODE = :p_lov_region_code;

Because the view offers descriptive names rather than raw IDs and codes alone, it serves well in diagnostic reports, metadata discovery queries, and migration validation scripts, particularly when the searched entry point is region_code.