Results for “oe_def_related_obj_v”

26 results




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

Overview

OE_DEF_RELATED_OBJ_V is a read-only view owned by the APPS schema in Oracle E-Business Suite, defined within the ONT (Order Management) product family. It exposes metadata about relationships between database objects registered in the Oracle Application Object Library (AOL/FND) metadata layer. Specifically, the view identifies how attributes of one registered database object relate to attributes of another object through foreign key and unique key definitions. This makes it a catalog-style view rather than a transactional view; it does not store order data but rather describes the structure of registered objects and their interrelationships.

In EBS 12.1.1 and 12.2.2, such metadata views support extensibility, diagnostics, and integration. Developers and implementers query them when building customizations, resolving descriptive flexfield or attribute relationships, or validating that foreign key registrations exist between objects. Because the view consolidates foreign key and unique key definitions across the AK metadata tables, it provides a normalized perspective on object-to-object relationships that would otherwise require multi-table joins.

Underlying Base Objects

The view is defined over several AOL metadata objects, all accessed through synonyms in the APPS schema. The documented base objects are:

The view text joins these objects multiple times, aliasing AK_FOREIGN_KEYS as FK1, FK2, and FK3 and AK_FOREIGN_KEY_COLUMNS as FKC1 and FKC2, with AK_OBJECT_ATTRIBUTES_VL referenced as both OA and OA2. The join logic links an attribute to its foreign key column, matches that foreign key to a unique key, then traces the corresponding foreign key on the related object to identify the related database object and its display attribute. The DISTINCT clause eliminates duplicate rows produced by the multiple join paths.

Key Columns

The view exposes the following columns listed in the documented metadata:

Common Use Cases and Queries

Typical scenarios include auditing foreign key metadata for a given object, tracing which attributes relate to a target object, and supporting customization or extension work where registered relationships must be confirmed. A representative query filters by the source object:

  • SELECT database_object_name, attribute_code, related_database_object_name, related_db_obj_display_name FROM oe_def_related_obj_v WHERE database_object_name = :object_name;
  • SELECT DISTINCT related_database_object_name FROM oe_def_related_obj_v WHERE attribute_code = :attribute_code;
  • SELECT * FROM oe_def_related_obj_v WHERE related_database_object_name LIKE 'OE%';

These queries help developers understand the metadata graph surrounding Order Management objects and validate that expected foreign key registrations are present in a given environment.