Search Results ahl_visit_tasks_vl
Overview
In Oracle E-Business Suite 12.1.1 and 12.2.2, AHL_VISIT_TASKS_VL is a documented view owned by the APPS schema within the AHL (Complex Maintenance Repair and Overhaul) product family. Per its ETRM metadata the object is VALID and its purpose is to "store the query to retrieve Visit Task details." Functionally it is a translation (VL, "view language") view: it collapses the physical, language-independent base table and its language-dependent translation table into a single reporting surface that automatically filters on the session language.
Because the view resolves the user's language at runtime via USERENV('LANG'), it is the appropriate access point for any component — concurrent program, OAF page, BI Publisher report, or external integration — that needs human-readable task names and descriptions alongside the structural visit-task data. It is a query-only construct; DML against visit tasks must be issued against the underlying _B and _TL tables through the appropriate AHL APIs.
Underlying Base Objects
The view is defined over two referenced base objects, both exposed to APPS through synonyms:
- AHL_VISIT_TASKS_B — the language-independent base table holding task identity, foreign keys, dates, costs, flexfield attributes, and workflow columns.
- AHL_VISIT_TASKS_TL — the language-dependent translation table holding
VISIT_TASK_NAMEandDESCRIPTIONper installed language.
The join is an equi-join on VISIT_TASK_ID in both directions, with the language predicate T.LANGUAGE = USERENV('LANG') applied to the _TL side. In the view text the _B table is aliased B and the _TL table is aliased T. Only rows having a translation in the current session language are returned, which is the expected behavior for VL views.
Key Columns
- ROW_ID — the ROWID of the
_Brow; useful as a unique surrogate in tooling frameworks. - VISIT_TASK_ID / VISIT_TASK_NUMBER — primary key and user-facing identifier of the visit task.
- VISIT_ID — links the task to its parent visit in the AHL visit structure.
- PLANNING_ROUTE_COLUMNS —
MR_ID,MR_ROUTE_ID,PROJECT_TASK_ID,COST_PARENT_ID,PRIMARY_VISIT_TASK_ID,ORIGINATING_TASK_ID, andSUMMARY_TASK_FLAGtogether describe task hierarchy, routing, and summarization relationships. - VISIT_TASK_NAME / DESCRIPTION — the translated, user-readable text sourced from
_TL. - INSTANCE_ID / INVENTORY_ITEM_ID / ITEM_ORGANIZATION_ID — the maintained item or instance the task applies to.
- TASK_TYPE_CODE, DEPARTMENT_ID, STATUS_CODE, SERVICE_REQUEST_ID — classification, ownership, lifecycle state, and originating service request.
- DURATION, START_FROM_HOUR, UNIT_EFFECTIVITY_ID — scheduling attributes used by maintenance planning.
- ACTUAL_COST, ESTIMATED_PRICE, ACTUAL_PRICE, PRICE_LIST_ID — costing and pricing data for financial reporting.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1–ATTRIBUTE15 — the standard EBS DFF flexfield segment set.
- Audit columns —
CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN,OBJECT_VERSION_NUMBER, andSECURITY_GROUP_ID.
Common Use Cases and Queries
Typical scenarios include listing all tasks for a given visit, extracting translated task details for BI Publisher output, joining task data to work-order or maintenance-route information, and feeding external MRO integrations. The language filter makes it safe to use whenever end users must see text in their own language.
- Tasks for a visit:
SELECT visit_task_id, visit_task_number, visit_task_name, status_code FROM apps.ahl_visit_tasks_vl WHERE visit_id = :p_visit_id ORDER BY visit_task_number; - Open tasks by status:
SELECT visit_task_number, visit_task_name, estimated_price FROM apps.ahl_visit_tasks_vl WHERE status_code = 'OPEN'; - Cost/pricing summary:
SELECT visit_id, SUM(actual_cost) actual_cost, SUM(estimated_price) est_price FROM apps.ahl_visit_tasks_vl GROUP BY visit_id; - By maintained item:
SELECT visit_task_number, visit_task_name FROM apps.ahl_visit_tasks_vl WHERE inventory_item_id = :p_item AND item_organization_id = :p_org;
Because the USERENV('LANG') predicate is embedded, the view requires a properly initialized EBS session (or an explicit language override in a NLS-enabled client) to return rows. Applications should treat it as read-only and rely on the AHL public APIs for insert, update, or delete operations on visit tasks.
-
View: 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, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Visit Task details , implementation_dba_data: APPS.AHL_VISIT_TASKS_VL ,
-
View: 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, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Visit Task details , implementation_dba_data: APPS.AHL_VISIT_TASKS_VL ,
-
VIEW: APPS.AHL_VISIT_MR_V
12.1.1
-
VIEW: APPS.AHL_VISIT_MR_V
12.2.2
-
VIEW: APPS.AHL_SEARCH_TEMPLATE_TASK_V
12.1.1
-
View: AHL_SEARCH_VISIT_TASK_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SEARCH_VISIT_TASK_V, object_name:AHL_SEARCH_VISIT_TASK_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Visits task information by search visit tasks screen , implementation_dba_data: APPS.AHL_SEARCH_VISIT_TASK_V ,
-
APPS.AHL_VWP_MR_CST_PR_PVT SQL Statements
12.2.2
-
VIEW: APPS.AHL_SEARCH_TEMPLATE_TASK_V
12.2.2
-
VIEW: APPS.AHL_SEARCH_VISIT_TASK_V
12.1.1
-
APPS.AHL_VWP_MR_CST_PR_PVT SQL Statements
12.1.1
-
View: AHL_SEARCH_VISIT_TASK_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SEARCH_VISIT_TASK_V, object_name:AHL_SEARCH_VISIT_TASK_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Visits task information by search visit tasks screen , implementation_dba_data: APPS.AHL_SEARCH_VISIT_TASK_V ,
-
VIEW: APPS.AHL_SEARCH_VISIT_TASK_V
12.2.2
-
View: AHL_SEARCH_TEMPLATE_TASK_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SEARCH_TEMPLATE_TASK_V, object_name:AHL_SEARCH_TEMPLATE_TASK_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Templates task information by search template tasks screen , implementation_dba_data: APPS.AHL_SEARCH_TEMPLATE_TASK_V ,
-
View: AHL_SEARCH_TEMPLATE_TASK_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_SEARCH_TEMPLATE_TASK_V, object_name:AHL_SEARCH_TEMPLATE_TASK_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query to retrieve Templates task information by search template tasks screen , implementation_dba_data: APPS.AHL_SEARCH_TEMPLATE_TASK_V ,
-
APPS.AHL_VWP_PROJ_PROD_PVT SQL Statements
12.1.1
-
APPS.AHL_VWP_TASKS_LINKS_PVT SQL Statements
12.1.1
-
APPS.AHL_VWP_TASK_CST_PR_PVT SQL Statements
12.1.1
-
VIEW: APPS.AHL_VISIT_TASK_MATRL_V
12.2.2
-
SYNONYM: APPS.AHL_VISIT_TASKS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_VISIT_TASKS_TL, status:VALID,
-
VIEW: APPS.AHL_VISIT_TASK_MATRL_V
12.1.1
-
SYNONYM: APPS.AHL_VISIT_TASKS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_VISIT_TASKS_TL, status:VALID,
-
APPS.AHL_VWP_TASK_CST_PR_PVT SQL Statements
12.2.2
-
VIEW: APPS.AHL_VISITS_INFO_V
12.2.2
-
VIEW: APPS.AHL_VISITS_INFO_V
12.1.1
-
PACKAGE BODY: APPS.AHL_OSP_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_OSP_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AHL_OSP_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_OSP_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_SPACE_SCHEDULE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_SPACE_SCHEDULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_SPACE_SCHEDULE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_SPACE_SCHEDULE_PVT, status:VALID,
-
View: AHL_VISIT_MR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_MR_V, object_name:AHL_VISIT_MR_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view is used to query data from AHL_VISITS_VL,AHL_VISIT_TASKS_V,MTL_SYSTEM_ITEMS_B,CSI_ITEM_INSTANCES,AHL_MR_HEADERS_VL , implementation_dba_data: APPS.AHL_VISIT_MR_V ,
-
PACKAGE BODY: APPS.AHL_VWP_TASKS_LINKS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_TASKS_LINKS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_VWP_COST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_COST_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,
-
APPS.AHL_VWP_VISIT_CST_PR_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_VWP_TASKS_LINKS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_TASKS_LINKS_PVT, status:VALID,
-
View: AHL_VISIT_MR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_VISIT_MR_V, object_name:AHL_VISIT_MR_V, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view is used to query data from AHL_VISITS_VL,AHL_VISIT_TASKS_V,MTL_SYSTEM_ITEMS_B,CSI_ITEM_INSTANCES,AHL_MR_HEADERS_VL , implementation_dba_data: APPS.AHL_VISIT_MR_V ,
-
PACKAGE BODY: APPS.AHL_LTP_RESRC_LEVL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_RESRC_LEVL_PVT, status:VALID,
-
APPS.AHL_VWP_TASKS_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_VWP_COST_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_COST_PVT, 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_VWP_UNPLAN_TASKS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_UNPLAN_TASKS_PVT, 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,
-
PACKAGE BODY: APPS.AHL_VWP_PLAN_TASKS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_PLAN_TASKS_PVT, 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_LTP_RESRC_LEVL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_RESRC_LEVL_PVT, status:VALID,
-
VIEW: APPS.AHL_WORKORDER_TASKS_V
12.1.1
-
PACKAGE BODY: APPS.AHL_VWP_UNPLAN_TASKS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_UNPLAN_TASKS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_VWP_TASK_CST_PR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_TASK_CST_PR_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 BODY: APPS.AHL_VWP_PLAN_TASKS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_VWP_PLAN_TASKS_PVT, status:VALID,
-
APPS.AHL_VWP_UNPLAN_TASKS_PVT SQL Statements
12.1.1