Search Results xnp_geo_areas_b




Overview

The XNP_GEO_AREAS_B table is a core master data table within the Oracle E-Business Suite (EBS) Number Portability (XNP) module, present in both releases 12.1.1 and 12.2.2. It serves as the primary repository for defining and storing geographic areas. In the context of telecommunications number portability, these geographic areas are fundamental for managing number ranges, defining service and interconnect regions, and establishing geographic hierarchies. The table's role is to provide a standardized, normalized reference for all geographic entities used throughout the XNP module's operational and regulatory processes, ensuring data integrity and consistency across related transactions and configurations.

Key Information Stored

The table's structure centers on a unique geographic area identifier and a composite key that defines the area's type and code. The primary key is the GEO_AREA_ID, a system-generated unique identifier. A critical unique key (XNP_GEO_AREAS_B_UK1) is a combination of GEO_AREA_TYPE_CODE and CODE. This structure enforces business logic where a specific code (e.g., 'NYC') must be unique within its given type (e.g., 'CITY', 'STATE', 'LATA'). The GEO_AREA_TYPE_CODE is a pivotal column for classifying the geographic entity, such as Country, State/Province, Local Access and Transport Area (LATA), City, or Rate Center. Additional columns, while not fully detailed in the excerpt, typically include standard WHO columns (CREATION_DATE, CREATED_BY, etc.) and potentially attributes like start and end dates for the area's validity.

Common Use Cases and Queries

This table is central to queries that resolve geographic information for telephony number management. A common use case is validating or retrieving the geographic area associated with a specific telephone number range. For reporting, it is frequently joined to child tables to produce lists of areas by type or to map service areas. Sample SQL patterns include retrieving all areas of a specific type or finding the details for a known code and type.

  • Find all geographic areas of a particular type: SELECT geo_area_id, code FROM xnp_geo_areas_b WHERE geo_area_type_code = 'LATA';
  • Resolve a GEO_AREA_ID for reporting: SELECT b.code, b.geo_area_type_code, tl.name FROM xnp_geo_areas_b b, xnp_geo_areas_tl tl WHERE b.geo_area_id = tl.geo_area_id AND tl.language = USERENV('LANG') AND b.geo_area_id = :p_area_id;

Related Objects

As a master table, XNP_GEO_AREAS_B has numerous dependent objects, primarily through foreign key relationships. The XNP_GEO_AREAS_TL table provides translated names for the areas. The XNP_GEO_HIERARCHY table references it twice (for PARENT_GEO_AREA_ID and CHILD_GEO_AREA_ID) to build parent-child relationships between areas, enabling the creation of geographic trees. Crucially, it is referenced by several key transactional and setup tables: XNP_NUMBER_RANGES (to assign numbers to an area), XNP_SERVICE_AREAS, and XNP_INTERCONNECT_AREAS. These relationships underscore its foundational role in linking geographic definitions to operational data within the Number Portability module.