Search Results ahl_visit_task_matrl_v
Overview
In Oracle E-Business Suite 12.1.1 and 12.2.2, the APPS.AHL_VISIT_TASK_MATRL_V view is a reporting and integration construct within the AHL (Complex Maintenance Repair and Overhaul) product family. Its documented purpose is to store the query that retrieves workflow information — specifically, material requirements associated with a maintenance visit task. The view joins scheduled material lines (the planned consumption of inventory items for a visit task) to their originating repair-order operation materials, enriching each row with visit task descriptions, item descriptions, unit of measure, position path context, and rework/replace percentages.
Because it presents a denormalized, read-only projection, the view is well suited for operational reporting, integration extracts, and dependent views rather than transactional data entry. The user's search term schedule_material_id maps directly to a column exposed by this view: ASMT.SCHEDULED_MATERIAL_ID SCHEDULE_MATERIAL_ID. This is the surrogate identifier of the scheduled material record in the underlying schedule material table, and it is central to joining visit task planning data back to material demand.
Underlying Base Objects
The view is defined over the following documented base objects and synonyms owned or referenced in the APPS schema:
- AHL_SCHEDULE_MATERIALS (ASMT) — the primary driving object supplying visit, task, quantity, date, item, group, operation, and position columns.
- AHL_RT_OPER_MATERIALS (RTOM) — repair-order operation materials, joined on
RT_OPER_MATERIAL_IDto provide rework, replace, and component detail percentages. - AHL_VISIT_TASKS_VL (AVTL) — the visit task view alias supplying
VISIT_TASK_NAMEand joined on visit and task identifiers. - AHL_VISIT_TASKS_V (AVTV) — a subquery source used to derive the concatenated visit task value aliased as
SALES_ORDER_LINE_ID. - MTL_SYSTEM_ITEMS_KFV (MSTK) — the key flexfield item view, outer-joined on inventory item and organization, to fetch concatenated segments (item description) and primary unit of measure.
- AHL_MC_HEADERS_VL — a subquery lookup resolving the maintenance repair order header name by relationship.
- AHL_MC_RELATIONSHIPS — a subquery source linking relationship identifier to MC header.
- AHL_MC_PATH_POSITION_PVT — a PL/SQL package whose function
GET_POSREF_BY_IDconverts a position path identifier into a readable position reference.
A notable filter is ASMT.REQUESTED_QUANTITY <> 0, which excludes zero-quantity requested records, and the item flexfields are outer-joined, so rows are retained even when no matching item definition exists.
Key Columns
VISIT_ID,VISIT_TASK_ID— visit and task context for the material requirement.VISIT_TASK_NAME— descriptive task name from the valid list view.REQUESTED_QUANTITY,REQUESTED_DATE— the raw demanded quantity and date.SCHEDULED_QUANTITY,SCHEDULED_DATE— the planned quantity and date.SCHEDULE_MATERIAL_ID— the scheduled material surrogate key (alias ofSCHEDULED_MATERIAL_ID).INVENTORY_ITEM_ID,ITEM_DESCRIPTION,UOM— item identity, concatenated segments, and unit of measure.RT_OPER_MATERIAL_ID,REWORK_PERCENT,REPLACE_PERCENT,ITEM_COMP_DETAIL_ID— repair operation material linkage and rework/replace characteristics.POSITION_PATH_ID,POSITION_PATH— positional context derived via the AHL_MC_PATH_POSITION_PVT package.RELATIONSHIP_ID,NAME— relationship and maintenance header name.OBJECT_VERSION_NUMBER— optimistic locking version for the source record.
Common Use Cases and Queries
A typical application is listing all scheduled materials for a given visit task, including item detail and position path, to feed material availability reports or work order picks.
SELECT visit_id, visit_task_name, schedule_material_id,
item_description, scheduled_quantity, uom, position_path
FROM apps.ahl_visit_task_matrl_v
WHERE visit_id = :p_visit_id
ORDER BY visit_task_id, operation_sequence;
To trace a specific scheduled material back to its repair order operation material rework/replace profile:
SELECT schedule_material_id, rt_oper_material_id, item_description,
rework_percent, replace_percent, item_comp_detail_id
FROM apps.ahl_visit_task_matrl_v
WHERE schedule_material_id = :p_schedule_material_id;
Because the view enforces the non-zero requested quantity filter and resolves descriptive attributes, it is commonly reused as a source for downstream custom views and BI Publisher data templates rather than queried transactionally. Queries should be constrained by VISIT_ID, VISIT_TASK_ID, or SCHEDULE_MATERIAL_ID to avoid full scans across the AHL schedule material population.
-
View: AHL_VISIT_TASK_MATRL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASK_MATRL_V, object_name:AHL_VISIT_TASK_MATRL_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Work flow nformation , implementation_dba_data: APPS.AHL_VISIT_TASK_MATRL_V ,
-
View: AHL_VISIT_TASK_MATRL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASK_MATRL_V, object_name:AHL_VISIT_TASK_MATRL_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Work flow nformation , implementation_dba_data: APPS.AHL_VISIT_TASK_MATRL_V ,
-
APPS.AHL_LTP_MATRL_AVAL_PVT SQL Statements
12.1.1
-
APPS.AHL_LTP_MATRL_AVAL_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.AHL_RT_OPER_MATERIALS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_RT_OPER_MATERIALS, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_REQST_MATRL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_REQST_MATRL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_REQST_MATRL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_REQST_MATRL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_MATRL_AVAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_MATRL_AVAL_PVT, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.AHL_SCHEDULE_MATERIALS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_SCHEDULE_MATERIALS, status:VALID,
-
SYNONYM: APPS.AHL_RT_OPER_MATERIALS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_RT_OPER_MATERIALS, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_MATRL_AVAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_MATRL_AVAL_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.AHL_MC_RELATIONSHIPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_MC_RELATIONSHIPS, status:VALID,
-
PACKAGE: APPS.AHL_MC_PATH_POSITION_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AHL_MC_PATH_POSITION_PVT, status:VALID,
-
PACKAGE: APPS.AHL_MC_PATH_POSITION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AHL_MC_PATH_POSITION_PVT, status:VALID,
-
SYNONYM: APPS.AHL_MC_RELATIONSHIPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_MC_RELATIONSHIPS, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.AHL_SCHEDULE_MATERIALS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_SCHEDULE_MATERIALS, status:VALID,
-
PACKAGE BODY: APPS.AHL_VWP_VISITS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_VISITS_PVT, status:VALID,
-
VIEW: APPS.AHL_MC_HEADERS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MC_HEADERS_VL, object_name:AHL_MC_HEADERS_VL, status:VALID,
-
VIEW: APPS.AHL_MC_HEADERS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_MC_HEADERS_VL, object_name:AHL_MC_HEADERS_VL, status:VALID,
-
APPS.AHL_LTP_REQST_MATRL_PVT SQL Statements
12.1.1
-
VIEW: APPS.AHL_VISIT_TASK_MATRL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASK_MATRL_V, object_name:AHL_VISIT_TASK_MATRL_V, status:VALID,
-
VIEW: APPS.AHL_VISIT_TASK_MATRL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASK_MATRL_V, object_name:AHL_VISIT_TASK_MATRL_V, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_TL, status:VALID,
-
VIEW: APPS.AHL_VISIT_TASKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASKS_V, object_name:AHL_VISIT_TASKS_V, status:VALID,
-
APPS.AHL_LTP_REQST_MATRL_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_TL, status:VALID,
-
VIEW: APPS.AHL_VISIT_TASKS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASKS_VL, object_name:AHL_VISIT_TASKS_VL, status:VALID,
-
VIEW: APPS.AHL_VISIT_TASKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASKS_V, object_name:AHL_VISIT_TASKS_V, status:VALID,
-
VIEW: APPS.AHL_VISIT_TASKS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_TASKS_VL, object_name:AHL_VISIT_TASKS_VL, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_MATRL_AVAL_PVT
12.2.2
-
PACKAGE BODY: APPS.AHL_LTP_MATRL_AVAL_PVT
12.1.1
-
APPS.AHL_LTP_SPACE_ASSIGN_PVT SQL Statements
12.1.1
-
APPS.AHL_LTP_REQST_MATRL_PVT dependencies on AHL_VISIT_TASK_MATRL_V
12.2.2
-
APPS.AHL_LTP_REQST_MATRL_PVT dependencies on AHL_VISIT_TASK_MATRL_V
12.1.1
-
APPS.AHL_VWP_VISITS_PVT dependencies on AHL_VISIT_TASK_MATRL_V
12.2.2
-
APPS.AHL_LTP_MATRL_AVAL_PVT dependencies on AHL_VISIT_TASK_MATRL_V
12.1.1
-
APPS.AHL_LTP_MATRL_AVAL_PVT dependencies on AHL_VISIT_TASK_MATRL_V
12.2.2
-
APPS.AHL_LTP_SPACE_ASSIGN_PVT SQL Statements
12.2.2
-
APPS.AHL_LTP_MATRL_AVAL_PVT dependencies on FND_LOOKUP_VALUES_VL
12.1.1
-
APPS.AHL_LTP_MATRL_AVAL_PVT dependencies on FND_LOOKUP_VALUES_VL
12.2.2
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_KFV
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_KFV, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_KFV
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_KFV, status:VALID,
-
APPS.AHL_LTP_MATRL_AVAL_PVT dependencies on AHL_SCHEDULE_MATERIALS
12.1.1
-
eTRM - AHL Tables and Views
12.1.1
description: Ahl Production Workorder Operations Information stored in this table ,
-
PACKAGE BODY: APPS.AHL_LTP_REQST_MATRL_PVT
12.1.1
-
APPS.AHL_VWP_VISITS_PVT dependencies on AHL_SCHEDULE_MATERIALS
12.2.2