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.FII_AR_COLLECTORS_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_CUST_ACCT_SITES_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JA_JAINER1_XMLP_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OKS_EXTWARPRGM_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CSP_PARTS_ORDER dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OTAP_CMERGE dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OZF_LOCATION_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_ACCEPTANCE_UTIL dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.FV_IPAC dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OKS_RENCPY_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_CREDIT_CHECK_RPT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CSM_PO_LOCATIONS_EVENT_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_CREDIT_CHECK_UTIL dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.PA_PROJ_STRUCTURE_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_CREDIT_INTERFACE_UTIL dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CSI_ORDER_SHIP_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OZF_FUND_UTILIZED_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OKL_DEAL_ASSET_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.RLM_VALIDATEDEMAND_SV dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.EGO_GTIN_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_INVOICE_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.RLM_MANAGE_DEMAND_SV dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JA_CN_COA_EXP_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.WSH_TRIPS_ACTIONS dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.GMD_SPEC_VRS_GRP dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.FTE_LOCATION_PARAMETERS_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_CREATE_ACCOUNT_INFO dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_UI_UTIL_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_LOCATION_V2PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_COMMON_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OKL_ACTIVATE_CONTRACT_PUB dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.INV_LABEL_PVT10 dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ZX_TDS_APPLICABILITY_DETM_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_UPG_INSTALL_DETAILS dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ONT_ITM_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.FTE_TL_CACHE dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.HZ_POPULATE_BOT_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OE_VALUE_TO_ID dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CS_CHARGE_CREATE_ORDER_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.CSD_REPAIR_ACTUAL_PROCESS_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.WSH_TPA_SELECTOR_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JE_ES_MODELO_EXT_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.ARP_CLAS_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.JL_AR_DOC_NUMBERING_PKG dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.WSH_FTE_CONSTRAINT_FRAMEWORK dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.MSC_SATP_FUNC dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1
-
APPS.MRP_EPI dependencies on HZ_CUST_ACCT_SITES_ALL
12.1.1