Search Results ahl_mc_relationships_v
Overview
AHL_MC_RELATIONSHIPS_V is an APPS-owned database view in the Oracle E-Business Suite product AHL — Complex Maintenance Repair and Overhaul (CMRO). It exposes the node-level details of a Master Configuration, with the descriptive lookup columns resolved to their human-readable meanings. A Master Configuration defines a hierarchical bill-of-material style structure for a complex asset or assembly, and each row in the underlying AHL_MC_RELATIONSHIPS table represents a relationship (node position) within that structure. The view enriches those raw node records by resolving the position reference and position necessity codes against FND_LOOKUP_VALUES_VL and by joining item group details from AHL_ITEM_GROUPS_V.
The view is primarily consumed for reporting, inquiry screens, and integration extracts, where users need to see decoded descriptions rather than raw lookup codes. Because the lookup joins are outer joins, rows are still returned even when a code has no matching lookup entry, which keeps the view tolerant of incomplete or historical lookup configuration.
Underlying Base Objects
The documented base objects referenced by the view are:
- AHL_MC_RELATIONSHIPS (SYNONYM) — the driving table holding each Master Configuration node relationship, joined on RELATIONSHIP_ID.
- AHL_ITEM_GROUPS_V (or the underlying AHL_ITEM_GROUPS_B and AHL_ITEM_GROUPS_TL, shown as synonyms) — provides the item group NAME and DESCRIPTION for the ITEM_GROUP_ID.
- FND_LOOKUP_VALUES_VL (VIEW) — referenced twice as FPRC and FPNC to resolve POSITION_REF_CODE and POSITION_NECESSITY_CODE.
The join conditions are: FPRC.LOOKUP_TYPE = 'AHL_POSITION_REFERENCE' matching POSITION_REF_CODE, FPNC.LOOKUP_TYPE = 'AHL_POSITION_NECESSITY' matching POSITION_NECESSITY_CODE, and MCR.ITEM_GROUP_ID = IGV.ITEM_GROUP_ID. The lookup joins are outer joins (+), and the item group join is also outer.
Key Columns
- RELATIONSHIP_ID / MC_HEADER_ID / PARENT_RELATIONSHIP_ID — identity and hierarchy keys establishing each node and its parent within the Master Configuration.
- POSITION_KEY — the position identifier of the node.
- ITEM_GROUP_ID / GROUP_NAME / GROUP_DESC — the item group assigned to the node; GROUP_DESC is the descriptive text of the group.
- POSITION_REF_CODE, POSITION_REF_MEANING, POSITION_REF_DESC — the reference type code resolved to its lookup meaning and description.
- POSITION_NECESSITY_CODE, POSITION_NECESSITY_MEANING, POSITION_NECESSITY_DESC — the necessity code resolved to its lookup meaning and description.
- UOM_CODE, QUANTITY, DISPLAY_ORDER — unit of measure, required quantity, and ordering of the node.
- ACTIVE_START_DATE / ACTIVE_END_DATE — effective dating of the relationship.
- TEMP_ITEM_GROUP_ID — staging item group reference used during configuration edits.
- AUDIT columns — CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, SECURITY_GROUP_ID, and the ATTRIBUTE1–15 flex columns.
Common Use Cases and Queries
A frequent scenario is retrieving the descriptive attributes of every node in a configuration, including the item group description. For example, to find nodes by group description:
- Filter on GROUP_DESC using a LIKE predicate to locate configurations containing a particular item group.
- Join MC_HEADER_ID to the Master Configuration header to report the full structure.
- Order by PARENT_RELATIONSHIP_ID and DISPLAY_ORDER to reproduce the hierarchy.
Sample SQL:
SELECT mc_header_id, relationship_id, parent_relationship_id,
position_key, group_name, group_desc,
position_ref_meaning, position_necessity_meaning,
uom_code, quantity, display_order
FROM apps.ahl_mc_relationships_v
WHERE group_desc LIKE '%<search_term>%'
AND NVL(active_end_date, SYSDATE + 1) > SYSDATE
ORDER BY mc_header_id, parent_relationship_id, display_order;
Because the view already decodes lookups and joins item groups, it eliminates the need to write the underlying three-way join in ad hoc reports, making it the preferred source for Master Configuration node reporting and integration extracts.
-
View: AHL_MC_RELATIONSHIPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MC_RELATIONSHIPS_V, object_name:AHL_MC_RELATIONSHIPS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view gives Master Configuration node details with respective lookup columns resolved into meanings. , implementation_dba_data: APPS.AHL_MC_RELATIONSHIPS_V ,
-
View: AHL_MC_RELATIONSHIPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MC_RELATIONSHIPS_V, object_name:AHL_MC_RELATIONSHIPS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view gives Master Configuration node details with respective lookup columns resolved into meanings. , implementation_dba_data: APPS.AHL_MC_RELATIONSHIPS_V ,
-
VIEW: APPS.AHL_MASTER_CONFIG_DETAILS_V
12.1.1
-
VIEW: APPS.AHL_MASTER_CONFIG_DETAILS_V
12.2.2
-
SYNONYM: APPS.AHL_ITEM_GROUPS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_ITEM_GROUPS_TL, status:VALID,
-
SYNONYM: APPS.AHL_ITEM_GROUPS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_ITEM_GROUPS_TL, status:VALID,
-
SYNONYM: APPS.AHL_ITEM_GROUPS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_ITEM_GROUPS_B, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_NODE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_NODE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_MASTERCONFIG_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_MASTERCONFIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_NODE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_NODE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_LOV_SERVICE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_LOV_SERVICE_PVT, status:VALID,
-
SYNONYM: APPS.AHL_ITEM_GROUPS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_ITEM_GROUPS_B, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_LOV_SERVICE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_LOV_SERVICE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_MASTERCONFIG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_MASTERCONFIG_PVT, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.AHL_MC_RELATIONSHIPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_MC_RELATIONSHIPS, status:VALID,
-
View: AHL_MASTER_CONFIG_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MASTER_CONFIG_DETAILS_V, object_name:AHL_MASTER_CONFIG_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view gives all details about the Mater Configuration Header and Nodes, and also some information about the item groups associated with the nodes. , implementation_dba_data: APPS.AHL_MASTER_CONFIG_DETAILS_V ,
-
View: AHL_MASTER_CONFIG_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MASTER_CONFIG_DETAILS_V, object_name:AHL_MASTER_CONFIG_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view gives all details about the Mater Configuration Header and Nodes, and also some information about the item groups associated with the nodes. , implementation_dba_data: APPS.AHL_MASTER_CONFIG_DETAILS_V ,
-
APPS.AHL_MC_NODE_PVT SQL Statements
12.2.2
-
APPS.AHL_MC_NODE_PVT SQL Statements
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.AHL_MC_RELATIONSHIPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_MC_RELATIONSHIPS, status:VALID,
-
VIEW: APPS.AHL_MC_RELATIONSHIPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MC_RELATIONSHIPS_V, object_name:AHL_MC_RELATIONSHIPS_V, status:VALID,
-
VIEW: APPS.AHL_MC_RELATIONSHIPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MC_RELATIONSHIPS_V, object_name:AHL_MC_RELATIONSHIPS_V, status:VALID,
-
VIEW: APPS.AHL_MASTER_CONFIG_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MASTER_CONFIG_DETAILS_V, object_name:AHL_MASTER_CONFIG_DETAILS_V, status:VALID,
-
APPS.AHL_MC_MASTERCONFIG_PVT SQL Statements
12.1.1
-
VIEW: APPS.AHL_MASTER_CONFIG_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MASTER_CONFIG_DETAILS_V, object_name:AHL_MASTER_CONFIG_DETAILS_V, status:VALID,
-
APPS.AHL_MC_MASTERCONFIG_PVT SQL Statements
12.2.2
-
APPS.AHL_MC_NODE_PVT dependencies on AHL_MC_RELATIONSHIPS_V
12.1.1
-
APPS.AHL_MC_MASTERCONFIG_PVT dependencies on AHL_MC_RELATIONSHIPS_V
12.1.1
-
APPS.AHL_MC_NODE_PVT dependencies on AHL_MC_RELATIONSHIPS_V
12.2.2
-
APPS.AHL_MC_ITEMGROUP_PVT SQL Statements
12.2.2
-
APPS.AHL_MC_ITEMGROUP_PVT SQL Statements
12.1.1
-
APPS.AHL_PRD_LOV_SERVICE_PVT dependencies on AHL_MC_RELATIONSHIPS_V
12.1.1
-
APPS.AHL_PRD_LOV_SERVICE_PVT dependencies on AHL_MC_RELATIONSHIPS_V
12.2.2
-
APPS.AHL_MC_MASTERCONFIG_PVT dependencies on AHL_MC_RELATIONSHIPS_V
12.2.2
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_NODE_PVT
12.1.1
-
PACKAGE BODY: APPS.AHL_MC_NODE_PVT
12.2.2
-
APPS.AHL_MC_ITEMGROUP_PVT dependencies on AHL_MC_RELATIONSHIPS
12.2.2
-
APPS.AHL_PRD_LOV_SERVICE_PVT dependencies on AHL_UNIT_CONFIG_HEADERS
12.1.1
-
APPS.AHL_PRD_LOV_SERVICE_PVT dependencies on AHL_UNIT_CONFIG_HEADERS
12.2.2
-
APPS.AHL_MC_ITEMGROUP_PVT dependencies on AHL_MC_RELATIONSHIPS
12.1.1
-
APPS.AHL_MC_MASTERCONFIG_PVT dependencies on AHL_MC_RELATIONSHIPS
12.1.1
-
APPS.AHL_MC_MASTERCONFIG_PVT dependencies on AHL_MC_RELATIONSHIPS
12.2.2
-
APPS.AHL_MC_NODE_PVT dependencies on AHL_MC_RELATIONSHIPS
12.1.1
-
APPS.AHL_MC_NODE_PVT dependencies on AHL_MC_RELATIONSHIPS
12.2.2