Results for “mr_id”

50+ results




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

Overview

In Oracle E-Business Suite 12.1.1 and 12.2.2, AHL.AHL_SNAPSHOTS is a table owned by the AHL schema (Complex Maintenance Repair and Overhaul). Per the ETRM repository, the table is VALID and its documented purpose is to store information about snapshots. In operational terms, it records point-in-time captures of maintenance, repair, and overhaul (MRO) execution data — specifically the pricing and cost position of a visit, a visit task, or a maintenance requirement header at a given moment. This supports cost tracking, estimate-versus-actual comparison, and historical analysis of MRO work packages.

The documented schema contains 32 columns, with a primary key constraint named AHL_SNAPSHOTS_PK on SNAPSHOT_ID. The heuristic Data Vault classification derived from the foreign key structure is link. As a modeling suggestion, this reflects the table's role as an associative entity connecting a visit, a visit task, and a maintenance requirement header to a snapshot record, rather than a pure descriptive satellite.

Key Information Stored

The most significant columns fall into identity, relationship, financial, and audit categories.

Common Use Cases and Queries

Snapshots are used to freeze the commercial state of MRO work so that later changes to estimates or actuals do not distort prior reporting. Typical scenarios include margin analysis by visit, drift reporting between estimated and actual cost, and auditing the scope captured at a milestone.

A representative query joining the snapshot to its parent visit is:

SELECT s.snapshot_number, s.visit_id, s.mr_id,
  s.estimated_cost, s.actual_cost,
  (s.actual_cost - s.estimated_cost) variance
FROM ahl_snapshots s
WHERE s.visit_id = :p_visit_id
ORDER BY s.creation_date;

Cost variance reporting by maintenance requirement aggregates the same columns grouped by MR_ID, while a security-scoped listing filters on SECURITY_GROUP_ID. For transaction-processing contexts, developers query by SNAPSHOT_NUMBER or SNAPSHOT_ID to retrieve a single snapshot and then navigate to the referenced visit or task.

Related Objects

Relationship metadata identifies the following parent tables, joined by the listed columns, plus the principal external referencers.

Applications should retrieve and mutate snapshot records through AHL's supported business logic and concurrent programs rather than direct DML, preserving the WHO audit columns and optimistic locking integrity enforced by OBJECT_VERSION_NUMBER.