Skip to content
EBS Reference

HZ_CUST_ACCT_SITES_ALL

Schema: ARmasterOU-striped (ORG_ID)

Customer account sites — one row binding an account to a party site (address) within one operating unit, with the bill-to/ship-to capability flags

Module: Customers (TCA)Operating-unit striped (ORG_ID)
Notes

The same physical address appears once per operating unit that uses it — the first OU-striped layer of the customer stack.

What the badges mean
master
Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
In field listings, K marks a primary-key field.

Fields

11 fields · 1 key

Table fields: position, field name, description, data type, and flags. 11 fields.
#FieldDescriptionTypeFlags
1CUST_ACCT_SITE_IDSurrogate key of the account siteNUMBER
Key
2CUST_ACCOUNT_IDThe account the site belongs toNUMBER
3PARTY_SITE_IDThe party site (address assignment) behind this account siteNUMBER
4ORG_IDOperating unit — the same address appears once per OU that uses itNUMBER
5STATUSA = active, I = inactiveVARCHAR2
6BILL_TO_FLAGWhether the site can bill (Y/N/P)VARCHAR2
7SHIP_TO_FLAGWhether the site can receive shipmentsVARCHAR2
8MARKET_FLAGMarketing-site markerVARCHAR2
9CUSTOMER_CATEGORY_CODESite-level customer categoryVARCHAR2
10TERRITORYTerritory of the siteVARCHAR2
11ORIG_SYSTEM_REFERENCEThe legacy/source-system keyVARCHAR2

Field provenance: hand-curated. 1 key field.

Boilerplate SQL

Starting point for reading HZ_CUST_ACCT_SITES_ALLon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.

Query parameters
-- ============================================================
-- Table  : HZ_CUST_ACCT_SITES_ALL — Customer account sites — one row binding an account to a party site (address) within one operating unit, with the bill-to/ship-to capability flags
-- Purpose: Column-selected read of HZ_CUST_ACCT_SITES_ALL — auto-generated from field metadata
-- Grain  : One row per operating unit (ORG_ID) + CUST_ACCT_SITE_ID
-- Notes  : Auto-generated skeleton for Oracle EBS R12 data landed in your lakehouse. 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_ACCT_SITE_ID AS "Surrogate key of the account site",
  t.CUST_ACCOUNT_ID AS "The account the site belongs to",
  t.PARTY_SITE_ID AS "The party site (address assignment) behind this account site",
  t.ORG_ID AS "Operating unit — the same address appears once per OU that uses it",
  t.STATUS AS "A = active, I = inactive",
  t.BILL_TO_FLAG AS "Whether the site can bill (Y/N/P)",
  t.SHIP_TO_FLAG AS "Whether the site can receive shipments",
  t.MARKET_FLAG AS "Marketing-site marker",
  t.CUSTOMER_CATEGORY_CODE AS "Site-level customer category",
  t.TERRITORY AS "Territory of the site",
  t.ORIG_SYSTEM_REFERENCE AS "The legacy/source-system key"
FROM <catalog>.<schema>.HZ_CUST_ACCT_SITES_ALL t
WHERE
  t.ORG_ID = <operating_unit_id>  -- operating unit (MOAC does not filter extracts)
  -- AND t.CUST_ACCT_SITE_ID = <CUST_ACCT_SITE_ID>
  -- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>'  -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.CUST_ACCT_SITE_ID;

5 parameters not filled: <catalog>, <schema>, <operating_unit_id>, <CUST_ACCT_SITE_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

  • HZ_CUST_ACCT_SITES_ALLHZ_CUST_ACCOUNTSforeign key · N:1
    ON HZ_CUST_ACCT_SITES_ALL.CUST_ACCOUNT_ID = HZ_CUST_ACCOUNTS.CUST_ACCOUNT_ID
  • HZ_CUST_ACCT_SITES_ALLHZ_PARTY_SITESforeign key · N:1
    ON HZ_CUST_ACCT_SITES_ALL.PARTY_SITE_ID = HZ_PARTY_SITES.PARTY_SITE_ID
  • HZ_CUST_SITE_USES_ALLHZ_CUST_ACCT_SITES_ALLforeign key · N:1
    ON HZ_CUST_SITE_USES_ALL.CUST_ACCT_SITE_ID = HZ_CUST_ACCT_SITES_ALL.CUST_ACCT_SITE_ID AND HZ_CUST_SITE_USES_ALL.ORG_ID = HZ_CUST_ACCT_SITES_ALL.ORG_ID

Browse more Customers (TCA)tables →

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice →

Not affiliated with or endorsed by Oracle. Oracle and Oracle E-Business Suite are registered trademarks of Oracle and/or its affiliates.