Search Results hz_party_relationships
Overview
The HZ_PARTY_RELATIONSHIPS view is a critical component within the Oracle E-Business Suite (EBS) Trading Community Architecture (TCA), specifically utilized by the Receivables (AR) module. It provides a filtered and simplified perspective on party-to-party relationships stored in the underlying HZ_RELATIONSHIPS table. As defined by its view text, it selects only those relationships where both the subject and object are parties (from HZ_PARTIES), filtering for a specific directional flag. Its primary role is to offer a standardized, accessible interface for querying and reporting on direct relationships between entities (e.g., organizations, persons, groups) within the TCA model, supporting business processes in AR and other integrated modules that rely on understanding customer hierarchies and affiliations.
Key Information Stored
The view exposes core columns that define a party relationship. The key identifiers include RELATIONSHIP_ID, SUBJECT_ID (the initiating party), OBJECT_ID (the related party), and PARTY_ID (the primary party identifier for the relationship). The nature of the association is defined by RELATIONSHIP_CODE (e.g., 'EMPLOYEE_OF', 'SUBSIDIARY_OF'). Temporal and status management is handled through START_DATE, END_DATE, and STATUS columns. The view also includes a complete set of descriptive attributes (ATTRIBUTE1-20) and global attributes for flexfield data, alongside standard Oracle EBS audit columns such as CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, and OBJECT_VERSION_NUMBER for data integrity and tracking.
Common Use Cases and Queries
This view is predominantly used for reporting and data extraction to understand customer structures. Common scenarios include generating a list of all subsidiaries for a parent organization, identifying employee contacts for a customer account, or analyzing relationship networks. A typical query pattern involves joining the view back to HZ_PARTIES to retrieve party names.
- Sample Query:
SELECT p1.party_name AS Subject, p2.party_name AS Object, rel.relationship_code FROM hz_party_relationships rel, hz_parties p1, hz_parties p2 WHERE rel.subject_id = p1.party_id AND rel.object_id = p2.party_id AND rel.status = 'A' AND SYSDATE BETWEEN rel.start_date AND NVL(rel.end_date, SYSDATE); - This query retrieves all active, current relationships with corresponding party names, which is foundational for customer hierarchy reports or data validation.
Related Objects
HZ_PARTY_RELATIONSHIPS is intrinsically linked to the core TCA foundation tables. Its primary source is the HZ_RELATIONSHIPS table, from which it derives all its data via a filtered SELECT statement. It directly references the HZ_PARTIES table for both the SUBJECT_ID and OBJECT_ID foreign keys. For comprehensive reporting, it is often joined with HZ_CUST_ACCOUNTS to link relationships to specific customer accounts, and with HZ_RELATIONSHIP_TYPES to obtain the meaning of the RELATIONSHIP_CODE. The view itself is a key reference for higher-level TCA APIs and customer data management utilities within Oracle EBS.
-
View: HZ_PARTY_RELATIONSHIPS
12.1.1
product: AR - Receivables , implementation_dba_data: Not implemented in this database ,
-
Table: HZ_PARTY_RELATIONSHIPS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTY_RELATIONSHIPS, object_name:HZ_PARTY_RELATIONSHIPS, status:VALID, product: AR - Receivables , description: Relationships between parties , implementation_dba_data: AR.HZ_PARTY_RELATIONSHIPS ,
-
Table: HZ_PARTY_RELATIONSHIPS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTY_RELATIONSHIPS, object_name:HZ_PARTY_RELATIONSHIPS, status:VALID, product: AR - Receivables , description: Relationships between parties , implementation_dba_data: AR.HZ_PARTY_RELATIONSHIPS ,
-
View: HZ_PARTY_RELATIONSHIPS
12.2.2
product: AR - Receivables , implementation_dba_data: Not implemented in this database ,
-
Table: HZ_ORG_CONTACTS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_ORG_CONTACTS, object_name:HZ_ORG_CONTACTS, status:VALID, product: AR - Receivables , description: People as contacts for parties , implementation_dba_data: AR.HZ_ORG_CONTACTS ,
-
View: HZ_MERGE_PARTY_RELN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.HZ_MERGE_PARTY_RELN_V, object_name:HZ_MERGE_PARTY_RELN_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.HZ_MERGE_PARTY_RELN_V ,
-
View: HZ_MERGE_PARTY_RELN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.HZ_MERGE_PARTY_RELN_V, object_name:HZ_MERGE_PARTY_RELN_V, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.HZ_MERGE_PARTY_RELN_V ,
-
View: AR_CONTACTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CONTACTS_V, object_name:AR_CONTACTS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_CONTACTS_V ,
-
Table: HZ_ORG_CONTACTS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_ORG_CONTACTS, object_name:HZ_ORG_CONTACTS, status:VALID, product: AR - Receivables , description: People as contacts for parties , implementation_dba_data: AR.HZ_ORG_CONTACTS ,
-
View: AR_CONTACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_CONTACTS_V, object_name:AR_CONTACTS_V, status:VALID, product: AR - Receivables , description: (Release 11.5 Only) , implementation_dba_data: APPS.AR_CONTACTS_V ,
-
Table: HZ_PARTIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTIES, object_name:HZ_PARTIES, status:VALID, product: AR - Receivables , description: Information about parties such as organizations, people, and groups , implementation_dba_data: AR.HZ_PARTIES ,
-
Table: HZ_PARTIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTIES, object_name:HZ_PARTIES, status:VALID, product: AR - Receivables , description: Information about parties such as organizations, people, and groups , implementation_dba_data: AR.HZ_PARTIES ,