Search Results ahl_unit_effectivities_app_v
Overview
APPS.AHL_UNIT_EFFECTIVITIES_APP_V is a reporting and integration view within the Oracle E-Business Suite Release 12.1.1 and 12.2.2 environment, owned by the APPS schema and delivered as part of the AHL (Complex Maintenance Repair and Overhaul) product family. Unit effectivities represent the scheduled maintenance events generated against a specific unit or asset instance, and this view provides an application-usage-filtered projection of that data. Its functional role is to expose unit effectivity records that are relevant to the current application usage context, as determined by the AHL_APPLN_USAGE profile option, rather than to expose the entire multi-application dataset resident in the underlying base tables.
The view is documented with a VALID status in the ETRM metadata for 12.2.2 and is built directly on top of the translated view AHL_UNIT_EFFECTIVITIES_VL and the FND_PROFILE package. Because it filters on the runtime value of the profile option, the row set returned by AHL_UNIT_EFFECTIVITIES_APP_V is context-sensitive: two sessions operating under different AHL_APPLN_USAGE settings may legitimately see different subsets of effectivity records. This behavior is important for both reporting consumers and integration interfaces that must respect the separation between the maintenance and other usage classifications supported by the AHL module.
Underlying Base Objects
The documented base objects for this view are AHL_UNIT_EFFECTIVITIES_VL (itself a VIEW) and the FND_PROFILE package. The view text selects from AHL_UNIT_EFFECTIVITIES_VL, aliased as UE, and applies the predicate:
WHERE APPLICATION_USG_CODE = RTRIM(LTRIM(FND_PROFILE.VALUE('AHL_APPLN_USAGE')))
The VL view is the translated view layered over the base table AHL_UNIT_EFFECTIVITIES_B and the translation table AHL_UNIT_EFFECTIVITIES_TL. The _B table stores the language-independent columns, including identifiers, dates, status, and the descriptive flexfield attribute columns, while the _TL table supplies the language-dependent translated columns. AHL_UNIT_EFFECTIVITIES_VL joins these two structures so that consumers receive base and translated content in a single row. AHL_UNIT_EFFECTIVITIES_APP_V therefore sits two levels above the physical base table, and its behavior is inherited from the VL view. The FND_PROFILE.VALUE call evaluated in the WHERE clause introduces a dependency on the profile option cache maintained by Oracle Application Object Library.
Key Columns
The view exposes the complete set of unit effectivity columns. Notable columns include:
- UNIT_EFFECTIVITY_ID — primary identifier of the unit effectivity record.
- OBJECT_VERSION_NUMBER — optimistic locking column maintained by the AHL framework.
- CSI_ITEM_INSTANCE_ID — reference to the installed base item instance (the unit) to which the effectivity applies.
- MR_INTERVAL_ID, MR_EFFECTIVITY_ID, MR_HEADER_ID, PROGRAM_MR_HEADER_ID — links to the maintenance requirement definitions that generated this effectivity.
- STATUS_CODE — current lifecycle state of the effectivity.
- EARLIEST_DUE_DATE, DUE_DATE, LATEST_DUE_DATE — the due date window used for scheduling and compliance reporting.
- DUE_COUNTER_VALUE, COUNTER_ID — counter-based due information where the maintenance interval is measured by usage counters rather than calendar time.
- FORECAST_SEQUENCE, REPETITIVE_MR_FLAG, TOLERANCE_FLAG — controls relating to forecast ordering and tolerance handling.
- ACCOMPLISHED_DATE, DATE_RUN — completion and processing timestamps.
- PRECEDING_UE_ID, DEFER_FROM_UE_ID, ORIG_DEFERRAL_UE_ID — chaining columns that trace deferred or sequencing relationships across effectivities.
- APPLICATION_USG_CODE — the usage classification used by the view's filter predicate.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield columns.
- SECURITY_GROUP_ID — multi-organization security context.
Common Use Cases and Queries
Typical consumers include maintenance scheduling reports, due-date exception dashboards, and integration extracts that feed external planning systems. A simple query retrieving open effectivities with their due dates:
SELECT unit_effectivity_id, csi_item_instance_id, status_code, due_date, latest_due_date FROM ahl_unit_effectivities_app_v WHERE status_code = 'SCHEDULED' AND due_date < SYSDATE + 30;
A join from effectivity to the maintenance requirement header for descriptive reporting:
SELECT ue.unit_effectivity_id, ue.due_date, mrh.mr_header_id FROM ahl_unit_effectivities_app_v ue, ahl_mr_headers_vl mrh WHERE ue.mr_header_id = mrh.mr_header_id;
Because the view re-evaluates FND_PROFILE.VALUE at query time, callers in SQL*Plus or concurrent programs must ensure the AHL_APPLN_USAGE profile is appropriately set for the session's responsibility, otherwise no rows or an unintended usage subset may be returned. When a specific usage code must be forced regardless of profile configuration, querying AHL_UNIT_EFFECTIVITIES_VL directly with an explicit APPLICATION_USG_CODE predicate is the preferred alternative.
-
View: AHL_UNIT_EFFECTIVITIES_APP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_UNIT_EFFECTIVITIES_APP_V, object_name:AHL_UNIT_EFFECTIVITIES_APP_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve unit effectivities information based on the base( AHL_UNIT_EFFECTIVITIES_B ) and TL ( AHL_UNIT_EFFECTIVITIES_TL ) tables striped by the language and application usage code. , implementation_dba_data: APPS.AHL_UNIT_EFFECTIVITIES_APP_V ,
-
View: AHL_UNIT_EFFECTIVITIES_APP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_UNIT_EFFECTIVITIES_APP_V, object_name:AHL_UNIT_EFFECTIVITIES_APP_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve unit effectivities information based on the base( AHL_UNIT_EFFECTIVITIES_B ) and TL ( AHL_UNIT_EFFECTIVITIES_TL ) tables striped by the language and application usage code. , implementation_dba_data: APPS.AHL_UNIT_EFFECTIVITIES_APP_V ,
-
VIEW: APPS.AHL_SR_UE_ASSOCIATIONS_V
12.2.2
-
VIEW: APPS.AHL_SR_UE_ASSOCIATIONS_V
12.1.1
-
View: AHL_SR_UE_ASSOCIATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SR_UE_ASSOCIATIONS_V, object_name:AHL_SR_UE_ASSOCIATIONS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View to retrieve the unit effectivities that are associated to a Service Request. , implementation_dba_data: APPS.AHL_SR_UE_ASSOCIATIONS_V ,
-
APPS.AHL_UMP_UNITMAINT_PVT SQL Statements
12.1.1
-
View: AHL_SR_UE_ASSOCIATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SR_UE_ASSOCIATIONS_V, object_name:AHL_SR_UE_ASSOCIATIONS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View to retrieve the unit effectivities that are associated to a Service Request. , implementation_dba_data: APPS.AHL_SR_UE_ASSOCIATIONS_V ,
-
APPS.AHL_UMP_UNITMAINT_PVT SQL Statements
12.2.2
-
VIEW: APPS.AHL_VISITS_INFO_V
12.2.2
-
PACKAGE BODY: APPS.AHL_UMP_UNPLANNED_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_UNPLANNED_PVT, status:VALID,
-
VIEW: APPS.AHL_VISITS_INFO_V
12.1.1
-
PACKAGE BODY: APPS.AHL_LTP_SPACE_SCHEDULE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_SPACE_SCHEDULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UMP_UNPLANNED_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_UNPLANNED_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_SPACE_SCHEDULE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_SPACE_SCHEDULE_PVT, status:VALID,
-
APPS.CS_SR_STATUS_PROPAGATION_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CS_SR_STATUS_PROPAGATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SR_STATUS_PROPAGATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_SR_STATUS_PROPAGATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SR_STATUS_PROPAGATION_PKG, status:VALID,
-
APPS.AHL_UMP_SR_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AHL_UMP_UNITMAINT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_UNITMAINT_PVT, status:VALID,
-
APPS.CS_SR_STATUS_PROPAGATION_PKG SQL Statements
12.2.2
-
APPS.AHL_UMP_SR_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_UMP_SR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_SR_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSF_PREVENTIVE_MAINTENANCE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSF_PREVENTIVE_MAINTENANCE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UMP_PROCESSUNIT_EXTN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_PROCESSUNIT_EXTN_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UMP_PROCESSUNIT_EXTN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_PROCESSUNIT_EXTN_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UMP_SR_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_SR_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UMP_UNITMAINT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_UNITMAINT_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSF_PREVENTIVE_MAINTENANCE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSF_PREVENTIVE_MAINTENANCE_PVT, status:VALID,
-
View: AHL_VISITS_INFO_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISITS_INFO_V, object_name:AHL_VISITS_INFO_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Visit information , implementation_dba_data: APPS.AHL_VISITS_INFO_V ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.AHL_UMP_PROCESSUNIT_EXTN_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_UMP_PROCESSUNIT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_PROCESSUNIT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UMP_NONROUTINES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_NONROUTINES_PVT, status:VALID,
-
VIEW: APPS.AHL_UE_DEFERRAL_DETAILS_V
12.2.2
-
PACKAGE BODY: APPS.AHL_COMPLETIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_COMPLETIONS_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.AHL_UMP_NONROUTINES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_NONROUTINES_PVT, status:VALID,
-
VIEW: APPS.AHL_UE_DEFERRAL_DETAILS_V
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AHL_UMP_PROCESSUNIT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UMP_PROCESSUNIT_PVT, status:VALID,
-
View: AHL_VISITS_INFO_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISITS_INFO_V, object_name:AHL_VISITS_INFO_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Visit information , implementation_dba_data: APPS.AHL_VISITS_INFO_V ,
-
APPS.CSF_PREVENTIVE_MAINTENANCE_PVT SQL Statements
12.2.2
-
APPS.CSF_PREVENTIVE_MAINTENANCE_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_COMPLETIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_COMPLETIONS_PVT, status:VALID,
-
APPS.AHL_UMP_PROCESSUNIT_PVT SQL Statements
12.1.1
-
APPS.AHL_UMP_FORECAST_REQ_PVT SQL Statements
12.2.2
-
APPS.AHL_UMP_FORECAST_REQ_PVT SQL Statements
12.1.1
-
View: AHL_UE_DEFERRAL_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_UE_DEFERRAL_DETAILS_V, object_name:AHL_UE_DEFERRAL_DETAILS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View to retrieve the deferral and unit effectivity details. , implementation_dba_data: APPS.AHL_UE_DEFERRAL_DETAILS_V ,
-
VIEW: APPS.AHL_SR_UE_ASSOCIATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SR_UE_ASSOCIATIONS_V, object_name:AHL_SR_UE_ASSOCIATIONS_V, status:VALID,