Search Results hz_relationship_types
Overview
The HZ_RELATIONSHIP_TYPES table is a core reference table within Oracle E-Business Suite's Trading Community Architecture (TCA), specifically under the Receivables (AR) product module. It serves as the master repository for defining the nature of associations between different parties within the system. A party can be an organization, a person, a group, or another entity. This table standardizes and controls the types of relationships that can be established, such as "Employee of," "Subsidiary of," or "Contact for." Its primary role is to provide a validated list of relationship types that can be used when creating records in the central relationship table, HZ_RELATIONSHIPS, ensuring data consistency and integrity across all customer and partner interactions.
Key Information Stored
The table's structure is designed to categorize and describe each valid relationship type. The primary key, RELATIONSHIP_TYPE_ID, uniquely identifies each type. Two critical columns, SUBJECT_TYPE and OBJECT_TYPE, define the participating entities in the relationship. The SUBJECT_TYPE represents the party initiating or holding the relationship role (e.g., "Employee"), while the OBJECT_TYPE represents the target party of that relationship (e.g., "Organization"). Other significant columns typically include a RELATIONSHIP_CODE for internal processing, a user-facing DISPLAY_NAME, a DESCRIPTION, and columns controlling status (STATUS, START_DATE_ACTIVE, END_DATE_ACTIVE). The table also maintains standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE) for auditing.
Common Use Cases and Queries
This table is essential for setup, reporting, and data validation. Administrators query it to review or maintain the list of active relationship types available for assignment. A common reporting need is to list all relationships for a specific party, which requires joining HZ_RELATIONSHIP_TYPES with HZ_RELATIONSHIPS and HZ_PARTIES. For example, to find all employees of a specific organization, one might use a query pattern such as:
- SELECT pr.party_name, rlt.display_name, rs.subject_id
- FROM hz_relationships rs,
- hz_relationship_types rlt,
- hz_parties pr
- WHERE rs.relationship_type_id = rlt.relationship_type_id
- AND rs.object_id = <org_party_id>
- AND rlt.relationship_code = 'EMPLOYEE_OF'
- AND rs.subject_id = pr.party_id
- AND SYSDATE BETWEEN rs.effective_start_date AND NVL(rs.effective_end_date, SYSDATE+1);
It is also frequently referenced in Data Security (DSS) criteria and geographic hierarchy definitions.
Related Objects
HZ_RELATIONSHIP_TYPES is centrally linked to the primary relationship table, HZ_RELATIONSHIPS, via the RELATIONSHIP_TYPE_ID foreign key. As indicated in the metadata, it has foreign key relationships with FND_OBJECT_INSTANCE_SETS on its SUBJECT_TYPE and OBJECT_TYPE columns, linking it to the Flexfields mechanism. Furthermore, it is referenced by HZ_DSS_CRITERIA.OWNER_TABLE_ID1 for defining data security rules and by HZ_GEO_STRUCTURE_LEVELS.RELATIONSHIP_TYPE_ID for configuring geographic hierarchies. Key APIs for managing relationship data, such as those in the HZ_RELATIONSHIP_V2PUB package, rely on the definitions stored in this table to validate input parameters.
-
Table: HZ_RELATIONSHIP_TYPES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_RELATIONSHIP_TYPES, object_name:HZ_RELATIONSHIP_TYPES, status:VALID, product: AR - Receivables , description: Relationship types , implementation_dba_data: AR.HZ_RELATIONSHIP_TYPES ,
-
Table: HZ_RELATIONSHIP_TYPES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_RELATIONSHIP_TYPES, object_name:HZ_RELATIONSHIP_TYPES, status:VALID, product: AR - Receivables , description: Relationship types , implementation_dba_data: AR.HZ_RELATIONSHIP_TYPES ,
-
APPS.IMC_REPORTS_SUMMARY_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_PARTY_CONTACT_V2PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_DSS_VALIDATE_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_DSS_GROUPS_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_MERGE_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_REGISTRY_VALIDATE_V2PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.AMS_PARTY_MKT_SEG_LOADER_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_BANK_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_GEO_STRUCTURE_VALIDATE_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.IGS_AD_IMP_008 dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.IGS_AD_SS_GEN_001 dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_CUST_ACCOUNT_MERGE_V2PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_DSS_GROUPS_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_DSS_GROUPS_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_RELATIONSHIP_V2PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.ARP_PAY_REL_CUST_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_RELATIONSHIP_TYPE_V2PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.AMS_LISTIMPORT_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_BANK_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_CUST_ACCOUNT_MERGE_V2PVT dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_GEOGRAPHY_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_GEO_GET_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_RELATIONSHIP_TYPE_V2PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_RELATIONSHIP_TYPES_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.ZX_TCM_GEO_JUR_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.RRS_SITE_INFO dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.FUN_RULE_UTILITY_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_GEOGRAPHY_STRUCTURE_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.ASO_VALIDATE_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.LNS_LOAN_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_MERGE_DUP_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.CS_CHARGE_DETAILS_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_HIERARCHY_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_UTILITY_V2PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_MERGE_DUP_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.LNS_LOAN_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.CS_CHARGE_DETAILS_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_COPY_REL_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_GEO_STRUCTURE_VALIDATE_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.OZF_PARTY_MKT_SEG_LOADER_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_PARTY_CONTACT_V2PUB dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.RRS_SITE_INFO dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.IGS_PE_RELATIONSHIPS_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.1.1
-
APPS.HZ_ACCT_CREATE_PKG dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_DSS_UTIL_PUB dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_IMP_LOAD_WRAPPER dependencies on HZ_RELATIONSHIP_TYPES
12.2.2
-
APPS.HZ_COPY_REL_PVT dependencies on HZ_RELATIONSHIP_TYPES
12.2.2