Results for “ahl_visit_tasks_b”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

AHL_VISIT_TASKS_B is the base table within the Oracle E-Business Suite Advanced Service (AHL) module, more commonly known as Complex Maintenance Repair and Overhaul (CMRO). It stores the master definition of visit tasks — the discrete, schedulable units of maintenance or repair work that must be performed during a specific customer visit to a maintained asset. A visit, represented by the parent record in AHL_VISITS_B, groups together all tasks required at a given point in time (for example, a scheduled induction or inspection event), and each task line is captured in this table.

The table functions as the central transactional anchor for CMRO task execution. Because visit tasks drive material requirements, work orders, labor routing, and warranty entitlement, the record acts as the primary intersection between the customer service demand (incident/visit) and the execution supply (work order, material, department).

From a data modeling perspective, the ETRM heuristic classifies AHL_VISIT_TASKS_B as a hub. This is a suggested modeling classification, reflecting that it carries a system-generated surrogate primary key (VISIT_TASK_ID) and is referenced by numerous downstream tables, making it a stable, high-cardinality entity anchor around which satellite and link structures revolve.

Key Information Stored

The table contains 61 columns; the following are the most significant for understanding and querying the data:

The fifteen ATTRIBUTE columns (ATTRIBUTE_CATEGORY through ATTRIBUTE15) follow the standard Oracle EBS extensibility pattern (DDF) for customer-specific data.

Common Use Cases and Queries

Typical scenarios include task status dashboards, material requirement planning for a visit, and billing reconciliation.

To list all tasks for a given visit with their status:

  • SELECT vt.VISIT_TASK_NUMBER, vt.STATUS_CODE, vt.START_DATE_TIME, vt.QUANTITY FROM AHL_VISIT_TASKS_B vt WHERE vt.VISIT_ID = :p_visit_id;

To find tasks whose summary status should roll up from child tasks:

  • SELECT * FROM AHL_VISIT_TASKS_B WHERE PRIMARY_VISIT_TASK_ID IS NOT NULL;

To retrieve the asset instance and item for a task:

  • SELECT vt.VISIT_TASK_NUMBER, cii.SERIAL_NUMBER, msi.SEGMENT1 FROM AHL_VISIT_TASKS_B vt, CSI_ITEM_INSTANCES cii, MTL_SYSTEM_ITEMS_B msi WHERE vt.INSTANCE_ID = cii.INSTANCE_ID AND vt.INVENTORY_ITEM_ID = msi.INVENTORY_ITEM_ID;

Common reports include: open task aging, scheduled versus actual duration variance, repair yield (target quantity versus returned serviceable quantity), and warranty-linked task analysis joining AHL_WARRANTY_ENTITLEMENTS.

Related Objects

  • AHL_VISITS_B — Parent visit; join on VISIT_ID. Every task belongs to exactly one visit.
  • AHL_VISIT_TASKS_B (self) — Join on ORIGINATING_TASK_ID or PRIMARY_VISIT_TASK_ID for task hierarchies and derivation.
  • CSI_ITEM_INSTANCES — Maintained asset instance; join on INSTANCE_ID.
  • MTL_SYSTEM_ITEMS_B — Item master; join on INVENTORY_ITEM_ID and ITEM_ORGANIZATION_ID.
  • CS_INCIDENTS_ALL_B — Service request/incident origin; join on SERVICE_REQUEST_ID.
  • AHL_MR_HEADERS_B / AHL_MR_ROUTES — Repair route definitions; join on MR_ID and MR_ROUTE_ID.
  • AHL_WORKORDERS — Execution work orders generated for a task; child table referencing VISIT_TASK_ID.
  • AHL_TASK_LINKS — Dependency structure between tasks; joins on VISIT_TASK_ID and PARENT_TASK_ID.
  • AHL_VISIT_TASKS_TL — Translation table supplying the task description/name; join on VISIT_TASK_ID.
  • AHL_SCHEDULE_MATERIALS and AHL_WARRANTY_ENTITLEMENTS — Downstream material planning and warranty relationships keyed by VISIT_TASK_ID.