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 ,
-
Table: RA_CUSTOMER_MERGES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_MERGES, object_name:RA_CUSTOMER_MERGES, status:VALID, product: AR - Receivables , description: Information about customers, addresses, and site uses that are being merged or moved , implementation_dba_data: AR.RA_CUSTOMER_MERGES ,
-
Table: RA_CUSTOMER_MERGES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_MERGES, object_name:RA_CUSTOMER_MERGES, status:VALID, product: AR - Receivables , description: Information about customers, addresses, and site uses that are being merged or moved , implementation_dba_data: AR.RA_CUSTOMER_MERGES ,
-
Table: AR_CREDIT_HISTORIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CREDIT_HISTORIES, object_name:AR_CREDIT_HISTORIES, status:VALID, product: AR - Receivables , description: History of changes to a customer's credit profile , implementation_dba_data: AR.AR_CREDIT_HISTORIES ,
-
Lookup Type: TCA_OWNER_TABLE
12.1.1
product: AR - Receivables , meaning: TCA Owner Tables , description: TCA Owner Tables ,
-
Lookup Type: TCA_OWNER_TABLE
12.2.2
product: AR - Receivables , meaning: TCA Owner Tables , description: TCA Owner Tables ,
-
Table: AR_CORRESPONDENCES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CORRESPONDENCES_ALL, object_name:AR_CORRESPONDENCES_ALL, status:VALID, product: AR - Receivables , description: Dunning letters sent to a customer , implementation_dba_data: AR.AR_CORRESPONDENCES_ALL ,
-
Table: RA_CUSTOMER_TRX_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_TRX_ALL, object_name:RA_CUSTOMER_TRX_ALL, status:VALID, product: AR - Receivables , description: Header-level information about invoices, debit memos, chargebacks, commitments and credit memos , implementation_dba_data: AR.RA_CUSTOMER_TRX_ALL ,
-
Table: AR_CORRESPONDENCES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CORRESPONDENCES_ALL, object_name:AR_CORRESPONDENCES_ALL, status:VALID, product: AR - Receivables , description: Dunning letters sent to a customer , implementation_dba_data: AR.AR_CORRESPONDENCES_ALL ,
-
Table: AR_CREDIT_HISTORIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CREDIT_HISTORIES, object_name:AR_CREDIT_HISTORIES, status:VALID, product: AR - Receivables , description: History of changes to a customer's credit profile , implementation_dba_data: AR.AR_CREDIT_HISTORIES ,
-
Table: RA_CUSTOMER_TRX_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_TRX_ALL, object_name:RA_CUSTOMER_TRX_ALL, status:VALID, product: AR - Receivables , description: Header-level information about invoices, debit memos, chargebacks, commitments and credit memos , implementation_dba_data: AR.RA_CUSTOMER_TRX_ALL ,
-
Table: AR_TRANSACTIONS_REP_ITF
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_TRANSACTIONS_REP_ITF, object_name:AR_TRANSACTIONS_REP_ITF, status:VALID, product: AR - Receivables , description: Report Exchange interface table for the Receivables Transactions reports , implementation_dba_data: AR.AR_TRANSACTIONS_REP_ITF ,
-
Table: AR_TRANSACTIONS_REP_ITF
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_TRANSACTIONS_REP_ITF, object_name:AR_TRANSACTIONS_REP_ITF, status:VALID, product: AR - Receivables , description: Report Exchange interface table for the Receivables Transactions reports , implementation_dba_data: AR.AR_TRANSACTIONS_REP_ITF ,
-
Table: RA_TAX_EXEMPTIONS_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TAX_EXEMPTIONS_ALL, object_name:RA_TAX_EXEMPTIONS_ALL, status:VALID, product: AR - Receivables , description: Percentage that a customer, site, or item is exempt from a tax code , implementation_dba_data: AR.RA_TAX_EXEMPTIONS_ALL ,
-
Table: RA_TAX_EXEMPTIONS_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TAX_EXEMPTIONS_ALL, object_name:RA_TAX_EXEMPTIONS_ALL, status:VALID, product: AR - Receivables , description: Percentage that a customer, site, or item is exempt from a tax code , implementation_dba_data: AR.RA_TAX_EXEMPTIONS_ALL ,
-
View: ARFV_ON_ACCOUNT_CREDIT__OLD1
12.1.1
product: AR - Receivables , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: ARFV_ON_ACCOUNT_CREDIT__OLD1
12.2.2
product: AR - Receivables , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: ARFV_CREDITS_OLD1
12.2.2
product: AR - Receivables , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: ARFV_CREDITS_OLD1
12.1.1
product: AR - Receivables , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
Table: AR_CASH_RECEIPTS_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CASH_RECEIPTS_ALL, object_name:AR_CASH_RECEIPTS_ALL, status:VALID, product: AR - Receivables , description: Detailed receipt information , implementation_dba_data: AR.AR_CASH_RECEIPTS_ALL ,
-
Table: HZ_BILLING_PREFERENCES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_BILLING_PREFERENCES, object_name:HZ_BILLING_PREFERENCES, status:VALID, product: AR - Receivables , description: Invoicing format , implementation_dba_data: AR.HZ_BILLING_PREFERENCES ,
-
Table: AR_CONS_INV_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CONS_INV_ALL, object_name:AR_CONS_INV_ALL, status:VALID, product: AR - Receivables , description: Information about a consolidated billing invoice , implementation_dba_data: AR.AR_CONS_INV_ALL ,
-
Table: HZ_BILLING_PREFERENCES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_BILLING_PREFERENCES, object_name:HZ_BILLING_PREFERENCES, status:VALID, product: AR - Receivables , description: Invoicing format , implementation_dba_data: AR.HZ_BILLING_PREFERENCES ,
-
Table: AR_CONS_INV_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CONS_INV_ALL, object_name:AR_CONS_INV_ALL, status:VALID, product: AR - Receivables , description: Information about a consolidated billing invoice , implementation_dba_data: AR.AR_CONS_INV_ALL ,
-
Table: AR_BR_TRX_BATCH_RPT
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_BR_TRX_BATCH_RPT, object_name:AR_BR_TRX_BATCH_RPT, status:VALID, product: AR - Receivables , description: Report table for the Automatic Transaction Batch report , implementation_dba_data: AR.AR_BR_TRX_BATCH_RPT ,
-
Table: AR_TA_RISK_COMENT_ALL
12.1.1
product: AR - Receivables , description: Comments associated with customer-location combination , implementation_dba_data: Not implemented in this database ,
-
Table: AR_TA_PROM_CUST_ALL
12.2.2
product: AR - Receivables , description: Stores legacy customers, for imported promotion data along with corresponding Oracle customers , implementation_dba_data: Not implemented in this database ,
-
Table: AR_CUSTOMER_ALT_NAMES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CUSTOMER_ALT_NAMES, object_name:AR_CUSTOMER_ALT_NAMES, status:VALID, product: AR - Receivables , description: Alternate customer names for AutoLockbox name matching , implementation_dba_data: AR.AR_CUSTOMER_ALT_NAMES ,
-
Table: AR_BR_TRX_BATCH_RPT
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_BR_TRX_BATCH_RPT, object_name:AR_BR_TRX_BATCH_RPT, status:VALID, product: AR - Receivables , description: Report table for the Automatic Transaction Batch report , implementation_dba_data: AR.AR_BR_TRX_BATCH_RPT ,
-
Table: AR_TA_PAYMNT_HIST_ALL
12.2.2
product: AR - Receivables , description: Stores payment history information for customer-location combination for each period , implementation_dba_data: Not implemented in this database ,
-
Table: HZ_SUSPENSION_ACTIVITY
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_SUSPENSION_ACTIVITY, object_name:HZ_SUSPENSION_ACTIVITY, status:VALID, product: AR - Receivables , description: The point in time that a service is no longer provided , implementation_dba_data: AR.HZ_SUSPENSION_ACTIVITY ,
-
Table: AR_STATEMENT_HEADERS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_STATEMENT_HEADERS, object_name:AR_STATEMENT_HEADERS, status:VALID, product: AR - Receivables , description: Interim table of statement header information , implementation_dba_data: AR.AR_STATEMENT_HEADERS ,
-
Table: AR_STATEMENTS_HISTORY_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_STATEMENTS_HISTORY_ALL, object_name:AR_STATEMENTS_HISTORY_ALL, status:VALID, product: AR - Receivables , description: The history of every customer statement that you generate , implementation_dba_data: AR.AR_STATEMENTS_HISTORY_ALL ,
-
Table: AR_CUSTOMER_ALT_NAMES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CUSTOMER_ALT_NAMES, object_name:AR_CUSTOMER_ALT_NAMES, status:VALID, product: AR - Receivables , description: Alternate customer names for AutoLockbox name matching , implementation_dba_data: AR.AR_CUSTOMER_ALT_NAMES ,
-
Table: AR_TA_CUST_INT_ALL
12.2.2
product: AR - Receivables , description: Interface table that stores details about all customers; can be used by external Deduction Management Systems. , implementation_dba_data: Not implemented in this database ,
-
Table: AR_TA_DEDN_INT_ALL
12.2.2
product: AR - Receivables , description: Interface table that stores deductions being moved between Trade Accounting and external Deduction Management System , implementation_dba_data: Not implemented in this database ,
-
Table: AR_TA_DEDN_INT_ALL
12.1.1
product: AR - Receivables , description: Interface table that stores deductions being moved between Trade Accounting and external Deduction Management System , implementation_dba_data: Not implemented in this database ,
-
Table: AR_SELECTION_CRITERIA
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_SELECTION_CRITERIA, object_name:AR_SELECTION_CRITERIA, status:VALID, product: AR - Receivables , description: Stores the selection criteria on a entity. , implementation_dba_data: AR.AR_SELECTION_CRITERIA ,
-
Table: AR_SELECTION_CRITERIA
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_SELECTION_CRITERIA, object_name:AR_SELECTION_CRITERIA, status:VALID, product: AR - Receivables , description: Stores the selection criteria on a entity. , implementation_dba_data: AR.AR_SELECTION_CRITERIA ,
-
View: AR_TRX_REP_ITF_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_TRX_REP_ITF_V, object_name:AR_TRX_REP_ITF_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_TRX_REP_ITF_V ,
-
Table: AR_CUSTOMER_CALLS_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_CUSTOMER_CALLS_ALL, object_name:AR_CUSTOMER_CALLS_ALL, status:VALID, product: AR - Receivables , description: Customer call information , implementation_dba_data: AR.AR_CUSTOMER_CALLS_ALL ,
-
Table: RA_TERRITORIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TERRITORIES, object_name:RA_TERRITORIES, status:VALID, product: AR - Receivables , description: Territory information , implementation_dba_data: AR.RA_TERRITORIES ,
-
Table: HZ_CUST_SITE_USES_ALL_M
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_SITE_USES_ALL_M, object_name:HZ_CUST_SITE_USES_ALL_M, status:VALID, product: AR - Receivables , description: The HZ_CUST_SITE_USES_ALL_M table stores the information of customer site uses from HZ_CUST_SITE_USES_ALL table before the account merge happens. The primary key for this table is CUST_SITE_USE_ID , CUSTOMER_MERGE_HEADER_ID. , implementation_dba_data: AR.HZ_CUST_SITE_USES_ALL_M ,
-
View: AR_TRX_REP_ITF_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_TRX_REP_ITF_V, object_name:AR_TRX_REP_ITF_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_TRX_REP_ITF_V ,
-
Table: AR_TA_PAYMNT_HIST_ALL
12.1.1
product: AR - Receivables , description: Stores payment history information for customer-location combination for each period , implementation_dba_data: Not implemented in this database ,
-
Table: AR_STATEMENT_HEADERS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_STATEMENT_HEADERS, object_name:AR_STATEMENT_HEADERS, status:VALID, product: AR - Receivables , description: Interim table of statement header information , implementation_dba_data: AR.AR_STATEMENT_HEADERS ,
-
Table: HZ_SUSPENSION_ACTIVITY
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_SUSPENSION_ACTIVITY, object_name:HZ_SUSPENSION_ACTIVITY, status:VALID, product: AR - Receivables , description: The point in time that a service is no longer provided , implementation_dba_data: AR.HZ_SUSPENSION_ACTIVITY ,
-
Table: AR_TA_RISK_COMENT_ALL
12.2.2
product: AR - Receivables , description: Comments associated with customer-location combination , implementation_dba_data: Not implemented in this database ,
-
Table: AR_TA_DEDN_RELATE_ALL
12.1.1
product: AR - Receivables , description: Stores the relationships between deductions moved from an external Deduction Management System and new transaction created in Trade Accounting , implementation_dba_data: Not implemented in this database ,