Results for “associated_entity_name”

8 results




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

Overview

JG_ZZ_ENTITY_ASSOC_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the JG (Regional Localizations) product family. It exposes business entity relationship information, presenting the association records that link a primary entity to an associated entity within a localization context. In EBS 12.1.1 and 12.2.2 the object is documented as VALID and is registered in the ETRM (E-Business Suite Tables and Views Reference Manual) as a view rather than a base table, which confirms its role as a read-only presentation layer over transactional association data. Because the view resolves descriptive identifiers — vendor names and lookup meanings — at query time, it is well suited to concurrent program reports, BI Publisher data templates, and inbound or outbound interface extracts that require human-readable entity relationship data without additional joins in the calling code. The INEFFECTIVE_DATE column, which is the term that led to this object, makes the view particularly relevant for date-effective reporting: consumers can distinguish currently active associations from those that have been end-dated by comparing INEFFECTIVE_DATE against the effective system date or SYSDATE.

Underlying Base Objects

The documented base objects referenced by the view are JG_ZZ_ENTITY_ASSOC (accessed through a synonym), PO_VENDORS (view), FND_LOOKUPS (view), and the FND_GLOBAL package. The primary driving table is JG_ZZ_ENTITY_ASSOC, aliased EA, which supplies the association identifier, entity key values, descriptive text, the EFFECTIVE_DATE and INEFFECTIVE_DATE pair, and the twenty attribute columns. PO_VENDORS, aliased VE, is joined on VE.VENDOR_ID = EA.ASSOCIATED_ENTITY_ID and contributes the ASSOCIATED_ENTITY_NAME column derived from VENDOR_NAME; the outer join direction in the view text means an association whose associated entity is not a valid vendor will not return a vendor-derived name. FND_LOOKUPS, aliased LK, is restricted to LOOKUP_TYPE = 'JGZZ_ENTITY_ASSOC_ID_TYPE' and joined on LK.LOOKUP_CODE = EA.ID_TYPE, supplying the decoded ID_TYPE_DSP value. FND_GLOBAL is referenced for session context resolution, typically to derive the current user or responsibility during runtime evaluation. The view performs no aggregation and no filtering on effectivity dates, so all association rows are returned regardless of whether they have been end-dated.

Key Columns

  • ENTITY_ASSOCIATION_ID — primary key of the underlying association record.
  • PRIMARY_ID_NUMBER — identifier of the primary entity in the relationship.
  • ASSOCIATED_ENTITY_ID / ASSOCIATED_ENTITY_NAME — the associated entity's identifier and its vendor-derived display name.
  • ID_TYPE / ID_TYPE_DSP — the raw lookup code and its decoded meaning from FND_LOOKUPS.
  • ID_NUMBER — the identification number associated with the related entity.
  • DESCRIPTION — free-text description of the relationship.
  • EFFECTIVE_DATE / INEFFECTIVE_DATE — the date-effective window; a NULL or future INEFFECTIVE_DATE indicates the association remains active.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1 to ATTRIBUTE20 — the standard EBS descriptive flexfield container.
  • Creation and audit columns — CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, plus ROW_ID for row identification.

Common Use Cases and Queries

A frequent requirement is to list only currently active entity associations, which is expressed by testing the ineffective date for NULL or a value later than the reporting date.

SELECT entity_association_id, primary_id_number, associated_entity_name, id_type_dsp, id_number, effective_date, ineffective_date FROM jg_zz_entity_assoc_v WHERE ineffective_date IS NULL OR ineffective_date > SYSDATE ORDER BY associated_entity_name;

A second pattern identifies associations that have been end-dated within a reporting period, supporting audit and reconciliation extracts:

SELECT entity_association_id, id_type_dsp, id_number, effective_date, ineffective_date FROM jg_zz_entity_assoc_v WHERE ineffective_date BETWEEN :p_start_date AND :p_end_date ORDER BY ineffective_date;

Because the view already resolves the vendor name and lookup meaning, it is also commonly used directly as the data source for BI Publisher reports and for validating interface staging rows before they are loaded into JG_ZZ_ENTITY_ASSOC, ensuring that association records carry consistent effectivity dates.