Results for “ahl_pc_tree_v”

22 results




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

Overview

The AHL_PC_TREE_V view resides in the APPS schema and belongs to the AHL (Complex Maintenance Repair and Overhaul) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. Its documented purpose is to expose "PC Tree info," that is, the hierarchical structure of a physical configuration (PC) tree, which in the AHL model represents the assembly of a maintained unit, its subcomponents, and associated items. The view presents both the structural nodes of the configuration hierarchy and the associations (typically unit item assignments) that hang from those nodes.

Functionally, AHL_PC_TREE_V is a reporting and integration artifact. It presents a flattened, tree-oriented projection of the physical configuration so that downstream consumers — custom reports, OBIEE extracts, interfaces, or diagnostic queries — can traverse parent/child relationships without navigating the separate node and association entities directly. Because it is a view, no data is stored within it; it is a real-time representation derived from its base objects, and it is delivered with a status of VALID in the ETRM 12.2.2 data model. The presence of standard EBS WHO columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER) and the DFF attribute columns confirms it is a standard, open-interface style object suitable for BI Publisher, concurrent program output, and custom SQL.

Underlying Base Objects

The view text is a UNION of two SELECT statements, and the documented referenced base objects are:

  • AHL_PC_NODES_VL (VIEW) — supplies the node-level rows, aliased AHNO in both branches.
  • AHL_PC_ASSOCIATIONS_V (VIEW) — supplies the association-level rows, aliased AHASS in the second branch.

The first branch of the UNION selects directly from AHL_PC_NODES_VL. The second branch joins AHL_PC_ASSOCIATIONS_V to AHL_PC_NODES_VL on AHNO.PC_NODE_ID = AHASS.PC_NODE_ID, so the header context (PC_HEADER_ID) for association rows is resolved through the parent node record. The UNION therefore produces a single, uniform result set in which structural nodes and their associated unit items appear side by side.

Key Columns

Common Use Cases and Queries

Typical uses include rendering a physical configuration tree for a maintenance work order, reconciling node-to-association links, and extracting association unit items for a given configuration header. The following query lists nodes and their linked-node reference for a given PC header:

SELECT pc_node_id, name, parent_node_id, link_to_node_id, node_type
FROM   apps.ahl_pc_tree_v
WHERE  pc_header_id = :pc_header_id
ORDER  BY parent_node_id, name;

To isolate the association-level unit items (and their link pointers):

SELECT pc_node_id, name, parent_node_id, link_to_node_id,
       unit_item_id, inventory_org_id, node_type
FROM   apps.ahl_pc_tree_v
WHERE  node_type != 'N'
AND    pc_header_id = :pc_header_id;

When resolving LINK_TO_NODE_ID, note that the target may be either a node or an association depending on the row's NODE_TYPE; a self-join is therefore required to resolve the linked entity's name and description reliably.