Search Results person_name_suffix




Overview

The view APPS.OKL_CS_PERSON_PARTIES_UV is a reporting and integration construct within the Oracle E-Business Suite (EBS) Oracle Lease and Finance Management (OKL) module, specifically within the Customer/Party (CS) subsystem. It presents a unified list of parties — both persons and organizations — together with their related party information drawn from the Oracle Trading Community Architecture (TCA) model. Its principal role is to expose denormalized person attributes, including the PERSON_NAME_SUFFIX column, alongside organizational party names and relationship classifications, so that downstream screens, concurrent programs, and integrations can resolve lessees, lessors, and associated contacts without issuing complex multi-table joins against the TCA schema directly.

Because the view carries the _UV suffix, it is understood to be a user-facing or validation view intended for read access rather than for transactional DML. In both 12.1.1 and 12.2.2 the definition is essentially unchanged, since it depends solely on core TCA objects that were stable across those releases.

Underlying Base Objects

Per the documented ETRM metadata for 12.2.2, the view is owned by APPS and is defined over two referenced base objects:

  • HZ_PARTIES (referenced through a synonym) — the central TCA table storing party records, including persons and organizations, with person name components such as first, middle, last, and suffix.
  • HZ_RELATIONSHIPS (referenced through a synonym) — the TCA table capturing defined relationships between parties, including relationship codes and the subject/object pairing.

The view text confirms this: it joins HZ_RELATIONSHIPS REL to three aliases of HZ_PARTIESPER (the subject person), ORG (the related organization), and PTY (the primary party) — and then applies a UNION with a second branch that selects directly from HZ_PARTIES for those persons having no matching relationship row.

Key Columns

The view exposes the following columns, each derived from the TCA base tables:

  • PARTY_ID — computed via DECODE on party type: the relationship object ID for organizations, and the subject ID otherwise.
  • PARTY_TYPE — either ORGANIZATION or PERSON, sourced from HZ_PARTIES.PARTY_TYPE.
  • PARTY_NAME — the organization name from the ORG alias; null for the union branch when no organization context applies.
  • RELATED_PARTY_ID — the SUBJECT_ID from the relationship, or the party ID itself in the union branch.
  • PERSON_FIRST_NAME, PERSON_LAST_NAME, PERSON_MIDDLE_NAME, and PERSON_NAME_SUFFIX — the person name components, which are the columns most relevant to searches referencing a person's suffix (for example, "Jr.", "Sr.", "III").
  • RELATIONSHIP_TYPE — the RELATIONSHIP_CODE from HZ_RELATIONSHIPS, or NULL when the party has no relationship record.

Common Use Cases and Queries

Typical scenarios include resolving a party's full person name (with suffix) for correspondence, listing organizations and their associated persons, and identifying persons that have no relationship defined. A representative query returning parties whose person name suffix is populated is:

  • SELECT party_id, party_type, person_first_name, person_last_name, person_name_suffix, relationship_type FROM apps.okl_cs_person_parties_uv WHERE person_name_suffix IS NOT NULL;
  • SELECT party_id, party_name, related_party_id, relationship_type FROM apps.okl_cs_person_parties_uv WHERE party_type = 'ORGANIZATION';
  • SELECT party_id, person_first_name, person_last_name FROM apps.okl_cs_person_parties_uv WHERE related_party_id = :p_party_id AND relationship_type IS NULL;

These queries support lease party validation, contact lookups, and integration extracts. As with all TCA-based views, results reflect the current state of HZ_PARTIES and HZ_RELATIONSHIPS, so data quality in those base tables directly governs the view's output.