Results for “ahl_relationship_b”

8 results




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

Overview

The AHL.AHL_MC_RELATIONSHIPS table is a core configuration table within the Oracle E-Business Suite Advanced Product Catalog / Oracle Configurator foundation in the AHL (Complex Maintenance, Repair and Overhaul) schema. In the context of Oracle EBS 12.1.1 and 12.2.2, it stores Model Configurator (MC) node information, representing the nodes of a configurable model structure along with their hierarchical position, parent-child relationships, and associated item groups. The table is described as the result of a denormalization of AHL_RELATIONSHIP_B and its translation (TL) tables, meaning it is a flattened, read-optimized structure designed to accelerate model configuration and validation operations rather than purely transactional storage.

From a data modeling perspective, the ETRM metadata classifies this object heuristically as hub-leaning. This suggests that, if modeled in a Data Vault paradigm, AHL_MC_RELATIONSHIPS would function primarily as a hub, with RELATIONSHIP_ID acting as the business entity key and other structural columns (parent relationships, item groups) forming link or satellite extensions. This is consistent with the table's role as a central anchor for MC nodes, around which several dependent tables cluster.

Key Information Stored

The table contains 37 columns. The most important of these are the surrogate primary key and the columns forming the documented unique business-key candidates.

Common Use Cases and Queries

Typical use cases revolve around querying and reporting on model configuration hierarchy. A common pattern is to reconstruct the node tree for a given model header by joining a node to its parent:

SELECT child.relationship_id, child.position_key,
       parent.relationship_id AS parent_id
FROM   ahl_mc_relationships child,
       ahl_mc_relationships parent
WHERE  child.parent_relationship_id = parent.relationship_id(+)
AND    child.mc_header_id = :mc_header_id;

Another frequent scenario is to enumerate all positions with their item groups and necessity codes for a model, using the unique index AHL_MC_RELATIONSHIPS_U2 to locate specific positions by business key. Reporting queries often filter on ACTIVE_START_DATE and ACTIVE_END_DATE to return only currently valid nodes. Because the table is a denormalization, it is preferred over joining AHL_RELATIONSHIP_B and its translation table for read-heavy operations.

Related Objects

The table has a network of documented foreign-key relationships that define its context:

  • AHL_MC_HEADERS_B — referenced via MC_HEADER_ID; the parent model configuration header.
  • AHL_ITEM_GROUPS_B — referenced via ITEM_GROUP_ID; supplies alternate parts for a position.
  • AHL_MC_RELATIONSHIPS (self) — referenced via PARENT_RELATIONSHIP_ID; establishes the node hierarchy.
  • FND_SECURITY_GROUPS — referenced via SECURITY_GROUP_ID; enforces row-level security.
  • AHL_CTR_UPDATE_RULES — references this table via RELATIONSHIP_ID; used for update rule definitions.
  • AHL_DOC_TITLE_ASSOS_B — references this table via ASO_OBJECT_ID; associates document titles with nodes.
  • AHL_MC_CONFIG_RELATIONS — references this table via RELATIONSHIP_ID; links configuration relations to nodes.