Results for “ast_ls_cont_name_v”

4 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

AST_LS_CONT_NAME_V is a reporting view within the Oracle EBS TeleSales (AST) module. It presents contact and party relationship information by joining the Oracle Trading Community Architecture (TCA) registries — specifically HZ_PARTIES, HZ_PARTY_RELATIONSHIPS, HZ_ORG_CONTACTS, and HZ_CONTACT_POINTS. Its primary design intent is to surface a denormalized, human-readable view of organization contacts alongside their relationship to the owning person or party, including contact name, phone and email/address detail.

In practice the view is used by TeleSales list generation and contact-lookup screens, where an agent or a concurrent program needs to enumerate contacts belonging to a customer or prospect organization. The distinctive aspect of the view is that it pairs a person (SUBJECT_ID) with an organization or object party (OBJECT_ID) through HZ_PARTY_RELATIONSHIPS, and then attaches the organization contact record (HZ_ORG_CONTACTS) and a primary phone contact point. Because the joins are largely built on TCA, the view is reusable beyond TeleSales for any listing that requires "contact names tied to a party."

The documentation explicitly records that the view is "Not implemented in this database," meaning the object may exist only as a seeded definition and not be created/compiled in a given environment. Analysts should verify existence before relying on it in custom code.

Underlying Base Objects

The view is defined over five TCA tables: HZ_PARTY_RELATIONSHIPS (alias REL), HZ_PARTIES as the person (P), HZ_PARTIES as the organization/object (O), HZ_PARTIES as the relationship party (R), HZ_CONTACT_POINTS (CPT, outer-joined), and HZ_ORG_CONTACTS (CNT). The join logic is:

  • P.PARTY_TYPE = 'PERSON' and P.PARTY_ID = REL.SUBJECT_ID — restricts to person subjects.
  • REL.STATUS = 'A' — only active relationships.
  • REL.OBJECT_ID = O.PARTY_ID — the target party (typically an organization).
  • REL.PARTY_RELATIONSHIP_ID = CNT.PARTY_RELATIONSHIP_ID — attaches the org contact record.
  • R.PARTY_ID = REL.PARTY_ID — the relationship's own party.
  • CPT is outer-joined on OWNER_TABLE_NAME='HZ_PARTIES' and OWNER_TABLE_ID=REL.PARTY_ID, filtered to PRIMARY_FLAG='Y', CONTACT_POINT_TYPE='PHONE', STATUS='A' — so a primary phone is returned when available but does not eliminate rows when absent.

All name, address, and phone data therefore originates in TCA; the TeleSales module supplies the presentation/consumer layer rather than a dedicated base table of its own.

Key Columns

The projected columns map cleanly to party, contact, and contact-point attributes:

Common Use Cases and Queries

The view supports contact name resolution for an organization, phone-based lookups, and list-building for TeleSales campaigns. A typical query retrieving contact names and phones for a given organization is:

SELECT PARTY_ID, PARTY_NAME, PERSON_ID, FULL_NAME,
       JOB_TITLE, EMAIL_ADDRESS, FULL_PHONE_NUMBER,
       PARTY_RELATIONSHIP_TYPE
FROM   AST_LS_CONT_NAME_V
WHERE  PARTY_ID = :p_party_id
ORDER BY FULL_NAME;

A name search for a user-supplied contact or brand/contact line may be expressed as:

SELECT PARTY_NAME, FULL_NAME, FULL_PHONE_NUMBER
FROM   AST_LS_CONT_NAME_V
WHERE  UPPER(FULL_NAME) LIKE UPPER('%' || :search_text || '%')
   OR  UPPER(PARTY_NAME) LIKE UPPER('%' || :search_text || '%');

Because the view does not expose a brand-name column directly, brand-level reporting should be resolved against the party/organization records joined by PARTY_ID. Since the object is documented as "not implemented," environments should confirm the view exists (for example, via ALL_VIEWS) before use, and any dependent custom report should be validated against the target 12.1.1 or 12.2.2 instance.