Results for “ahl_visit_tasks_vl”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
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
This view stores the query to retrieve Visit Task details
APPS.AHL_VISIT_TASKS_VL·↳ AHL_VISIT_TASKS_B·↳ AHL_VISIT_TASKS_TL·Explore AHL module →
-
View: AHL_VISIT_TASKS_VL 12.2.2
This view stores the query to retrieve Visit Task details
APPS.AHL_VISIT_TASKS_VL·↳ AHL_VISIT_TASKS_B·↳ AHL_VISIT_TASKS_TL·Explore AHL module →
-
View: AHL_VISIT_MR_V 12.2.2
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
APPS.AHL_VISIT_MR_V·↳ AHL_MR_HEADERS_VL·↳ AHL_VISITS_VL·↳ AHL_VISIT_TASKS_VL·Explore AHL module →
-
This view stores the query to retrieve Templates task information by search template tasks screen
APPS.AHL_SEARCH_TEMPLATE_TASK_V·↳ AHL_MR_HEADERS_APP_V·↳ AHL_MR_HEADERS_VL·↳ AHL_MR_ROUTES_V·Explore AHL module →
-
This view stores the query to retrieve Templates task information by search template tasks screen
APPS.AHL_SEARCH_TEMPLATE_TASK_V·↳ AHL_MR_HEADERS_APP_V·↳ AHL_MR_HEADERS_VL·↳ AHL_MR_ROUTES_V·Explore AHL module →
-
View: AHL_VISIT_MR_V 12.1.1
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
APPS.AHL_VISIT_MR_V·↳ AHL_MR_HEADERS_VL·↳ AHL_VISITS_VL·↳ AHL_VISIT_TASKS_VL·Explore AHL module →
-
VIEW: APPS.AHL_VISIT_MR_V 12.1.1