> ## Documentation Index
> Fetch the complete documentation index at: https://docs.a7manager.se/llms.txt
> Use this file to discover all available pages before exploring further.

# Maintenance Records

> Performed preventative maintenance.

## Tabs

| Tab                                   | Shows                                                                                                              |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| **Performed Maintenance** *(default)* | Work completed per period, as a stacked bar chart. Headline figures: count performed, and the percentage done late |
| **Raw Data**                          | The underlying grid                                                                                                |

The chart offers a **week / month / quarter** cadence toggle and can be regrouped by
deviation bucket, task group, or depot.

***

### Performed Maintenance

<Frame caption="Utfört underhåll — work completed per week, stacked by deviation bucket">
  <img src="https://mintcdn.com/a7tech/hppoGf5bH4-HkvDU/images/maintenance-records-performed.png?fit=max&auto=format&n=hppoGf5bH4-HkvDU&q=85&s=10522709b582e77c8dd185fd6b3ee021" alt="Performed Maintenance tab" width="2466" height="1270" data-path="images/maintenance-records-performed.png" />
</Frame>

***

## Due statuses

For each vehicle-or-component and task, usage since the last completed record is compared
against the task's interval and tolerances:

| Status               | Condition                                                |
| -------------------- | -------------------------------------------------------- |
| **OVERDUE (SAFETY)** | `usage ≥ interval + tolerance_after` AND **safety task** |
| **OVERDUE**          | `usage ≥ interval + tolerance_after`                     |
| **DUE**              | `usage ≥ interval`                                       |
| **DUE SOON**         | `usage ≥ interval − tolerance_before`                    |
| **NOT DUE**          | anything less                                            |

***

## Deviation and compliance

Deviation is what decides whether work was done on time. A record is **compliant** when its
deviation falls inside the task's tolerances:
This is a two-sided window: work done **earlier** than the before-tolerance counts as
non-compliant just as late work does.

***

## Table

<Card title="Field reference" icon="table" href="/data/tables/service-book">
  `servicebook_maintenancerecord`
</Card>

<Note>
  **The work's type, title and description are not on the record.** They come from the linked
  task.
</Note>

***

## Roles

Viewing requires **Asset Manager**.
