Results for “ahl_process_code”
22 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
VIEW: APPS.AHL_OPERATIONS_V is the Oracle E-Business Suite operational view that presents operation records belonging to the Oracle Enterprise Asset Management (eAM) / Advanced Planning and Scheduling operations model. In Release 12.1.1 and 12.2.2 the view is owned by the APPS schema and is defined over the current-edition base object AHL_OPERATIONS_VL together with several FND lookup views. Its principal reporting function is to expose operation definitions with their descriptive flexfield context and attributes, their workflow lifecycle flags, and, critically, human-readable meanings decoded from lookup codes rather than raw coded values.
The object is especially relevant to users searching for ahl_revision_status, because REVISION_STATUS_CODE is decoded in the view through the lookup type AHL_REVISION_STATUS. This enables revision pending, approved, and similar states to be reported directly without a second join to FND_LOOKUP_VALUES. Because the view joins several lookup views, it is most appropriate for ad hoc reporting, concurrent program queries, and OAF or XML Publisher data sources rather than for high-volume transactional processing.
Underlying Base Objects
The ETRM documentation records three referenced base objects: AHL_OPERATIONS_VL (VIEW), FND_LOOKUP_VALUES_VL (VIEW), and QA_CHAR_VALUE_LOOKUPS_V (VIEW). The primary join is to AHL_OPERATIONS_VL, aliased O, which supplies every operational column from OPERATION_ID through ENIGMA_OP_ID. The remaining objects are decoded through FND_LOOKUP_VALUES_VL, referenced multiple times with the aliases ST, REVST, OPTYPE, PROCESS, and MODEL, each constrained on a distinct LOOKUP_TYPE. QA_CHAR_VALUE_LOOKUPS_V, aliased QAL, supplies the QA inspection type description and is joined on SHORT_CODE with the restriction NVL(QAL.CHAR_ID,87)=87.
The joins to OPTYPE, PROCESS, and MODEL are outer joins, indicated by the (+) syntax, so operations lacking an operation type, process code, or model code are still returned. The joins to ST and REVST are inner joins and are mandatory filters: an operation is only returned when its STANDARD_OPERATION_FLAG exists in lookup type AHL_YES_NO_TYPE and its REVISION_STATUS_CODE exists in AHL_REVISION_STATUS. This dependency is the reason records with an unrecognised or uncoded revision status will not appear in the view.
Key Columns
- OPERATION_ID — surrogate primary key for the operation record.
- REVISION_NUMBER — the operation revision identifier; used together with the status to trace revision cycles.
- REVISION_STATUS_CODE and its decoded REVST.MEANING — the revision lifecycle state sourced from lookup type AHL_REVISION_STATUS.
- STANDARD_OPERATION_FLAG and decoded ST.MEANING — indicates whether the operation is a standard or non-standard operation (AHL_YES_NO_TYPE).
- OPERATION_TYPE_CODE / OPTYPE.MEANING — classification of the operation (AHL_OPERATION_TYPE).
- PROCESS_CODE / PROCESS.MEANING — associated manufacturing or maintenance process (AHL_PROCESS_CODE).
- MODEL_CODE / MODEL.MEANING — Enigma model association (AHL_ENIGMA_MODEL_CODE).
- QA_INSPECTION_TYPE and QAL.DESCRIPTION — quality inspection classification.
- SEGMENT1–SEGMENT15 and CONCATENATED_SEGMENTS — the key flexfield segments and their concatenated display value.
- ENABLED_FLAG, START_DATE_ACTIVE, END_DATE_ACTIVE — effective-dating controls for operation availability.
- DESCRIPTION, REMARKS, REVISION_NOTES, APPROVER_NOTE — free-text annotation columns.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — descriptive flexfield context and values.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER — standard audit and optimistic locking columns.
Common Use Cases and Queries
The view is typically queried to obtain a consolidated list of operations with their statuses and flexfield values. A representative query is:
SELECT OPERATION_ID, REVISION_NUMBER, REVISION_STATUS_CODE, MEANING, CONCATENATED_SEGMENTS, DESCRIPTION FROM APPS.AHL_OPERATIONS_V WHERE REVISION_STATUS_CODE = 'PENDING' ORDER BY OPERATION_ID;
Because the view hides the lookup join, the second MEANING column (aliased REVST) supplies the decoded revision status text, which is useful for reporting without additional lookup maintenance. A second common pattern restricts by enabled and effective-dated operations:
SELECT OPERATION_ID, SEGMENT1, OPERATION_TYPE_CODE, MEANING, START_DATE_ACTIVE, END_DATE_ACTIVE FROM APPS.AHL_OPERATIONS_V WHERE ENABLED_FLAG = 'Y' AND SYSDATE BETWEEN START_DATE_ACTIVE AND NVL(END_DATE_ACTIVE, SYSDATE + 1);
When presenting columns such as MEANING or DESCRIPTION, alias them explicitly (for example, REVISION_STATUS_MEANING) to avoid ambiguity among the several decoded columns. Note also that the mandatory inner joins to AHL_REVISION_STATUS and AHL_YES_NO_TYPE mean operations with unresolved codes are silently excluded; where completeness is essential, query AHL_OPERATIONS_VL directly and perform outer joins to FND_LOOKUP_VALUES manually. Under edition-based redefinition in 12.2.2, the view resolves to the current edition of AHL_OPERATIONS_VL, so query behaviour remains consistent with the active edition configuration.
-
Process Code Type
-
Process Code Type
-
VIEW: APPS.AHL_OPERATIONS_V 12.1.1
-
VIEW: APPS.AHL_OPERATIONS_V 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
View: AHL_OPERATIONS_V 12.2.2
View based on the views AHL_OPERATIONS_VL and FND_LOOKUP_VALUES_VL to include all the codes and their corresponding descriptions.
APPS.AHL_OPERATIONS_V·↳ AHL_OPERATIONS_VL·↳ FND_LOOKUP_VALUES_VL·↳ QA_CHAR_VALUE_LOOKUPS_V·Explore AHL module →
-
View: AHL_OPERATIONS_V 12.1.1
View based on the views AHL_OPERATIONS_VL and FND_LOOKUP_VALUES_VL to include all the codes and their corresponding descriptions.
APPS.AHL_OPERATIONS_V·↳ AHL_OPERATIONS_VL·↳ FND_LOOKUP_VALUES_VL·↳ QA_CHAR_VALUE_LOOKUPS_V·Explore AHL module →
-
12.2.2 FND Design Data 12.2.2
-
VIEW: APPS.AHL_ROUTES_V 12.1.1
-
VIEW: APPS.AHL_ROUTES_V 12.2.2
-
View: AHL_ROUTES_V 12.1.1
View based on the views AHL_ROUTES_VL and FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes.
APPS.AHL_ROUTES_V·↳ AHL_ROUTES_B_KFV·↳ AHL_ROUTES_TL·↳ FND_LOOKUP_VALUES·Explore AHL module →
-
View: AHL_ROUTES_V 12.2.2
View based on the views AHL_ROUTES_VL and FND_LOOKUP_VALUES_VL to include all the corresponding descriptions of the codes.
APPS.AHL_ROUTES_V·↳ AHL_ROUTES_B_KFV·↳ AHL_ROUTES_TL·↳ AHL_WARRANTY_TEMPLATES_B·Explore AHL module →