Search Results hz_locations
Overview
The HZ_LOCATIONS table is a core master data table within Oracle E-Business Suite (EBS), specifically under the Receivables (AR) product family. It serves as the central repository for storing normalized physical address data across the entire application. Its primary role is to eliminate data redundancy by providing a single source of truth for address information, which is then referenced by numerous other entities such as customer sites (HZ_PARTY_SITES), bank accounts (IBY_BANKACCT), and service requests (CS_INCIDENTS_ALL_B). This design ensures consistency and integrity in address management throughout modules including Order Management, Receivables, Payables, and Customer Relationship Management.
Key Information Stored
The table stores comprehensive address components. The primary key is LOCATION_ID, a unique system-generated identifier. Key descriptive columns include ADDRESS1 through ADDRESS4 for street-level details, CITY, POSTAL_CODE, and STATE. Critical foreign key columns link to reference data: COUNTRY references FND_TERRITORIES, and LANGUAGE references FND_LANGUAGES. The table also supports globalization and logistics with fields like TIMEZONE_ID (linked to HZ_TIMEZONES), COUNTY, and PROVINCE. Additional columns manage data lifecycle (CREATED_BY, CREATION_DATE, LAST_UPDATE_DATE) and validation status (VALIDATED_FLAG).
Common Use Cases and Queries
Common operational and reporting scenarios involve joining HZ_LOCATIONS to related entities. A frequent use case is retrieving the complete address for a customer's ship-to site. Technical consultants often query this table to diagnose data issues or for custom reporting. Sample SQL patterns include fetching addresses for a specific party or validating address standardization.
- Finding addresses for a specific customer party:
SELECT loc.address1, loc.city, loc.postal_code, ter.territory_short_name
FROM hz_locations loc, hz_party_sites ps, fnd_territories ter
WHERE loc.location_id = ps.location_id
AND ps.party_id = :p_party_id
AND loc.country = ter.territory_code; - Identifying locations within a specific postal code range:
SELECT location_id, address1, city, state
FROM hz_locations
WHERE postal_code BETWEEN '10000' AND '20000'
AND country = 'US';
Related Objects
As indicated by the extensive foreign key relationships in the metadata, HZ_LOCATIONS is a foundational table referenced across the EBS suite. Key dependent objects include:
- HZ_PARTY_SITES: The primary link between a location and a customer, supplier, or partner (HZ_PARTIES).
- HZ_LOCATION_PROFILES: Stores additional profile and classification information for a location.
- IBY_BANKACCT & IBY_CREDITCARD: Reference locations for banking and payment details.
- CS_INCIDENTS_ALL_B: Links service requests to a physical incident location.
- ZX_LINES_DET_FACTORS: Referenced for tax determination using ship-to and ship-from locations.
- Various TCA Extension Tables: Such as HZ_LOCATIONS_EXT_B and HZ_LOCATIONS_EXT_TL for extended attributes and translations.
The table's integrity is maintained through foreign key constraints to reference tables like FND_TERRITORIES and FND_LANGUAGES, ensuring valid country and language codes.
-
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 ,
-
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 ,
-
APPS.HZ_MOSR_VALIDATE_PKG dependencies on HZ_LOCATIONS
12.1.1
-
APPS.HZ_MATCH_RULE_8 dependencies on HZ_LOCATIONS
12.1.1
-
APPS.ZX_VTX_USER_PKG dependencies on HZ_LOCATIONS
12.1.1
-
APPS.WSH_CARRIER_ADDRESS_PKG dependencies on HZ_LOCATIONS
12.1.1
-
APPS.JTF_TERR_LOOKUP_PUB dependencies on HZ_LOCATIONS
12.1.1
-
APPS.PVX_MISC_PVT dependencies on HZ_LOCATIONS
12.1.1
-
APPS.CUG_GENERIC_WF_PKG dependencies on HZ_LOCATIONS
12.1.1
-
APPS.IGS_FI_PRC_1098T_DATA dependencies on HZ_LOCATIONS
12.1.1
-
APPS.AS_SALES_LEADS_PVT dependencies on HZ_LOCATIONS
12.1.1
-
APPS.XLE_UTILITIES_GRP dependencies on HZ_LOCATIONS
12.2.2
-
APPS.ZX_TDS_PROCESS_CEC_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.IBY_ADDRESS_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_LOCATION_V2PUB dependencies on HZ_LOCATIONS
12.2.2
-
APPS.CS_WORKFLOW_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_EXTRACT_PARTY_SITE_BO_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.OKL_K_LINE_FIN_EXT_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.AMS_EVENTOFFER_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.INV_VALIDATE dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_LOCATIONS_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.AR_GET_CUSTOMER_BALANCE_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.AML_LEAD_DEDUPE_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.IBY_DISBURSEMENT_COMP_PUB dependencies on HZ_LOCATIONS
12.2.2
-
APPS.OKS_IB_UTIL_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.MRP_CL_FUNCTION dependencies on HZ_LOCATIONS
12.2.2
-
APPS.JL_ZZ_TAX dependencies on HZ_LOCATIONS
12.2.2
-
APPS.PON_EMD_AR_INTEGRATION_GRP dependencies on HZ_LOCATIONS
12.2.2
-
APPS.OE_OE_FORM_HEADER dependencies on HZ_LOCATIONS
12.2.2
-
APPS.JTF_TTY_MAINTAIN_NA_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.PV_LOCATOR dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_EXTRACT_BO_UTIL_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.JG_ZZ_AUDIT_GL_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.RRS_IMPORT_INTERFACE_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.AR_RECEIPT_LIB_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.POS_BATCH_IMPORT_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_COMMON_PUB dependencies on HZ_LOCATIONS
12.2.2
-
APPS.IGI_STP_CREATE_PCK_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_IMP_LOAD_BATCH_COUNTS_PKG dependencies on HZ_LOCATIONS
12.2.2
-
APPS.OE_ITORD_UTIL dependencies on HZ_LOCATIONS
12.2.2
-
APPS.CSR_SCHEDULER_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.RRS_SITE_INFO dependencies on HZ_LOCATIONS
12.2.2
-
APPS.OKL_OPI_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.OKL_COPY_CONTRACT_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_CONTACT_POINT_V2PUB dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_MATCH_RULE_41 dependencies on HZ_LOCATIONS
12.2.2
-
APPS.CS_TZ_GET_DETAILS_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.PV_LOCATOR dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_DNBUI_PVT dependencies on HZ_LOCATIONS
12.2.2
-
APPS.HZ_MATCH_RULE_60 dependencies on HZ_LOCATIONS
12.2.2