Search Results hz_locations_ext_b
Overview
The HZ_LOCATIONS_EXT_B table is a core extensibility object within Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, specifically for the Receivables (AR) module. It functions as a repository for user-defined, or extensible, attributes associated with location data. In the Trading Community Architecture (TCA) model, the HZ_LOCATIONS table stores the standard, seeded location information. The HZ_LOCATIONS_EXT_B table provides a structured mechanism to extend this base location entity with custom fields to meet unique business requirements without modifying the core application code. Its role is to enable flexible data capture and storage for location-related information beyond the standard schema, supporting complex implementations and industry-specific needs.
Key Information Stored
The table's primary purpose is to store custom attribute data linked to a specific location. The documented structure highlights two critical columns. The EXTENSION_ID column serves as the table's primary key, uniquely identifying each record of custom attribute data. The LOCATION_ID column is the foreign key that provides the essential link to the base location record in the HZ_LOCATIONS table. While the specific names of the extensible attribute columns are not detailed in the provided metadata, they are typically created during the application's personalization process and follow a naming convention such as ATTRIBUTE1 through ATTRIBUTE*n*, or have custom, user-defined names. These columns hold the actual values for the custom data fields defined for locations.
Common Use Cases and Queries
This table is central to reporting and data extraction involving custom location attributes. A common use case is generating enhanced address or site reports that include business-specific information, such as a location's internal facility code, regional sales territory, or compliance certification status, which are not present in standard EBS. A typical query involves joining this table to the base location and party tables to create an enriched dataset. For example:
SELECT hzloc.location_id, hzloc.address1, hzloc.city, hzlext.attribute1 AS "Facility Code", hzlext.attribute2 AS "Territory" FROM hz_locations hzloc LEFT JOIN hz_locations_ext_b hzlext ON hzloc.location_id = hzlext.location_id WHERE hzloc.country = 'US';
Another critical use case is data migration or integration, where custom location attributes from legacy systems are populated into this table via the standard TCA Location API or direct SQL scripts, ensuring all location data is consolidated within EBS.
Related Objects
The HZ_LOCATIONS_EXT_B table has a direct and dependent relationship with the core TCA location entity. As per the documented foreign key:
- Primary Table: HZ_LOCATIONS_EXT_B
- Foreign Key Relationship: References HZ_LOCATIONS
- Join Column: HZ_LOCATIONS_EXT_B.LOCATION_ID to HZ_LOCATIONS.LOCATION_ID
This relationship is fundamental; every record in HZ_LOCATIONS_EXT_B must correspond to a valid record in HZ_LOCATIONS. The table is also intrinsically linked to the underlying TCA data model and is accessed via the standard TCA Location V2 API (HZ_LOCATION_V2PUB), which provides the supported interface for creating, updating, and querying location data, including its extensible attributes. Reports and interfaces that leverage custom location data will typically join these two tables.
-
Table: HZ_LOCATIONS_EXT_B
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_LOCATIONS_EXT_B, object_name:HZ_LOCATIONS_EXT_B, status:VALID, product: AR - Receivables , description: Stores extensible attributes for locations. , implementation_dba_data: AR.HZ_LOCATIONS_EXT_B ,
-
Table: HZ_LOCATIONS_EXT_B
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_LOCATIONS_EXT_B, object_name:HZ_LOCATIONS_EXT_B, status:VALID, product: AR - Receivables , description: Stores extensible attributes for locations. , implementation_dba_data: AR.HZ_LOCATIONS_EXT_B ,
-
Table: HZ_LOCATIONS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_LOCATIONS, object_name:HZ_LOCATIONS, status:VALID, product: AR - Receivables , description: Physical addresses , implementation_dba_data: AR.HZ_LOCATIONS ,
-
Table: HZ_LOCATIONS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_LOCATIONS, object_name:HZ_LOCATIONS, status:VALID, product: AR - Receivables , description: Physical addresses , implementation_dba_data: AR.HZ_LOCATIONS ,
-
View: HZ_LOCATIONS_EXT_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.HZ_LOCATIONS_EXT_VL, object_name:HZ_LOCATIONS_EXT_VL, status:VALID, product: AR - Receivables , description: Multilingual view of extensible attributes for locations , implementation_dba_data: APPS.HZ_LOCATIONS_EXT_VL ,
-
View: HZ_LOCATIONS_EXT_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.HZ_LOCATIONS_EXT_VL, object_name:HZ_LOCATIONS_EXT_VL, status:VALID, product: AR - Receivables , description: Multilingual view of extensible attributes for locations , implementation_dba_data: APPS.HZ_LOCATIONS_EXT_VL ,