Search Results eam_runtime_interval_v
Overview
EAM_RUNTIME_INTERVAL_V is an APPS-owned database view within the Enterprise Asset Management (EAM) module of Oracle E-Business Suite, valid in both 12.1.1 and 12.2.2. Its documented purpose is to retrieve runtime rule information together with the associated meter details for preventive maintenance scheduling. In the EAM preventive maintenance model, runtime rules allow a maintenance activity to be triggered by accumulated equipment usage — for example, the number of operating hours, cycles, or miles recorded against a meter — rather than by a fixed calendar interval alone. This view assembles that runtime rule configuration, the governing meter attributes, and the last recorded service reading into a single denormalized result set.
Because the object is a view rather than a base table, it holds no data of its own and is intended purely for read access. It serves as a reporting and integration surface for maintenance planners, custom concurrent programs, and external systems that need to interrogate runtime-based PM scheduling without reconstructing the underlying joins manually. It is equally useful as a diagnostic tool when validating why a runtime-driven PM activity has or has not fired.
Underlying Base Objects
The view is defined over the following documented base objects: EAM_PM_SCHEDULING_RULES, EAM_METERS, EAM_PM_LAST_SERVICE, and EAM_PM_SCHEDULINGS. The documented view metadata for 12.2.2 also lists CSI_COUNTERS_B, CSI_COUNTERS_TL, CSI_COUNTER_TEMPLATE_B, CSI_COUNTER_TEMPLATE_TL, and the EAM_METERS_UTIL package as referenced objects, reflecting the meter and counter infrastructure that EAM leverages from the Install Base schema. The EAM tables are exposed to APPS through synonyms.
The view text is a UNION of two queries. The first joins the PM scheduling rule to its PM schedule, activity association, and last-service record, and then to the meter, filtering on the meter's effective date range using NVL(FROM_EFFECTIVE_DATE, SYSDATE-1) and NVL(TO_EFFECTIVE_DATE, SYSDATE+1). The second query handles schedule templates (EPS.TMPL_FLAG = 'Y'); it has no activity association at this stage and therefore returns TO_NUMBER(NULL) in the LAST_SERVICE_READING position. Both branches apply the same effective-dating predicate, so only currently effective meters are returned.
Key Columns
- RULE_ID — Identifier of the EAM PM scheduling rule that carries the runtime interval definition.
- PM_SCHEDULE_ID — The PM schedule to which the rule belongs.
- ACTIVITY_ASSOCIATION_ID — Links the schedule to a specific asset activity association.
- RULE_TYPE — Distinguishes the kind of scheduling rule; runtime rules are one such type.
- METER_ID, METER_NAME, METER_UOM — The meter that supplies the consumption signal, its user-facing name, and unit of measure.
- VALUE_CHANGE_DIR — Direction of meter value change (for example ascending or descending usage).
- METER_DESCRIPTION — Descriptive text for the meter, aliased from EM.DESCRIPTION.
- RUNTIME_INTERVAL — The interval, expressed in meter units, at which the maintenance activity is due.
- LAST_SERVICE_READING — The most recent service meter reading; null for template-driven rows.
- EFFECTIVE_READING_FROM / EFFECTIVE_READING_TO — Meter reading boundaries within which the rule applies.
- EFFECTIVE_DATE_FROM / EFFECTIVE_DATE_TO — Date boundaries for rule validity.
- USER_DEFINED_RATE — Rate flag from the meter indicating user-entered rate handling.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, LAST_UPDATE_DATE — Standard EBS audit columns.
Common Use Cases and Queries
Typical uses include auditing runtime-based PM setup, calculating remaining usage before the next service, and feeding external condition-monitoring systems. Because the view already resolves the meter and last-service joins, queries are concise. A representative example listing active runtime rules with remaining interval:
SELECT pm_schedule_id, activity_association_id, meter_name, runtime_interval, last_service_reading FROM apps.eam_runtime_interval_v WHERE rule_type = 'RUNTIME';SELECT meter_name, runtime_interval - (current_reading - last_service_reading) remaining FROM apps.eam_runtime_interval_v WHERE activity_association_id = :activity_association_id;SELECT rule_id, pm_schedule_id, meter_name, runtime_interval, last_service_reading FROM apps.eam_runtime_interval_v ORDER BY pm_schedule_id, meter_name;
Consumers should account for the UNION behavior: rows without an activity association are template rows and return a null LAST_SERVICE_READING, so any arithmetic on that column must tolerate nulls. Filtering on the documented columns keeps queries on supported, effective-dated data.
-
View: EAM_RUNTIME_INTERVAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_RUNTIME_INTERVAL_V, object_name:EAM_RUNTIME_INTERVAL_V, status:VALID, product: EAM - Enterprise Asset Management , description: View used to get runtime rule information and meter details. , implementation_dba_data: APPS.EAM_RUNTIME_INTERVAL_V ,
-
View: EAM_RUNTIME_INTERVAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_RUNTIME_INTERVAL_V, object_name:EAM_RUNTIME_INTERVAL_V, status:VALID, product: EAM - Enterprise Asset Management , description: View used to get runtime rule information and meter details. , implementation_dba_data: APPS.EAM_RUNTIME_INTERVAL_V ,
-
SYNONYM: APPS.EAM_PM_LAST_SERVICE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_PM_LAST_SERVICE, status:VALID,
-
SYNONYM: APPS.CSI_COUNTERS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTERS_TL, status:VALID,
-
SYNONYM: APPS.EAM_PM_SCHEDULING_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:EAM_PM_SCHEDULING_RULES, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.CSI_COUNTER_TEMPLATE_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTER_TEMPLATE_TL, status:VALID,
-
SYNONYM: APPS.EAM_PM_LAST_SERVICE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:EAM_PM_LAST_SERVICE, status:VALID,
-
SYNONYM: APPS.CSI_COUNTER_TEMPLATE_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTER_TEMPLATE_B, status:VALID,
-
SYNONYM: APPS.CSI_COUNTER_TEMPLATE_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTER_TEMPLATE_B, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.CSI_COUNTER_TEMPLATE_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTER_TEMPLATE_TL, status:VALID,
-
SYNONYM: APPS.EAM_PM_SCHEDULING_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_PM_SCHEDULING_RULES, status:VALID,
-
SYNONYM: APPS.CSI_COUNTERS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTERS_TL, status:VALID,
-
SYNONYM: APPS.EAM_PM_SCHEDULINGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:EAM_PM_SCHEDULINGS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.EAM_METERS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EAM_METERS_UTIL, status:VALID,
-
SYNONYM: APPS.EAM_PM_SCHEDULINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:EAM_PM_SCHEDULINGS, status:VALID,
-
PACKAGE: APPS.EAM_METERS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_METERS_UTIL, status:VALID,
-
SYNONYM: APPS.CSI_COUNTERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTERS_B, status:VALID,
-
SYNONYM: APPS.CSI_COUNTERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_COUNTERS_B, status:VALID,
-
VIEW: APPS.EAM_RUNTIME_INTERVAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_RUNTIME_INTERVAL_V, object_name:EAM_RUNTIME_INTERVAL_V, status:VALID,
-
VIEW: APPS.EAM_RUNTIME_INTERVAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:EAM.EAM_RUNTIME_INTERVAL_V, object_name:EAM_RUNTIME_INTERVAL_V, status:VALID,
-
eTRM - EAM Tables and Views
12.1.1
description: Table for storing workflow item type and keys corresponding to a work order ,
-
eTRM - EAM Tables and Views
12.2.2
description: Table for storing workflow item type and keys corresponding to a work order ,
-
12.2.2 DBA Data
12.2.2
-
eTRM - EAM Tables and Views
12.1.1
description: Table for storing workflow item type and keys corresponding to a work order ,
-
12.1.1 DBA Data
12.1.1
-
eTRM - EAM Tables and Views
12.2.2
description: Table for storing workflow item type and keys corresponding to a work order ,