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.
- RELATIONSHIP_ID — NUMBER, the primary key and unique internal identifier for the node. It is enforced by the unique index
AHL_MC_RELATIONSHIPS_U1, which is the index named in the user's search term. This is the surrogate key referenced by dependent tables. - MC_HEADER_ID — NUMBER, foreign key to
AHL_MC_HEADERS_B, identifying the model configuration header that owns the node. - POSITION_KEY — NUMBER, a system-generated attribute used for migration and maintained across revisions. Together with
MC_HEADER_ID, it forms the second documented unique index,AHL_MC_RELATIONSHIPS_U2, making it a business-key candidate. - PARENT_RELATIONSHIP_ID — NUMBER, self-referencing foreign key that establishes the node hierarchy within a model.
- POSITION_REF_CODE and POSITION_NECESSITY_CODE — VARCHAR2(30), describing the node's reference role and whether the position is mandatory or optional.
- ITEM_GROUP_ID — NUMBER, foreign key to
AHL_ITEM_GROUPS_B, identifying the item group (alternate parts) associated with the position. - QUANTITY and UOM_CODE — quantity and unit of measure for the position.
- DISPLAY_ORDER — controls display order of nodes at a given level.
- ACTIVE_START_DATE and ACTIVE_END_DATE — effective dating for node validity.
- TEMP_ITEM_GROUP_ID — stores the item group ID of a draft copy associated with the position.
- SECURITY_GROUP_ID — foreign key to
FND_SECURITY_GROUPS, controlling row-level security. - OBJECT_VERSION_NUMBER and standard Who columns (
LAST_UPDATE_DATE,CREATED_BY, etc.) provide locking and audit information.
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.
-
This table stores MC Node information .It is result of denormalization of AHL_RELATIONSHIP_B and TL.
-
This table stores MC Node information .It is result of denormalization of AHL_RELATIONSHIP_B and TL.
-
eTRM - AHL Tables and Views 12.1.1
Ahl Production Workorder Operations Information stored in this table
-
eTRM - AHL Tables and Views 12.2.2
Ahl Production Workorder Operations Information stored in this table
-
eTRM - AHL Tables and Views 12.1.1
Ahl Production Workorder Operations Information stored in this table
-
eTRM - AHL Tables and Views 12.2.2
Ahl Production Workorder Operations Information stored in this table