HZ_CUST_ACCOUNTS
Product: HZmasterThe customer account — the commercial (selling) relationship layered on a party; one party can carry several accounts, each with its own account number, status, and type
The EBS 12.2.2 vestigial ORG_ID is gone entirely — no org column of any kind. CUSTOMER_TYPE is a coded I/R split (internal vs revenue-generating external, page-documented). STATUS decodes through the CODE_STATUS lookup; the A/I value list EBS practitioners expect is not enumerated in the Fusion dictionary. Fusion drops the EBS SALES_CHANNEL_CODE and SUSPENSION_DATE columns.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or a documented view.
Extract access
The delivered surfaces that reach this table — the BICC extract data store (PVO) for bulk extraction and the OTBI subject areas for real-time queries. There is no SQL path to the SaaS database.
- CrmAnalyticsAM.CrmExtractAM.HzBiccExtractAM.CustomerAccountExtractPVOOTBI: Receivables - Customer Real Time
Customer Account data store — keyed on CustAccountId. The Financials TBI customer subject area is the receivables-side query surface.
Oracle data-store documentation →
Fields
12 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | CUST_ACCOUNT_ID | Surrogate key of the customer account — the id AR calls the customer | NUMBER | Key |
| 2 | PARTY_ID | The party this account belongs to | NUMBER | |
| 3 | ACCOUNT_NUMBER | Customer account number | VARCHAR2 | |
| 4 | ACCOUNT_NAME | Account description — not the party name | VARCHAR2 | |
| 5 | STATUS | Account status — the A/I list EBS practitioners expect is not enumerated here | VARCHAR2 | CODE_STATUS |
| 6 | CUSTOMER_TYPE | I for internal, R for revenue-generating external customers | VARCHAR2 | CUSTOMER_TYPE |
| 7 | CUSTOMER_CLASS_CODE | Customer classification (reseller, education, and so on) | VARCHAR2 | |
| 8 | ACCOUNT_ESTABLISHED_DATE | When the account relationship began | DATE | |
| 9 | ACCOUNT_TERMINATION_DATE | When the account relationship ended | DATE | |
| 10 | HOLD_BILL_FLAG | Whether bills receivable are on hold for the account | VARCHAR2 | |
| 11 | SELLING_PARTY_ID | The party selling to this account — an external-facing organization, not a BU or legal entity | NUMBER | |
| 12 | ORIG_SYSTEM_REFERENCE | Legacy-system customer key | VARCHAR2 |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading the BICC-landed copy of HZ_CUST_ACCOUNTSon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark (the column incremental BICC extracts key on) are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : HZ_CUST_ACCOUNTS — The customer account — the commercial (selling) relationship layered on a party; one party can carry several accounts, each with its own account number, status, and type
-- Purpose: Column-selected read of HZ_CUST_ACCOUNTS — auto-generated from field metadata
-- Grain : One row per CUST_ACCOUNT_ID
-- Notes : Auto-generated skeleton for Oracle Fusion Cloud data landed in your lakehouse by a BICC extract — there is no SQL path to the SaaS database. Column names follow Oracle's table documentation — if your landed data still carries PVO attribute headers, map names first; see quirks #pvo-drift. Dates are real DATE/TIMESTAMP columns — no conversion needed. WHO audit columns omitted (see the quirks guide); the optional LAST_UPDATE_DATE watermark filter supports incremental extracts.
-- ============================================================
SELECT
t.CUST_ACCOUNT_ID AS "Surrogate key of the customer account — the id AR calls the customer",
t.PARTY_ID AS "The party this account belongs to",
t.ACCOUNT_NUMBER AS "Customer account number",
t.ACCOUNT_NAME AS "Account description — not the party name",
t.STATUS AS "Account status — the A/I list EBS practitioners expect is not enumerated here", -- decode t.STATUS via FND_LOOKUP_VALUES (LOOKUP_TYPE = 'CODE_STATUS', LANGUAGE-filtered)
t.CUSTOMER_TYPE AS "I for internal, R for revenue-generating external customers", -- decode t.CUSTOMER_TYPE via FND_LOOKUP_VALUES (LOOKUP_TYPE = 'CUSTOMER_TYPE', LANGUAGE-filtered)
t.CUSTOMER_CLASS_CODE AS "Customer classification (reseller, education, and so on)",
t.ACCOUNT_ESTABLISHED_DATE AS "When the account relationship began",
t.ACCOUNT_TERMINATION_DATE AS "When the account relationship ended",
t.HOLD_BILL_FLAG AS "Whether bills receivable are on hold for the account",
t.SELLING_PARTY_ID AS "The party selling to this account — an external-facing organization, not a BU or legal entity",
t.ORIG_SYSTEM_REFERENCE AS "Legacy-system customer key"
FROM <catalog>.<schema>.HZ_CUST_ACCOUNTS t
WHERE
1 = 1 -- no partition column on this table; the filters below are optional
-- AND t.CUST_ACCOUNT_ID = <CUST_ACCOUNT_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- the column incremental BICC extracts key on
ORDER BY t.CUST_ACCOUNT_ID;4 parameters not filled: <catalog>, <schema>, <CUST_ACCOUNT_ID>, <watermark>
Relationships
1-hop neighbors — click a table to navigate there. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON HZ_CUST_ACCOUNTS.PARTY_ID = HZ_PARTIES.PARTY_IDON HZ_CUST_ACCOUNTS.SELLING_PARTY_ID = HZ_PARTIES.PARTY_IDON HZ_CUST_ACCT_SITES_ALL.CUST_ACCOUNT_ID = HZ_CUST_ACCOUNTS.CUST_ACCOUNT_IDON RA_CUSTOMER_TRX_ALL.BILL_TO_CUSTOMER_ID = HZ_CUST_ACCOUNTS.CUST_ACCOUNT_IDON AR_PAYMENT_SCHEDULES_ALL.CUSTOMER_ID = HZ_CUST_ACCOUNTS.CUST_ACCOUNT_IDON AR_CASH_RECEIPTS_ALL.PAY_FROM_CUSTOMER = HZ_CUST_ACCOUNTS.CUST_ACCOUNT_ID