Search Results hz_cust_acct_relate_all
Overview
The HZ_CUST_ACCT_RELATE_ALL table is a core data object within Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, specifically for the Receivables (AR) module. It serves as the central repository for defining and storing relationships between customer accounts. These relationships are established within the Trading Community Architecture (TCA) model to represent complex business hierarchies and associations, such as parent-child relationships, corporate hierarchies, or linked accounts for consolidated billing and reporting. Its role is critical for enabling business processes that depend on understanding customer account linkages, including consolidated dunning, credit management across related entities, and hierarchical customer reporting.
Key Information Stored
The table's primary purpose is to link one customer account (CUST_ACCOUNT_ID) to another related customer account (RELATED_CUST_ACCOUNT_ID). The primary key for the relationship is the CUST_ACCT_RELATE_ID. While the provided metadata specifies these core foreign key columns, a complete implementation typically includes additional attributes to define the nature of the relationship. These often include a RELATIONSHIP_TYPE column to categorize the link (e.g., 'PARENT_OF', 'BILL_TO', 'SOLD_TO'), a STATUS column to indicate if the relationship is active, and standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE). The table supports multi-organization access control through its '_ALL' suffix, implying data is partitioned by ORG_ID.
Common Use Cases and Queries
A primary use case is generating a report of all related accounts for a given customer, essential for credit reviews or account management. For example, to find all accounts related to a specific customer account ID, one might use: SELECT related_cust_account_id, relationship_type FROM hz_cust_acct_relate_all WHERE cust_account_id = :p_cust_acct_id AND status = 'ACTIVE';. Another common scenario is in data validation or migration scripts to ensure relationship integrity. Developers often query this table when building custom logic for consolidated transaction reporting, where transactions from multiple related accounts must be aggregated. It is also frequently joined in views that provide a flattened hierarchy of customer accounts for simplified reporting and analysis.
Related Objects
The table has direct foreign key dependencies on the central TCA customer account table, as documented in the metadata. The key relationships are:
- HZ_CUST_ACCOUNTS: The CUST_ACCOUNT_ID column in HZ_CUST_ACCT_RELATE_ALL references HZ_CUST_ACCOUNTS.CUST_ACCOUNT_ID, identifying the primary account in the relationship.
- HZ_CUST_ACCOUNTS: The RELATED_CUST_ACCOUNT_ID column also references HZ_CUST_ACCOUNTS.CUST_ACCOUNT_ID, identifying the linked account.
-
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 ,
-
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 ,
-
APPS.ARP_CMERGE_MASTER dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.RLM_VALIDATEDEMAND_SV dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.PO_DOCUMENT_UPDATE_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.OZF_CLAIM_UTILITY_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_BLANKET_UTIL dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_VALIDATE_LINE dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.OZF_CLAIM_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.HZ_CUSTOMER_INT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.XNB_CMN_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.OKS_IB_UTIL_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.XNB_CMN_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.ARH_CREL_PKG dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.HZ_CUST_ACCT_RELATE_PKG dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_VALIDATE_HEADER dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_CNCL_VALIDATE_HEADER dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.HZ_CUST_ACCOUNT_V2PUB dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.ARH_CREL_PKG dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.OKS_QA_DATA_INTEGRITY dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.CSI_INSTANCE_PARTIES_VLD_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.ECEPOI dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.HZ_CUST_ACCT_RELATE_PKG dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.ECEPOI dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.HZ_CUSTOMER_INT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.HZ_CUST_ACCOUNT_V2PUB dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.HZ_ACCOUNT_VALIDATE_V2PUB dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_VALIDATE_HEADER dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OKS_IBINT_PUB dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OZF_CLAIM_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.ASO_PARTY_INT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.WSH_EXTERNAL_INTERFACE_SV dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.ARP_CMERGE_ARCUS dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.HZ_ACCOUNT_VALIDATE_V2PUB dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.CSI_MASS_EDIT_PUB dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.ARP_CMERGE_ARCUS dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.OE_VALIDATE_LINE dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.OKS_IB_UTIL_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.WSH_EXTERNAL_INTERFACE_SV dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.WSH_MAPPING_DATA dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.WSH_MAPPING_DATA dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.HZ_POPULATE_BOT_PKG dependencies on HZ_CUST_ACCT_RELATE_ALL
12.1.1
-
APPS.CSI_INSTANCE_PARTIES_VLD_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.HZ_EXTRACT_ORG_CUST_BO_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.ARP_CMERGE_MASTER dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2
-
APPS.PO_DOCUMENT_UPDATE_PVT dependencies on HZ_CUST_ACCT_RELATE_ALL
12.2.2