Search Results hz_cust_accounts
Overview
HZ_CUST_ACCOUNTS is the foundational customer account table within the Oracle E-Business Suite Trading Community Architecture (TCA). Owned by the AR schema and validated in both release 12.1.1 and 12.2.2, it stores the account-level record for every customer relationship defined in the system. While HZ_PARTIES holds the underlying party — a person, organization, or group — the customer account represents the specific business relationship that a party maintains with the selling enterprise. A single party may therefore own multiple customer accounts, each carrying its own account number, credit terms, profile settings, and transaction history.
In the ETRM metadata, HZ_CUST_ACCOUNTS is classified heuristically as a hub in Data Vault modeling terms. This is a sensible suggestion: the table is the central anchor to which a very large number of dependent transactional and profile tables attach via CUST_ACCOUNT_ID. Its surrogate primary key, defined by HZ_CUST_ACCOUNTS_PK, is CUST_ACCOUNT_ID.
Key Information Stored
The table contains 139 documented columns. The most operationally significant include:
- CUST_ACCOUNT_ID — the surrogate primary key, generated for each customer account record and used as the foreign key by virtually every downstream table.
- PARTY_ID — foreign key to HZ_PARTIES, linking the account to its owning party.
- ACCOUNT_NUMBER — the user-facing customer number; a business-key candidate enforced by unique index HZ_CUST_ACCOUNTS_U2.
- ORIG_SYSTEM_REFERENCE — the account identifier from a legacy or external source system; a business-key candidate under unique index HZ_CUST_ACCOUNTS_U3, used during data migration and integration.
- STATUS, ACCT_LIFE_CYCLE_STATUS, ACCOUNT_ACTIVATION_DATE, and ACCOUNT_TERMINATION_DATE — govern whether the account is active and its lifecycle window.
- CUSTOMER_TYPE and CUSTOMER_CLASS_CODE — classify the relationship (for example, external versus internal, and the customer class used for reporting and pricing).
- PAYMENT_TERM_ID — foreign key to PN_PAYMENT_TERMS_ALL, defining default payment terms.
- ORDER_TYPE_ID — foreign key to SO_ORDER_TYPES_115_ALL, defining the default order type.
- PRICE_LIST_ID, SALES_CHANNEL_CODE, and PRIMARY_SALESREP_ID — commercial attributes controlling pricing and sales attribution.
- CURRENT_BALANCE — the running account balance used in credit and collections analysis.
- ACCOUNT_NAME and DEPARTMENT — descriptive identifiers.
- ORG_ID and OBJECT_VERSION_NUMBER — multi-org security context and optimistic locking.
- Attribute and global attribute flexfields (ATTRIBUTE1–20, GLOBAL_ATTRIBUTE1–20) — extend the table without schema changes.
The three unique indexes (U1 on CUST_ACCOUNT_ID, U2 on ACCOUNT_NUMBER, U3 on ORIG_SYSTEM_REFERENCE) distinguish the surrogate key from the two documented business-key candidates.
Common Use Cases and Queries
Because HZ_CUST_ACCOUNTS is the hub of the customer model, it is joined in nearly every receivables, order management, and collections report. A typical pattern retrieves the account together with its party and site:
- Resolving an account number to a surrogate key:
SELECT cust_account_id FROM hz_cust_accounts WHERE account_number = :p_account_number. - Joining to the party to obtain the customer name:
SELECT a.account_number, p.party_name FROM hz_cust_accounts a, hz_parties p WHERE a.party_id = p.party_id. - Locating accounts that are inactive:
SELECT account_number FROM hz_cust_accounts WHERE status = 'I'. - Reporting open balances by account: joining to AR_PAYMENT_SCHEDULES_ALL or AR_CUSTOMER_TRX_ALL on the customer ID columns to aggregate outstanding amounts.
- Migrating legacy customers: querying on ORIG_SYSTEM_REFERENCE to reconcile loaded accounts against the source system.
- Collections and credit exposure: joining to AR_CREDIT_HISTORIES for aging and current-balance analysis.
Related Objects
The FK relationship data shows HZ_CUST_ACCOUNTS as the target of an extensive set of dependencies. The most significant include:
- HZ_PARTIES — parent party record, joined on PARTY_ID and SELLING_PARTY_ID.
- HZ_CUST_ACCT_SITES_ALL — customer sites (addresses and site uses), joined on CUST_ACCOUNT_ID.
- HZ_CUST_ACCOUNT_ROLES — role assignments such as bill-to and ship-to contacts, joined on CUST_ACCOUNT_ID.
- HZ_CUSTOMER_PROFILES — TCA profile settings including credit and statement options, joined on CUST_ACCOUNT_ID.
- HZ_CUST_ACCT_RELATE_ALL — self-referencing relationships between accounts via CUST_ACCOUNT_ID and RELATED_CUST_ACCOUNT_ID.
- RA_CUSTOMER_TRX_ALL — receivables transactions, joined on BILL_TO_CUSTOMER_ID, SHIP_TO_CUSTOMER_ID, and PAYING_CUSTOMER_ID.
- AR_PAYMENT_SCHEDULES_ALL and AR_CASH_RECEIPTS_ALL — payment and receipt data, joined on CUSTOMER_ID and pay-from columns.
- OE_ORDER_HEADERS_ALL — order management transactions through END_CUSTOMER_ID.
- HZ_BILLING_PREFERENCES and HZ_CUST_PROFILE_AMTS — billing and profile amount configuration, joined on CUST_ACCOUNT_ID.
Through these relationships, HZ_CUST_ACCOUNTS serves as the authoritative anchor for customer identity and account structure across the entire EBS application suite.
-
Table: HZ_CUST_ACCOUNTS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNTS, object_name:HZ_CUST_ACCOUNTS, status:VALID, product: AR - Receivables , description: Stores information about customer accounts. , implementation_dba_data: AR.HZ_CUST_ACCOUNTS ,
-
Table: HZ_CUST_ACCOUNTS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNTS, object_name:HZ_CUST_ACCOUNTS, status:VALID, product: AR - Receivables , description: Stores information about customer accounts. , implementation_dba_data: AR.HZ_CUST_ACCOUNTS ,
-
Table: RA_INTERFACE_LINES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_INTERFACE_LINES_ALL, object_name:RA_INTERFACE_LINES_ALL, status:VALID, product: AR - Receivables , description: Information for each invoice line imported using AutoInvoice , implementation_dba_data: AR.RA_INTERFACE_LINES_ALL ,
-
Table: RA_INTERFACE_LINES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_INTERFACE_LINES_ALL, object_name:RA_INTERFACE_LINES_ALL, status:VALID, product: AR - Receivables , description: Information for each invoice line imported using AutoInvoice , implementation_dba_data: AR.RA_INTERFACE_LINES_ALL ,
-
Table: HZ_CUST_ACCT_RELATE_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_RELATE_ALL, object_name:HZ_CUST_ACCT_RELATE_ALL, status:VALID, product: AR - Receivables , description: Relationships between customer accounts , implementation_dba_data: AR.HZ_CUST_ACCT_RELATE_ALL ,
-
View: AR_CORRECT_GL_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CORRECT_GL_LINES_V, object_name:AR_CORRECT_GL_LINES_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CORRECT_GL_LINES_V ,
-
Table: HZ_CUST_ACCT_RELATE_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_RELATE_ALL, object_name:HZ_CUST_ACCT_RELATE_ALL, status:VALID, product: AR - Receivables , description: Relationships between customer accounts , implementation_dba_data: AR.HZ_CUST_ACCT_RELATE_ALL ,
-
View: AR_CORRECT_GL_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CORRECT_GL_LINES_V, object_name:AR_CORRECT_GL_LINES_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CORRECT_GL_LINES_V ,
-
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_TAX_EXTRACT_SUB_ITF
12.2.2
product: AR - Receivables , description: Tax Extract interface table , implementation_dba_data: Not implemented in this database ,
-
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_TAX_EXTRACT_SUB_ITF
12.1.1
product: AR - Receivables , description: Tax Extract interface table , implementation_dba_data: Not implemented in this database ,
-
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: AR_CUSTOMER_SEARCH_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CUSTOMER_SEARCH_V, object_name:AR_CUSTOMER_SEARCH_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CUSTOMER_SEARCH_V ,
-
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: 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 ,
-
View: AR_CUSTOMER_SEARCH_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CUSTOMER_SEARCH_V, object_name:AR_CUSTOMER_SEARCH_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CUSTOMER_SEARCH_V ,
-
View: ARI_CUSTOMER_SEARCH_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.ARI_CUSTOMER_SEARCH_V, object_name:ARI_CUSTOMER_SEARCH_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.ARI_CUSTOMER_SEARCH_V ,
-
View: AR_TA_ESS_CREDIT_V
12.2.2
product: AR - Receivables , implementation_dba_data: Not implemented in this database ,
-
View: AR_TA_ESS_CREDIT_V
12.1.1
product: AR - Receivables , implementation_dba_data: Not implemented in this database ,
-
View: ARI_CUSTOMER_SEARCH_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.ARI_CUSTOMER_SEARCH_V, object_name:ARI_CUSTOMER_SEARCH_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.ARI_CUSTOMER_SEARCH_V ,
-
Table: AR_CASH_RECEIPTS_ALL
12.1.1
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: 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: AR_PAYMENT_SCHEDULES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_PAYMENT_SCHEDULES_ALL, object_name:AR_PAYMENT_SCHEDULES_ALL, status:VALID, product: AR - Receivables , description: All transactions except adjustments and miscellaneous cash receipts , implementation_dba_data: AR.AR_PAYMENT_SCHEDULES_ALL ,
-
Table: AR_PAYMENT_SCHEDULES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_PAYMENT_SCHEDULES_ALL, object_name:AR_PAYMENT_SCHEDULES_ALL, status:VALID, product: AR - Receivables , description: All transactions except adjustments and miscellaneous cash receipts , implementation_dba_data: AR.AR_PAYMENT_SCHEDULES_ALL ,
-
View: ARFV_COLLECTION_CALLS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.ARFV_COLLECTION_CALLS, object_name:ARFV_COLLECTION_CALLS, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.ARFV_COLLECTION_CALLS ,
-
View: ARFV_COLLECTION_CALLS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.ARFV_COLLECTION_CALLS, object_name:ARFV_COLLECTION_CALLS, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.ARFV_COLLECTION_CALLS ,
-
View: AR_CMGT_PARTY_ACCOUNTS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CMGT_PARTY_ACCOUNTS, object_name:AR_CMGT_PARTY_ACCOUNTS, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CMGT_PARTY_ACCOUNTS ,
-
View: AR_CMGT_PARTY_ACCOUNTS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CMGT_PARTY_ACCOUNTS, object_name:AR_CMGT_PARTY_ACCOUNTS, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_CMGT_PARTY_ACCOUNTS ,
-
View: AR_BOE_AUTO_RECEIPTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_BOE_AUTO_RECEIPTS_V, object_name:AR_BOE_AUTO_RECEIPTS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_BOE_AUTO_RECEIPTS_V ,
-
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_COLIND
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_COLIND, object_name:AR_COLIND, status:VALID, product: AR - Receivables , description: Temporary table used by the Oracle Business Intelligence System (OBIS) , implementation_dba_data: AR.AR_COLIND ,
-
Table: AR_COLIND
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_COLIND, object_name:AR_COLIND, status:VALID, product: AR - Receivables , description: Temporary table used by the Oracle Business Intelligence System (OBIS) , implementation_dba_data: AR.AR_COLIND ,
-
Table: AR_TA_RULE_OUTPUT
12.1.1
product: AR - Receivables , description: Trade Accounting rule output , implementation_dba_data: Not implemented in this database ,
-
Table: AR_ADJUSTMENTS_REP_ITF
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_ADJUSTMENTS_REP_ITF, object_name:AR_ADJUSTMENTS_REP_ITF, status:VALID, product: AR - Receivables , description: RXi interface table for the Adjustments Register report , implementation_dba_data: AR.AR_ADJUSTMENTS_REP_ITF ,
-
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_RECEIPTS_REP_ITF
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_RECEIPTS_REP_ITF, object_name:AR_RECEIPTS_REP_ITF, status:VALID, product: AR - Receivables , description: Report Exchange interface table for the Receivables Receipts reports , implementation_dba_data: AR.AR_RECEIPTS_REP_ITF ,
-
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 ,
-
View: AR_BOE_AUTO_RECEIPTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_BOE_AUTO_RECEIPTS_V, object_name:AR_BOE_AUTO_RECEIPTS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_BOE_AUTO_RECEIPTS_V ,
-
Table: AR_TA_RULE_OUTPUT
12.2.2
product: AR - Receivables , description: Trade Accounting rule output , implementation_dba_data: Not implemented in this database ,
-
Table: AR_ADJUSTMENTS_REP_ITF
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_ADJUSTMENTS_REP_ITF, object_name:AR_ADJUSTMENTS_REP_ITF, status:VALID, product: AR - Receivables , description: RXi interface table for the Adjustments Register report , implementation_dba_data: AR.AR_ADJUSTMENTS_REP_ITF ,
-
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_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 ,