Search Results hz_cust_site_uses_all
Overview
The HZ_CUST_SITE_USES_ALL table is a core data object within the Oracle E-Business Suite (EBS) Receivables (AR) module, specifically in the Trading Community Architecture (TCA) schema. It serves as the master repository for storing the business purposes assigned to customer account sites. In practical terms, this table defines how a physical customer location (stored in HZ_CUST_ACCT_SITES_ALL) is utilized, such as for billing, shipping, marketing, or as a paying site. Its role is critical for enabling complex customer relationship management, ensuring transactions like invoices, receipts, and shipments are correctly associated with the appropriate functional site use of a customer. The '_ALL' suffix indicates it is a multi-organization table, storing data partitioned by the ORG_ID column for installations operating in a Multi-Org environment.
Key Information Stored
The table's primary key is the SITE_USE_ID, a unique identifier for each site use record. Essential foreign keys include CUST_ACCT_SITE_ID, which links the site use to its parent customer account site in HZ_CUST_ACCT_SITES_ALL. Key columns defining the business purpose are SITE_USE_CODE (e.g., 'BILL_TO', 'SHIP_TO', 'MARKETING') and the STATUS flag (e.g., 'A' for Active, 'I' for Inactive). The table also stores location-specific operational parameters, such as TERRITORY_ID for sales territory assignment, LOCATION_ID for geographic details, and CONTACT_ID to link a primary contact from HZ_CUST_ACCOUNT_ROLES. The ORG_ID column is vital for data security in Multi-Org, and standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) track audit information.
Common Use Cases and Queries
A primary use case is retrieving all active bill-to sites for a specific customer account to generate invoices. Developers and functional consultants frequently query this table to validate site setup, troubleshoot transaction posting errors, or generate operational reports. Common SQL patterns include joining to the customer account and party tables to get a complete customer site profile. For example, to find all ship-to sites for a customer number '1000':
- SELECT hp.party_name, hca.account_number, hcsua.site_use_code, hcasa.address1
- FROM hz_cust_site_uses_all hcsua,
- hz_cust_acct_sites_all hcasa,
- hz_cust_accounts hca,
- hz_parties hp
- WHERE hcsua.cust_acct_site_id = hcasa.cust_acct_site_id
- AND hcasa.cust_account_id = hca.cust_account_id
- AND hca.party_id = hp.party_id
- AND hca.account_number = '1000'
- AND hcsua.site_use_code = 'SHIP_TO'
- AND hcsua.status = 'A';
Another critical scenario involves identifying the paying site use linked to cash receipts during the application of payments.
Related Objects
HZ_CUST_SITE_USES_ALL is a central hub with extensive relationships across AR and other modules. Its primary parent is HZ_CUST_ACCT_SITES_ALL, joined via CUST_ACCT_SITE_ID. It is referenced as a foreign key in numerous transaction and setup tables, demonstrating its operational importance. Key documented relationships from the provided metadata include:
- HZ_CUST_ACCT_SITES_ALL: Parent table (CUST_ACCT_SITE_ID).
- RA_TERRITORIES: Parent table for territory assignment (TERRITORY_ID).
- HZ_CUST_ACCOUNT_ROLES: Parent table for contact assignment (CONTACT_ID).
- AR_CASH_RECEIPTS_ALL: References the site use for the receipt (CUSTOMER_SITE_USE_ID, PREV_CUSTOMER_SITE_USE_ID).
- AR_CONS_INV_ALL: References the site use for consolidated invoicing (SITE_USE_ID).
- AR_PAYMENTS_INTERFACE_ALL: References the customer site use for payment interface records (CUSTOMER_SITE_USE_ID).
- AP_BANK_ACCOUNT_USES_ALL: Links a customer site use to a bank account use (CUSTOMER_SITE_USE_ID).
- AR_CREDIT_HISTORIES & AR_CMGT_CREDIT_REQUESTS: Store credit information specific to a site use (SITE_USE_ID).
-
Table: HZ_CUST_SITE_USES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_SITE_USES_ALL, object_name:HZ_CUST_SITE_USES_ALL, status:VALID, product: AR - Receivables , description: Stores business purposes assigned to customer account sites. , implementation_dba_data: AR.HZ_CUST_SITE_USES_ALL ,
-
Table: HZ_CUST_SITE_USES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_SITE_USES_ALL, object_name:HZ_CUST_SITE_USES_ALL, status:VALID, product: AR - Receivables , description: Stores business purposes assigned to customer account sites. , implementation_dba_data: AR.HZ_CUST_SITE_USES_ALL ,
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_PAYMENT_TRXN_UTIL dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.JA_JAINPLA_XMLP_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.CSI_INSTANCE_PARTIES_VLD_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.POA_EDW_TRD_PNTR_M_SIZE dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.CSI_INTERFACE_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.INV_MGD_MVT_SO_MDTR dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OZF_NET_ACCRUAL_ENGINE_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.WSH_DSNO dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.FUN_XML_REPORT_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_PURCHASE_RELEASE_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.INV_MGD_MVT_UTILS_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OKS_TAX_UTIL_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.WSH_WSHRDPAK_XMLP_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_ITORD_PUB dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.FTE_LOCATION_PARAMETERS_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_VALIDATE_LINE dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.ZX_GLOBAL_STRUCTURES_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_EXTERNAL_CREDIT_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OKL_ARINTF_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.HZ_AIA_CUSTOM_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.CSD_PROCESS_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.CS_CHARGE_CREATE_ORDER_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.PNRX_SP_ASSIGN_BY_LOC dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.AR_RECEIPT_LIB_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OKL_QA_DATA_INTEGRITY dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_UPG_INSTALL_DETAILS dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.IBE_ATP_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.WSH_PROCESS_INTERFACED_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_ITORD_UTIL dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.RLM_FORECAST_SV dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.JAI_CMN_RGM_PROCESSING_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.WSH_TPA_SELECTOR_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OKL_TXS_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.CSL_CSP_LOCATIONS_ACC_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.ONT_OEXOECCH_XMLP_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.FTE_LOCATION_PARAMETERS_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.QP_PREQ_PUB dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.OE_CREATE_ACCOUNT_INFO dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.MSC_X_VMI_POREQ dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.RLM_RLMDMSIQ_XMLP_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.ZX_VTX_USER_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.1.1
-
APPS.OE_DEFAULT_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.JL_BR_SPED_DATA_EXTRACT_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.JAI_AR_RCTA_TRIGGER_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.OE_CREDIT_EXPOSURE_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.IEX_UWQ_POP_SUM_TBL_PVT dependencies on HZ_CUST_SITE_USES_ALL
12.2.2
-
APPS.JAI_GST_GENERAL_PKG dependencies on HZ_CUST_SITE_USES_ALL
12.2.2