Search Results ahl_prog_type_subtypes_v
Overview
The view APPS.AHL_PROG_TYPE_SUBTYPES_V is a denormalized, lookup-resolved reporting view within the Oracle E-Business Suite (EBS) Complex Maintenance, Repair and Overhaul (AHL / eAM-MRO) product family. It exposes the relationship between program types and program subtypes as defined for Maintenance Repair (MR) program configuration, resolving the internal code values into their user-facing meanings and descriptions. The view is owned by the APPS schema and holds VALID status in both EBS 12.1.1 and 12.2.2.
In operational terms, the underlying entity AHL_PROG_TYPE_SUBTYPES stores the association between a program type lookup code and a program subtype lookup code, together with descriptive flexfield attributes. Rather than requiring report authors, integrations, or BI Publisher data models to perform multiple joins against FND_LOOKUP_VALUES_VL, this view pre-joins the lookups so that the translatable MEANING and DESCRIPTION columns are surfaced directly. This makes it convenient for reporting, concurrent-program extracts, and integration payloads that must present human-readable program type and subtype labels.
Underlying Base Objects
Per the documented ETRM metadata, AHL_PROG_TYPE_SUBTYPES_V is defined over three referenced objects:
AHL_PROG_TYPE_SUBTYPES— referenced as a SYNONYM, this is the core relationship table holdingPROG_TYPE_SUBTYPE_ID,OBJECT_VERSION_NUMBER, the program type and subtype codes, and theATTRIBUTE_CATEGORYplusATTRIBUTE1throughATTRIBUTE15descriptive flexfield columns.FND_LOOKUP_VALUES_VL(aliased PT) — joined onLOOKUP_TYPE = 'AHL_FMP_MR_PROGRAM_TYPE'andLOOKUP_CODE = REL.PROGRAM_TYPE_CODE, supplying the program type meaning and description.FND_LOOKUP_VALUES_VL(aliased ST) — joined onLOOKUP_TYPE = 'AHL_FMP_MR_PROGRAM_SUBTYPE'andLOOKUP_CODE = REL.PROGRAM_SUBTYPE_CODE, supplying the program subtype meaning and description.
The view therefore inherits the row-filtering behavior of an inner-join lookup resolution: a subtype relationship row will only appear if valid lookup values exist in both lookup types. The two FND_LOOKUP_VALUES_VL references are the same underlying view, used twice with distinct aliases for the type and subtype lookups respectively.
Key Columns
PROG_TYPE_SUBTYPE_ID— Primary identifier for the type/subtype relationship row; the principal key for joining back to the base table.OBJECT_VERSION_NUMBER— Optimistic locking / concurrency column inherited from the base table.PROGRAM_TYPE_CODEandPROGRAM_SUBTYPE_CODE— Internal lookup codes for the program type and subtype associations.PROGRAM_TYPEandPROGRAM_TYPE_DESCRIPTION— The resolved lookupMEANINGandDESCRIPTIONfor the program type (from alias PT).PROGRAM_SUBTYPEandPROGRAM_SUBTYPE_DESCRIPTION— The resolved lookupMEANINGandDESCRIPTIONfor the program subtype (from alias ST).ATTRIBUTE_CATEGORYandATTRIBUTE1–ATTRIBUTE15— Descriptive flexfield context and segment columns carried through from the base table for extensibility.
Common Use Cases and Queries
Typical uses include reporting on configured maintenance program type/subtype pairings, driving LOV-style selection lists in custom forms or OAF pages, and supplying readable labels in integration extracts. Because meanings are translatable, the view returns language-appropriate values for the session.
To list all resolved type/subtype relationships:
SELECT PROG_TYPE_SUBTYPE_ID, PROGRAM_TYPE, PROGRAM_SUBTYPE, PROGRAM_TYPE_DESCRIPTION, PROGRAM_SUBTYPE_DESCRIPTION FROM APPS.AHL_PROG_TYPE_SUBTYPES_V;
To filter for a specific program type or to inspect flexfield data:
SELECT PROGRAM_TYPE_CODE, PROGRAM_SUBTYPE_CODE, ATTRIBUTE_CATEGORY, ATTRIBUTE1 FROM APPS.AHL_PROG_TYPE_SUBTYPES_V WHERE PROGRAM_TYPE_CODE = :p_type;
Because the view performs the lookup joins internally, callers avoid writing the two FND_LOOKUP_VALUES_VL joins themselves and can rely on the view for consistent, translated presentation of program type and subtype data.
-
View: AHL_PROG_TYPE_SUBTYPES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PROG_TYPE_SUBTYPES_V, object_name:AHL_PROG_TYPE_SUBTYPES_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on the views AHL_PROG_TYPE_SUBTYPES,FND_LOOKUP_VALUES_VL and FND_LOOKUP_VALUES_VL , implementation_dba_data: APPS.AHL_PROG_TYPE_SUBTYPES_V ,
-
View: AHL_PROG_TYPE_SUBTYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PROG_TYPE_SUBTYPES_V, object_name:AHL_PROG_TYPE_SUBTYPES_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on the views AHL_PROG_TYPE_SUBTYPES,FND_LOOKUP_VALUES_VL and FND_LOOKUP_VALUES_VL , implementation_dba_data: APPS.AHL_PROG_TYPE_SUBTYPES_V ,
-
SYNONYM: APPS.AHL_PROG_TYPE_SUBTYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_PROG_TYPE_SUBTYPES, status:VALID,
-
SYNONYM: APPS.AHL_PROG_TYPE_SUBTYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_PROG_TYPE_SUBTYPES, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.AHL_PROG_TYPE_SUBTYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PROG_TYPE_SUBTYPES_V, object_name:AHL_PROG_TYPE_SUBTYPES_V, status:VALID,
-
VIEW: APPS.AHL_PROG_TYPE_SUBTYPES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PROG_TYPE_SUBTYPES_V, object_name:AHL_PROG_TYPE_SUBTYPES_V, status:VALID,
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
VIEW: APPS.FND_LOOKUP_VALUES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUP_VALUES_VL, object_name:FND_LOOKUP_VALUES_VL, status:VALID,
-
eTRM - AHL Tables and Views
12.1.1
description: Ahl Production Workorder Operations Information stored in this table ,
-
eTRM - AHL Tables and Views
12.2.2
description: Ahl Production Workorder Operations Information stored in this table ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - AHL Tables and Views
12.1.1
description: Ahl Production Workorder Operations Information stored in this table ,
-
eTRM - AHL Tables and Views
12.2.2
description: Ahl Production Workorder Operations Information stored in this table ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,