Search Results csi_hzpty_contacts_v




Overview

CSI_HZPTY_CONTACTS_V is an APPS-owned database view in the Oracle E-Business Suite Release 12.1.1 and 12.2.2 environments. It resides in the CSI (Install Base) product family and is described in the ETRM repository as a "Customer Party Contacts View for the record groups." Published with a VALID status, the view consolidates party, party relationship, and organization contact information into a single denormalized result set, allowing reports and integration components to retrieve contact data without directly navigating the underlying Trading Community Architecture (TCA) tables. Because its object type is a view rather than a table, it stores no data of its own; it derives all output at runtime from its joined base objects.

Underlying Base Objects

The documented view metadata lists four referenced base objects: AR_LOOKUPS (view), HZ_ORG_CONTACTS (synonym), HZ_PARTIES (synonym), and HZ_RELATIONSHIPS (synonym). The view text joins HZ_PARTIES (aliased HP) to HZ_PARTY_RELATIONSHIPS (HPR) on the relationship subject identifier, then joins HZ_ORG_CONTACTS (HOC) to the party relationship identifier. Two instances of AR_LOOKUPS (AL1, AL2) are outer-joined to resolve lookup codes into user-facing meanings — AL1 for the party type and AL2 for the party relationship type. The join to HZ_ORG_CONTACTS is an inner join, so only relationships that also exist as organization contacts are surfaced. The lookup joins use the Oracle outer-join operator (+), so rows are retained even when a matching lookup meaning is absent.

Key Columns

Common Use Cases and Queries

This view is typically consumed by concurrent programs, record group definitions, and custom reports in the Install Base module that require a flattened contact listing. Typical queries filter on relationship status or party type to produce active contact lists:

  • Listing active contacts with decoded relationship meanings: SELECT PARTY_NAME, PARTY_NUMBER, RELATIONSHIP_MEANING, ORG_CONTACT_STATUS FROM CSI_HZPTY_CONTACTS_V WHERE RELATIONSHIP_STATUS = 'A' ORDER BY SORT_ORDER, PARTY_NAME;
  • Restricting to persons: SELECT PARTY_ID, PARTY_NAME, RELATIONSHIP_TYPE FROM CSI_HZPTY_CONTACTS_V WHERE PARTY_TYPE = 'PERSON';
  • Resolving a specific relationship: SELECT PARTY_NAME, RELATIONSHIP_MEANING, RELATIONSHIP_START_DATE, RELATIONSHIP_END_DATE FROM CSI_HZPTY_CONTACTS_V WHERE ORIGINAL_PARTY_ID = :party_id;

Because AR_LOOKUPS is read through outer joins, RELATIONSHIP_MEANING may be null where no lookup row exists; report logic should tolerate this. All queries execute under APPS or a synonym with appropriate TCA read privileges.