Search Results ahl_visit_tasks_b




Overview

The AHL_VISIT_TASKS_B table is a core data object within the Oracle E-Business Suite module for Complex Maintenance, Repair, and Overhaul (CMRO). It serves as the primary transactional table for storing the discrete tasks or work requirements generated for a service visit. A visit task represents a specific maintenance action, inspection, or repair procedure to be performed on an asset or unit. This table is fundamental to the planning, scheduling, and execution workflows in the AHL module, linking the high-level service visit to detailed work instructions, materials, and labor assignments.

Key Information Stored

The table's primary key is the VISIT_TASK_ID, which uniquely identifies each task record. Its structure is defined by a comprehensive set of foreign key relationships that integrate the task into the broader EBS ecosystem. Key columns and their purposes include VISIT_ID, linking the task to its parent service visit in AHL_VISITS_B; MR_ID and MR_ROUTE_ID, referencing the governing Maintenance Requirement and its specific route; and UNIT_EFFECTIVITY_ID, tying the task to a specific serialized unit's configuration and effectivity. Further integration is achieved through INSTANCE_ID (CSI_ITEM_INSTANCES) for the asset, SERVICE_REQUEST_ID (CS_INCIDENTS_ALL_B) for the originating service request, and PROJECT_TASK_ID (PA_TASKS) for project accounting. Columns like DEPARTMENT_ID, INVENTORY_ITEM_ID, and ORIGINATING_TASK_ID support operational planning, material definition, and task revision history.

Common Use Cases and Queries

This table is central to operational reporting and process automation. Common use cases include generating work orders, scheduling technician labor, listing material requirements for a visit, and tracking task completion status. A typical query might join this table to its related entities to create a detailed task list for a visit. For example:

  • Listing all tasks for a specific visit: SELECT * FROM AHL_VISIT_TASKS_B WHERE VISIT_ID = <visit_id>;
  • Identifying tasks linked to a specific maintenance requirement (MR): SELECT VISIT_TASK_ID, VISIT_ID FROM AHL_VISIT_TASKS_B WHERE MR_ID = <mr_id>;
  • Reporting on tasks associated with a particular asset instance: SELECT vt.VISIT_TASK_ID, v.VISIT_NUMBER FROM AHL_VISIT_TASKS_B vt, AHL_VISITS_B v WHERE vt.INSTANCE_ID = <instance_id> AND vt.VISIT_ID = v.VISIT_ID;

Data from this table is also critical for interfaces to external systems like MRO or ERP systems and for custom dashboards tracking maintenance backlog.

Related Objects

The AHL_VISIT_TASKS_B table has extensive relationships within the AHL schema and across other EBS modules. It is the parent table for several key transactional entities, including AHL_SCHEDULE_MATERIALS (planned material consumption), AHL_WORKORDERS (execution details), AHL_TASK_LINKS (task dependencies), and AHL_SNAPSHOTS (historical task data). Its translated descriptions are stored in the related TL table, AHL_VISIT_TASKS_TL. As indicated by the foreign keys, it is a child of or references tables such as AHL_VISITS_B, AHL_MR_HEADERS_B, AHL_MR_ROUTES, AHL_UNIT_EFFECTIVITIES_B, CSI_ITEM_INSTANCES, CS_INCIDENTS_ALL_B, and PA_TASKS, demonstrating its role as a central hub connecting service requests, asset data, maintenance definitions, and project accounting.