Search Results ahl_ump_message




Overview

APPS.AHL_UNIT_EFFECTIVITIES_V is a reporting and inquiry view within the Oracle E-Business Suite Enterprise Asset Management (eAM) and Complex Maintenance, Repair, and Overhaul (CMRO) product family. It presents unit effectivities — the scheduled occurrences of a maintenance program against a specific installed unit — in a fully denormalized, presentation-ready form. Rather than requiring the caller to join the unit effectivity base and translation tables to maintenance program headers, intervals, counters, customer assets, contracts, and lookup meanings, the view assembles all of these into a single result set.

Functionally, the view serves as the data source behind the Maintenance Program Scheduling and unit effectivity inquiry screens in the Oracle Asset Lifecycle (AHL) module, as well as the interface used by concurrent programs and integrations that need to extract due and forecasted maintenance events. Because the view exposes MESSAGE_CODE and its decoded MESSAGE, it is also the natural query target for diagnostics involving unit effectivity warning messages, including messaging maintained through the AHL_UMP_MESSAGE mechanism used by the Unit Maintenance Planner.

Underlying Base Objects

The view is owned by APPS and is defined over the following documented base objects:

Two scalar subqueries join back into AHL_MR_HEADERS_B and AHL_UNIT_EFFECTIVITIES_B to produce DEPENDANT_TITLE and DEFER_FROM_MR_TITLE, resolving the titles of predecessor and deferral program records.

Key Columns

Common Use Cases and Queries

The view is typically queried to list upcoming and overdue maintenance for a set of units, to trace a unit effectivity back to its program and contract, or to diagnose why a scheduling message was raised.

  • Due and overdue effectivities for a unit:
SELECT unit_effectivity_id, unit_name, part_number, serial_number,
       due_date, latest_due_date, status, message
  FROM apps.ahl_unit_effectivities_v
 WHERE serial_number = :p_serial
   AND due_date <= SYSDATE + 30
 ORDER BY due_date;
  • Diagnosing effectivities carrying a warning message:
SELECT unit_effectivity_id, unit_name, title, message, status
  FROM apps.ahl_unit_effectivities_v
 WHERE message_code IS NOT NULL
   AND status NOT IN ('ACCOMPLISHED','CANCELLED');
  • Program and contract context for an effectivity:
SELECT v.unit_effectivity_id, v.title, v.revision,
       v.program_type, v.contract_number, v.line_number
  FROM apps.ahl_unit_effectivities_v v
 WHERE v.unit_effectivity_id = :p_ue_id;

Because the view performs numerous outer joins and invokes AHL_UMP_UTIL_PKG per row, queries should be constrained by UNIT_EFFECTIVITY_ID, CSI_ITEM_INSTANCE_ID, or date ranges to avoid excessive row-by-row function calls. Read access is generally granted through the APPS schema or equivalent responsibility-level permissions in EBS 12.1.1 and 12.2.2.