Search Results hz_cust_acct_sites_all
Overview
The HZ_CUST_ACCT_SITES_ALL table is a core data repository within Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, specifically for the Receivables (AR) module. As indicated by its name and the "_ALL" suffix, it is a multi-organization (Multi-Org) enabled table that stores all customer account sites across every operating unit. Its primary role is to serve as the critical junction between a customer account (HZ_CUST_ACCOUNTS) and a physical or logical address location (HZ_PARTY_SITES). This table establishes the foundational link that enables a single customer account to have multiple distinct addresses for billing, shipping, or other business purposes, forming the basis for all site-level transactional and reporting activities in Order Management, Receivables, and related modules.
Key Information Stored
The table's structure centers on linking identifiers and storing site-specific attributes. The primary key is CUST_ACCT_SITE_ID, which uniquely identifies each customer account site record. Two essential foreign key columns form its core relationships: CUST_ACCOUNT_ID, which links to the customer account in HZ_CUST_ACCOUNTS, and PARTY_SITE_ID, which links to the physical address definition in HZ_PARTY_SITES. Another significant column is TERRITORY_ID, which links to RA_TERRITORIES for assigning a sales territory to the specific site. The table also typically includes standard Oracle EBS audit columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) and the ORG_ID column that enables Multi-Org partitioning of the data by operating unit.
Common Use Cases and Queries
This table is central to operations involving customer addresses. Common use cases include generating reports listing all addresses for a specific customer account, validating address usage in transactional interfaces, and supporting data migration scripts for customer site information. A fundamental query retrieves all sites for a customer account, often joining to related tables for descriptive information:
SELECT hcas.cust_acct_site_id, hca.account_number, hp.party_name, hps.address1, hps.city FROM hz_cust_acct_sites_all hcas JOIN hz_cust_accounts hca ON hcas.cust_account_id = hca.cust_account_id JOIN hz_party_sites hps ON hcas.party_site_id = hps.party_site_id JOIN hz_parties hp ON hps.party_id = hp.party_id WHERE hca.account_number = '&CUSTOMER_NUMBER' AND hcas.org_id = &ORG_ID;
Another critical pattern involves checking for the existence of site uses (via HZ_CUST_SITE_USES_ALL) linked to a given account site, which determines if the address is actively used for a purpose like 'BILL_TO' or 'SHIP_TO'.
Related Objects
As evidenced by the extensive foreign key metadata, HZ_CUST_ACCT_SITES_ALL is a highly referenced master table. Its primary relationships are as a child to HZ_CUST_ACCOUNTS and HZ_PARTY_SITES. It is a parent table to HZ_CUST_SITE_USES_ALL, which defines the functional purposes for each site. Furthermore, it is referenced by numerous transactional and setup tables across EBS modules. Key references include HZ_CUST_ACCOUNT_ROLES, HZ_CUST_CONTACT_POINTS, AR_CORRESPONDENCES_ALL, AR_STATEMENT_HEADERS, and several tables in the Service (CS) and Loans (LNS) modules, such as CS_CUSTOMER_PRODUCTS_ALL and LNS_LOAN_HEADERS_ALL. This wide integration underscores its role as a central hub for customer address data within the application's architecture.
-
Table: HZ_CUST_ACCT_SITES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_SITES_ALL, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID, product: AR - Receivables , description: Stores all customer account sites across all operating units , implementation_dba_data: AR.HZ_CUST_ACCT_SITES_ALL ,
-
Table: HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_SITES_ALL, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID, product: AR - Receivables , description: Stores all customer account sites across all operating units , implementation_dba_data: AR.HZ_CUST_ACCT_SITES_ALL ,
-
APPS.ZX_R11I_TAX_PARTNER_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.OKS_EXTWARPRGM_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.OZF_QP_QUAL_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.CSM_WF_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.OZF_NET_ACCRUAL_ENGINE_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.CS_CHARGE_CREATE_ORDER_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.IEX_STRATEGY_DIAG_REPORT dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.ECE_RULES_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.CSM_PO_LOCATIONS_EVENT_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.WSH_PARTY_MERGE dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.FUN_TRADING_RELATION dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_VALIDATE_HEADER dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ZX_TDS_TAX_ROUNDING_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ONT_OEXOHHSA_XMLP_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_BULK_CACHE dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.ONT_OEXOECCH_XMLP_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.HZ_AIA_CUSTOM_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JERX_TO dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ASO_ORDER_INT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JAI_CMN_RGM_PROCESSING_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JAI_AR_EER1_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ARP_CMERGE_ARCUS dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_BULK_TAX_UTIL dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CSI_ORDER_FULFILL_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.IEX_DUNNING_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OZF_QUOTA_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CSD_PROCESS_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OKL_RELEASE_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OZF_FUND_ADJUSTMENT_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.MRP_VALIDATE_ASSIGNMENT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_LOCATION_SERVICES_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_MOSR_VALIDATE_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JMF_SHIKYU_ONT_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.IBE_WORKFLOW_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.WSH_CAL_ASG_VALIDATIONS dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.GMD_CUSTOMER_TESTS_GRP dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.IBY_FNDCPT_COMMON_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ECE_TRADING_PARTNERS_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_ITORD_UTIL dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CSI_UTL_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OKS_EXTWAR_UTIL_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.OZF_QUOTA_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.GMD_SAMPLES_GRP dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.RLM_VALIDATEDEMAND_SV dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.IBY_FNDCPT_COMMON_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.2.2
-
APPS.WSH_WSHRDINV_XMLP_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_GNR_UTIL_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1