Search Results ahl_phase_code
Overview
APPS.AHL_OPERATION_PHASES_V is a reporting and integration view in the Oracle E-Business Suite Advanced Product Catalog / Enterprise Technical and Maintenance (EBS) module. It exposes operation phase assignments — the relationship between an operation record in the AHL schema and a phase code defined in the Oracle Application Object Library (FND) lookup framework. The view is owned by the APPS schema and is documented in the ETRM 12.2.2 metadata repository.
The primary purpose of the view is to denormalize phase_code values into human-readable meaning and description text, enabling reports, concurrent programs, and external integrations to present phase information without performing ad-hoc joins to the FND lookups themselves. This is a common EBS design pattern that isolates consumers from the underlying lookup infrastructure and centralizes the join condition.
Underlying Base Objects
The view is defined as a join between two documented objects in the APPS schema:
- AHL_OPERATION_PHASES (access via synonym) — the transactional base table holding operation phase rows, aliased as AOB in the view definition.
- FND_LOOKUP_VALUES_VL — the multi-language lookup values view, aliased as PHASE, which supplies the translated meaning and description for each phase code.
The join is driven by two predicates: PHASE.LOOKUP_TYPE = 'AHL_PHASE_CODE' restricts the lookup values to the phase code lookup type, and PHASE.LOOKUP_CODE = AOB.PHASE_CODE correlates each operation phase record with its corresponding lookup entry. Because FND_LOOKUP_VALUES_VL is a multi-language view, only rows with a valid active lookup value in the current language context will appear in the results, effectively applying an inner-join semantics.
Key Columns
The view exposes the following columns, organized by origin:
- OPERATION_PHASE_ID — primary identifier of the operation phase assignment row.
- OBJECT_VERSION_NUMBER — optimistic locking version token inherited from the base table.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — standard EBS WHO columns describing audit context.
- OPERATION_ID — foreign key to the parent operation record.
- PHASE_CODE — the raw lookup code stored on AHL_OPERATION_PHASES; this is the value users search for when querying "ahl_phase_code".
- PHASE_MEANING — the translated display name of the phase, sourced from PHASE.MEANING.
- PHASE_DESCRIPTION — the longer descriptive text for the phase, sourced from PHASE.DESCRIPTION.
- REVISION_NUMBER — revision marker carried from the base table.
Common Use Cases and Queries
The view is typically consumed in three scenarios: operational reporting on which phases are assigned to operations, integration extracts that require readable phase labels, and troubleshooting of lookup configuration. A representative query retrieving all phases for a given operation uses the OPERATION_ID column:
SELECT operation_phase_id, operation_id, phase_code, phase_meaning, phase_description, revision_number FROM apps.ahl_operation_phases_v WHERE operation_id = :operation_id;SELECT phase_code, phase_meaning, phase_description FROM apps.ahl_operation_phases_v WHERE phase_code = 'WORKING';SELECT phase_code, COUNT(*) FROM apps.ahl_operation_phases_v GROUP BY phase_code ORDER BY 2 DESC;
Because the view relies on FND_LOOKUP_VALUES_VL with the AHL_PHASE_CODE lookup type, any extension of the phase code list must be performed through the lookup maintenance screen rather than by inserting into the view's base objects directly. When documenting columns for downstream consumers, PHASE_CODE is the stored value while PHASE_MEANING and PHASE_DESCRIPTION are the derived, language-sensitive display attributes.
-
Lookup Type: AHL_PHASE_CODE
12.1.1
product: AHL - Complex Maintenance Repair and Overhaul , meaning: Phase Code Type , description: Phase Code Type ,
-
Lookup Type: AHL_PHASE_CODE
12.2.2
product: AHL - Complex Maintenance Repair and Overhaul , meaning: Phase Code Type , description: Phase Code Type ,
-
VIEW: APPS.AHL_OPERATION_PHASES_V
12.1.1
-
VIEW: APPS.AHL_OPERATION_PHASES_V
12.2.2
-
View: AHL_OPERATION_PHASES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_OPERATION_PHASES_V, object_name:AHL_OPERATION_PHASES_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on the table AHL_OPERATION_PHASES and the view FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes. , implementation_dba_data: APPS.AHL_OPERATION_PHASES_V ,
-
View: AHL_OPERATION_PHASES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_OPERATION_PHASES_V, object_name:AHL_OPERATION_PHASES_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on the table AHL_OPERATION_PHASES and the view FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes. , implementation_dba_data: APPS.AHL_OPERATION_PHASES_V ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2