Search Results ahl_workorders_v
Overview
AHL_WORKORDERS_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the AHL (Complex Maintenance Repair and Overhaul) product family. Its primary purpose is to expose work order data for the Production module while enforcing two important restrictions: results are limited by the current operating unit identifier, and the view deliberately excludes master work orders and work orders created specifically for costing. This makes the view a streamlined, operational read model rather than a complete transactional listing of all work orders.
Because the underlying data is filtered through operating unit security (largely driven by MO_GLOBAL, FND_PROFILE, and FND_GLOBAL), the view automatically returns only the work orders visible to the session's active organization. It joins work order headers to production discrete job data, visit and visit-task context, item instance (unit) details, routing information, and quality plans, producing a wide, denormalized row suitable for operational dashboards, reports, and integration extracts without requiring the caller to reconstruct these relationships manually.
Underlying Base Objects
The view is built over a large set of AHL and shared EBS base objects. Core work order data originates from AHL_WORKORDERS (synonym) and WIP_DISCRETE_JOBS, which supply job identifiers, status, and scheduling information. Production job descriptions and department context come from BOM_DEPARTMENTS and HR_ORGANIZATION_UNITS / ORG_ORGANIZATION_DEFINITIONS.
Visit and route context is drawn from AHL_VISITS_VL, AHL_VISIT_TASKS_VL, AHL_ROUTES_VL, and AHL_VISIT_INST_ROUTINGS. Unit and item instance information is supplied by CSI_ITEM_INSTANCES and MTL_SYSTEM_ITEMS_KFV. Maintenance route headers and routes are referenced via AHL_MR_HEADERS_B and AHL_MR_ROUTES_APP_V. Quality data flows through QA_PLANS_VAL_V, QA_PLAN_COLLECTION_TRIGGERS, and QA_PLAN_TRANSACTIONS, while warranty context (where used) references AHL_WARRANTY_CLAIMS_B, AHL_WARRANTY_CONTRACTS_B, and AHL_WARRANTY_ENTITLEMENTS.
Operationally significant is the use of PL/SQL packages embedded in the view definition: AHL_UTILITY_PVT.GET_UNIT_NAME, AHL_COMPLETIONS_PVT.GET_MR_STATUS, and helper logic from AHL_UTIL_UC_PKG, AHL_PRD_PRINT_PVT, and AHL_PRD_SERN_CHANGE_PVT. These packages enrich rows at query time. Security and lookups are handled by MO_GLOBAL, FND_GLOBAL, FND_PROFILE, HR_SECURITY, and lookup views such as MFG_LOOKUPS, FND_LOOKUP_VALUES_VL, and PA_LOOKUPS.
Key Columns
WORKORDER_ID,WIP_ENTITY_ID,JOB_NUMBER— primary identifiers and the work order name.ORGANIZATION_ID,NAME— the inventory organization and its name.STATUS_CODE,MEANING— raw status and its decoded lookup meaning.SCHEDULED_START_DATE,SCHEDULED_COMPLETION_DATE,ACTUAL_START_DATE,ACTUAL_END_DATE— full dates with separateHH24andMIcomponents for time reporting.INVENTORY_ITEM_ID,INSTANCE_ID,INSTANCE_NUMBER,SERIAL_NUMBER,QUANTITY,UNIT_OF_MEASURE— item and unit instance detail.CONCATENATED_SEGMENTS— flexfield values for the item, locator, and service item.VISIT_ID,VISIT_NUMBER,VISIT_NAME,VISIT_TASK_ID,VISIT_TASK_NUMBER— visit and task context.MR_HEADER_ID,TITLE,MR_ROUTE_ID,ROUTE_NO,REVISION_NUMBER— maintenance route detail.PROJECT_ID,PROJECT_TASK_ID,SERVICE_REQUEST_ID,INCIDENT_NUMBER— project, task, and service request linkage.UNIT_EFFECTIVITY_ID,QA_PLAN_ID,QA_COLLECTION_ID— effectivity and quality plan references, with a derived MR status fromAHL_COMPLETIONS_PVT.
Common Use Cases and Queries
The view is typically queried for production work order reporting, shop-floor status tracking, and unit-level maintenance history. A representative query lists open work orders for the current operating unit:
SELECT workorder_id, job_number, status_code, meaning, scheduled_start_date FROM ahl_workorders_v WHERE status_code = 'RELEASED';SELECT job_number, serial_number, visit_number, actual_start_date FROM ahl_workorders_v ORDER BY actual_start_date DESC;SELECT job_number, route_no, revision_number, title FROM ahl_workorders_v WHERE project_id IS NOT NULL;
Because the view applies operating-unit and costing restrictions internally, no additional MO security predicate is required. Reporting tools and interfaces that consume AHL_WORKORDERS_V therefore inherit consistent, secured results aligned with the session's active organization context.
-
View: AHL_WORKORDERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_WORKORDERS_V, object_name:AHL_WORKORDERS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Workorders View for Production Module Restricted by Operating Unit id. Restriction for masterworkorders and workorders created for costing , implementation_dba_data: APPS.AHL_WORKORDERS_V ,
-
View: AHL_WORKORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_WORKORDERS_V, object_name:AHL_WORKORDERS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Workorders View for Production Module Restricted by Operating Unit id. Restriction for masterworkorders and workorders created for costing , implementation_dba_data: APPS.AHL_WORKORDERS_V ,
-
VIEW: APPS.AHL_PP_RESRC_REQ_ASG_V
12.1.1
-
VIEW: APPS.AHL_PP_RESRC_REQ_ASG_V
12.2.2
-
View: AHL_PP_RESRC_REQ_ASG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PP_RESRC_REQ_ASG_V, object_name:AHL_PP_RESRC_REQ_ASG_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_PP_RESRC_REQ_ASG_V ,
-
VIEW: APPS.AHL_SRH_MR_HISTORY_V
12.1.1
-
View: AHL_PP_RESRC_REQ_ASG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PP_RESRC_REQ_ASG_V, object_name:AHL_PP_RESRC_REQ_ASG_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_PP_RESRC_REQ_ASG_V ,
-
VIEW: APPS.AHL_SCHEDULE_MATERIALS_V
12.1.1
-
SYNONYM: APPS.AHL_VISIT_INST_ROUTINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_VISIT_INST_ROUTINGS, status:VALID,
-
SYNONYM: APPS.AHL_WARRANTY_CLAIMS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_WARRANTY_CLAIMS_B, status:VALID,
-
PACKAGE: APPS.AHL_PRD_SERN_CHANGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_SERN_CHANGE_PVT, status:VALID,
-
PACKAGE: APPS.AHL_PRD_PRINT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_PRINT_PVT, status:VALID,
-
PACKAGE: APPS.AHL_PRD_SERN_CHANGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_PRD_SERN_CHANGE_PVT, status:VALID,
-
SYNONYM: APPS.AHL_OSP_ORDERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_OSP_ORDERS_B, status:VALID,
-
VIEW: APPS.AHL_SCHEDULE_MATERIALS_V
12.2.2
-
SYNONYM: APPS.AHL_WARRANTY_CONTRACTS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_WARRANTY_CONTRACTS_B, status:VALID,
-
SYNONYM: APPS.QA_PLAN_COLLECTION_TRIGGERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_PLAN_COLLECTION_TRIGGERS, status:VALID,
-
VIEW: APPS.AHL_PP_EMPLOYEE_ASSIGN_V
12.2.2
-
SYNONYM: APPS.AHL_WARRANTY_ENTITLEMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_WARRANTY_ENTITLEMENTS, status:VALID,
-
PACKAGE: APPS.AHL_COMPLETIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_COMPLETIONS_PVT, status:VALID,
-
VIEW: APPS.AHL_PP_EMPLOYEE_ASSIGN_V
12.1.1
-
SYNONYM: APPS.AHL_OSP_ORDER_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_OSP_ORDER_LINES, status:VALID,
-
View: AHL_SCHEDULE_MATERIALS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SCHEDULE_MATERIALS_V, object_name:AHL_SCHEDULE_MATERIALS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_SCHEDULE_MATERIALS_V ,
-
SYNONYM: APPS.AHL_OSP_ORDERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_OSP_ORDERS_B, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_SERN_CHANGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_SERN_CHANGE_PVT, status:VALID,
-
SYNONYM: APPS.QA_PLAN_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_PLAN_TRANSACTIONS, status:VALID,
-
PACKAGE BODY: APPS.AHL_VWP_MR_CST_PR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_MR_CST_PR_PVT, status:VALID,
-
View: AHL_PP_REQUIREMENT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PP_REQUIREMENT_V, object_name:AHL_PP_REQUIREMENT_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_PP_REQUIREMENT_V ,
-
SYNONYM: APPS.QA_PLAN_COLLECTION_TRIGGERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QA_PLAN_COLLECTION_TRIGGERS, status:VALID,
-
PACKAGE: APPS.AHL_COMPLETIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_COMPLETIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_VWP_VISIT_CST_PR_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_VISIT_CST_PR_PVT, status:VALID,
-
PACKAGE: APPS.AHL_WARRANTY_ENTL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_WARRANTY_ENTL_PVT, status:VALID,
-
View: AHL_SERIAL_NUMBER_CHANGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SERIAL_NUMBER_CHANGE_V, object_name:AHL_SERIAL_NUMBER_CHANGE_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on Serial Number change history , implementation_dba_data: APPS.AHL_SERIAL_NUMBER_CHANGE_V ,
-
SYNONYM: APPS.QA_PLAN_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QA_PLAN_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.AHL_OSP_ORDER_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_OSP_ORDER_LINES, status:VALID,
-
PACKAGE BODY: APPS.AHL_VWP_MR_CST_PR_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_MR_CST_PR_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_WORKORDER_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_WORKORDER_PUB, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_SERN_CHANGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_SERN_CHANGE_PVT, status:VALID,
-
View: AHL_SCHEDULE_MATERIALS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SCHEDULE_MATERIALS_V, object_name:AHL_SCHEDULE_MATERIALS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_SCHEDULE_MATERIALS_V ,
-
PACKAGE BODY: APPS.AHL_VWP_VISIT_CST_PR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_VISIT_CST_PR_PVT, status:VALID,
-
View: AHL_PP_REQUIREMENT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PP_REQUIREMENT_V, object_name:AHL_PP_REQUIREMENT_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_PP_REQUIREMENT_V ,
-
View: AHL_SERIAL_NUMBER_CHANGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SERIAL_NUMBER_CHANGE_V, object_name:AHL_SERIAL_NUMBER_CHANGE_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on Serial Number change history , implementation_dba_data: APPS.AHL_SERIAL_NUMBER_CHANGE_V ,
-
View: AHL_WIP_RESOURCE_TXNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_WIP_RESOURCE_TXNS_V, object_name:AHL_WIP_RESOURCE_TXNS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on workorder resource transactions , implementation_dba_data: APPS.AHL_WIP_RESOURCE_TXNS_V ,
-
APPS.AHL_PP_RESRC_ASSIGN_PVT SQL Statements
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
View: AHL_PP_EMPLOYEE_ASSIGN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PP_EMPLOYEE_ASSIGN_V, object_name:AHL_PP_EMPLOYEE_ASSIGN_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_PP_EMPLOYEE_ASSIGN_V ,
-
SYNONYM: APPS.AHL_UNIT_EFFECTIVITIES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_UNIT_EFFECTIVITIES_B, status:VALID,
-
PACKAGE: APPS.AHL_UTIL_UC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_UTIL_UC_PKG, status:VALID,
-
View: AHL_PP_EMPLOYEE_ASSIGN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_PP_EMPLOYEE_ASSIGN_V, object_name:AHL_PP_EMPLOYEE_ASSIGN_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , implementation_dba_data: APPS.AHL_PP_EMPLOYEE_ASSIGN_V ,
-
View: AHL_WIP_RESOURCE_TXNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_WIP_RESOURCE_TXNS_V, object_name:AHL_WIP_RESOURCE_TXNS_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: View based on workorder resource transactions , implementation_dba_data: APPS.AHL_WIP_RESOURCE_TXNS_V ,