Results for “log_series_code”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
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.
-
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.
APPS.AHL_UNIT_EFFECTIVITIES_APP_V·↳ AHL_UNIT_EFFECTIVITIES_VL·↳ FND_PROFILE·Explore AHL module →
-
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.
APPS.AHL_UNIT_EFFECTIVITIES_APP_V·↳ AHL_UNIT_EFFECTIVITIES_VL·↳ FND_PROFILE·Explore AHL module →
-
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.
APPS.AHL_UNIT_EFFECTIVITIES_VL·↳ AHL_UNIT_EFFECTIVITIES_B·↳ AHL_UNIT_EFFECTIVITIES_TL·Explore AHL module →
-
This table stores the applicable maintenance requirements for all units and their components.
-
This table stores the applicable maintenance requirements for all units and their components.
-
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.
APPS.AHL_UNIT_EFFECTIVITIES_VL·↳ AHL_UNIT_EFFECTIVITIES_B·↳ AHL_UNIT_EFFECTIVITIES_TL·Explore AHL module →
-
eTRM - AHL Tables and Views 12.1.1
Ahl Production Workorder Operations Information stored in this table
-
eTRM - AHL Tables and Views 12.2.2
Ahl Production Workorder Operations Information stored in this table