# Generate a report

:::tip
Menu → Reports → Generate a report

:::

**Generate a report** is a single catalog of all OmniMES reports. The reports are divided into sections: **Machines and locations**, **Production**, **Stock**, **Energy**, **Traceability**, **Maintenance** and **BI dashboards**. Each catalog report is a type and a filter (period, plant, line, resource, product, status). You can show the same report on screen, download it as CSV, send it by e-mail, save it to the [**Generated reports**](https://docs.omnimes.com/doc/generated-reports-MEjifOwcZB) archive or save it as a [**recurring report**](https://docs.omnimes.com/doc/recurring-reports-bK4elx42W3).

Reports are calculated by the same functions as the screens the data comes from: machine reports - the same as **Analyse → Work time and OEE**, the **Pauses and downtime by reason** report - the same function as the loss Pareto, and **Order energy** - the same as the order's **Energy** tab.

 ![](https://docs.omnimes.com/api/files.get?sig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1cGxvYWRzLzRlMDdmZmNhLThmZjAtNDYxYy1iYjEyLTA2OTEyZGRiOGQzNi8zOTZiY2M4Yi03MDAwLTQ1MTMtYmVlOS0wZDEzODdjNDIyZDcvcmFwX2thdGFsb2cucG5nIiwidHlwZSI6ImF0dGFjaG1lbnQiLCJpYXQiOjE3OTU0MTAwMDAsImV4cCI6MTc5NTQ5NjQwMH0.lu_0WobB3W3Fgjd3w8GuIUn1QxA3GKVM4wZqpbK8aXw)


:::info
The former **Production → Production reports** screen is now part of this catalog. The old address opens **Generate a report** with the **Production** section, and the recurring reports from the former **Recurring reports** tab of Production reports are in [**Recurring reports**](https://docs.omnimes.com/doc/recurring-reports-bK4elx42W3).

:::

## Choosing a report


1. Click a section on the bar above the catalog, e.g. **Machines and locations**. A short description of the section is shown below the bar.
2. Click a report card. Its description and filters appear below the catalog.
3. Set the filter and click **Show report**.

The section and the report are stored in the page address - a link to the page opens the same report directly.

## “Machines and locations” section

Machine reports work **without orders** - it is enough that the machine has a state signal in the [**Status configurator**](https://docs.omnimes.com/doc/status-configurator-4rNWOyTTbE). They are the reports for plants that use OmniMES for machine monitoring.

| Report | Contents |
|--------|----------|
| **Machine time and availability** | run time, downtime, failures, planned stops, micro-stops, availability and MTBF of every machine of a plant, a line or a single machine (described below) |
| **Pauses and downtime by reason** | machine stops from the signal (reason from a rule, from the operator or corrected manually) and operator pauses: minutes, count and share (Pareto), with planned stops and micro-stops |
| **OEE (ISO 22400)** | availability, effectiveness, quality and OEE of resources |
| **OEE by shift** | availability, effectiveness and quality during each shift of the resource calendar |
| **MTBF and MTTR (reliability)** | number of stops and failures, mean time to repair (MTTR) and mean time between stops (MTBF) |

### “Machine time and availability” report

Filters: **Period**, **Machine plant**, **Line** and **Machine** (a plant, a line or a single machine). The report has a row per machine and a **Total** row for the selected location.

| Column | Meaning |
|--------|---------|
| **Work — whole period [h]** | all the time in the work state, also outside shifts - the same as on the **Work time** chart |
| **Planned time [h]** | shift time from the calendar minus planned stops; without a shift calendar - the time in which the machine had a state |
| **Production time [h]** | work within the planned time, including micro-stops |
| **Unplanned downtime [h]**, **Failures [h]**, **Planned stops [h]**, **Micro-stops [h]** | downtime by type |
| **No machine state [h]** | time in which the machine had no state at all (switched off, no data): with a shift calendar - within the shifts, and it lowers availability; without a calendar - for information only |
| **Availability** | production time / planned time |
| **Effectiveness**, **Quality**, **OEE** | only for machines with quantity reports from the **Production** module; without reports these columns are empty |
| **Stops**, **Failures**, **Micro-stops**, **Planned stops** | numbers of events started in the period |
| **MTTR [min]**, **MTBF [min]** | MTTR = downtime / number of stops, MTBF = MTTR + MTTF |
| **State source** | **machine signal**, **operator panel** or **mixed** |
| **Planned time** | basis of the planned time: **shift calendar** or **time with machine state** |

A machine without a state signal (e.g. only an energy meter) has a row with the note **no state signal** and is not included in the totals. The report period can be at most 92 days.

When a machine has no shift calendar, a note appears above the table: “No shift calendar — planned time = time with machine state (time without state does not lower availability); set shifts in Production setup → Resource calendar.” How the system calculates availability with and without a calendar is described in the [**Work time and OEE**](https://docs.omnimes.com/doc/work-time-and-oee-gXcNaaDt75) chapter.

## “Production” section

Reports of the **Production** module - orders, stages, lots and operator reports.

| Report | Contents |
|--------|----------|
| **Order report** | a document of a single order for the archive (described below) |
| **Order progress** | good and scrap quantities, current stages, due date and forecast end, operator working time [man-h] |
| **Orders by stage** | order operations by stage: resource, quantities, status and plan |
| **Work in progress (WIP)** | lots and quantities waiting and in process at each stage (current state) |
| **Production in period** | good and scrap in the period - by day, product or resource (**Group by**) |
| **Finished and packed goods** | good units from the last routing stage |
| **Scrap by reason** | scrap by defect code with percentage share (Pareto) |
| **Lot curing** | lots at timed stages: start, earliest end, ended early |
| **Orders at risk and overdue** | open orders at risk and overdue (current state) |
| **Plan adherence** | plan vs actual for operations, end deviation |
| **Operation history** | production event log: who did what and when in an order and lot (filter by order, lot, event type and resource) |
| **OEE by product** | availability, effectiveness and quality while the product lots run on resources |

### Order report

 ![](https://docs.omnimes.com/api/files.get?sig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1cGxvYWRzLzRlMDdmZmNhLThmZjAtNDYxYy1iYjEyLTA2OTEyZGRiOGQzNi81NDhkNjIzMS1hN2Y0LTRlZTAtYTc4NS0xODhlZDg2OGUzYWQvcmFwX3psZWNlbmllLnBuZyIsInR5cGUiOiJhdHRhY2htZW50IiwiaWF0IjoxNzk1NDEwMDAwLCJleHAiOjE3OTU0OTY0MDB9.P_kem-OUQtdoLV3rgY4SuAgYV0wscgjxRDoaKH3xuDI)

The order report is a document of a single **Production** module order, saved to the **Generated reports** archive.


1. In the **Production** section click the **Order report** card.
2. In the **Order** field choose the order (the list shows the number, product and status; drafts are not listed because they have no work yet).
3. Optionally enter a **Name** - without it the report is called “Order <number>”.
4. Click **Generate order report**.

The report is generated in the background. After a moment you will find it in **Generated reports** (type **Report - Production order**) - the message below the button has a link to the list. **Save as recurring report** below the form opens the **Add recurring report** window with the selected order.

What the order report contains:

* **period** - from the start of the first lot of the order to the end of the last one (an order in progress - until the moment of generation),
* **location** - the resources of the order operations,
* **quantities** - ordered, produced (good and scrap) and scrap from the order,
* **times, availability, effectiveness, quality and OEE** according to ISO 22400 - from the run periods of the order lots on the resources and the stage reports of these lots, the same way as OEE by product,
* **cycle time norm** - the routing average weighted by quantity,
* **energy and cost** - from the OmniEnergy meters of the order machines (cost only with a tariff).

## “Stock”, “Energy” and “Traceability” sections

| Report | Contents |
|--------|----------|
| **Material stock levels** | material stock, minimum stock and estimated value at the standard price - not an accounting valuation (current state) |
| **Stock movements** | register of receipts, issues, returns and adjustments |
| **Order energy** | orders finished in the period: kWh, kWh per good unit, net energy cost and CO2 |
| **Energy per product** | kWh per unit weighted by quantity and the spread between orders (min, max, deviation, coefficient of variation) |
| **Energy and machine states** | a shared chart of machine states and energy consumption, idle energy, average and maximum power, cost and CO2 of a machine, a line or a plant (described below) |
| **Lot traceability**, **Recall register**, **Lot mass balance**, **Lots close to expiry**, **Genealogy completeness**, **Material loss of orders** | traceability reports - described in the [**Lots and genealogy**](https://docs.omnimes.com/doc/lots-and-genealogy-NOoW4md8AC) chapter |

The standard price and the minimum stock of a material are set in the [**Item master**](https://docs.omnimes.com/doc/item-master-0epLhJD6a2).

### “Energy and machine states” report

The report shows machine states and the machine energy consumption on **one time axis** - you can see how much energy the machine takes at work and how much during downtime, failures or outside work. It works without orders: the machine needs a state signal ([**Status configurator**](https://docs.omnimes.com/doc/status-configurator-4rNWOyTTbE)) and an OmniEnergy energy meter.

Filters: **Period**, **Machine plant**, **Line**, **Machine** (none selected - all machines with an energy meter) and **Energy profile step** - **Automatic** (up to 2 days - 15 minutes, up to 31 days - 1 hour, longer - 1 day), **15 minutes**, **1 hour** or **1 day**. The report covers at most 92 days and 50 machines.

| Part of the result | What it shows |
|--------------------|---------------|
| Tiles              | **Energy**, **Idle energy** (with its share of the energy), **Average power at work**, **Average power outside work**, **Max. 15-min power** (the largest quarter-hour consumption × 4), **Net energy cost** (when the machine has a tariff) and **CO2** (when the carrier has an emission factor) |
| **Machine states** | a bar for each machine: Work, Unplanned downtime, Failure, Planned stop, Setup; grey background - off or no data. Hovering shows the state and the hours |
| **Energy consumption profile** | energy bars in each interval (15 min, 1 h or 1 day) split by machine state - the same colours as the state bar. **Show as a table** replaces the chart with a table of values |
| **Energy by machine state**, **Time in states** | kWh and hours in each state |
| Table              | a row per machine: work, downtime and off [h], energy, energy at work and idle energy, idle energy share, average power at work and outside work, max. 15-min power, cost and idle energy cost, CO2, state source and **Data quality** (e.g. meter reset, gap in readings); the footer has the location total |

**Idle energy** = energy used during downtime (unplanned, failures, planned stops and setups) and while the machine is off. It is calculated by the same function as the order **Energy** tab, and the machine energy is the same as in the OmniEnergy reports (meters, multipliers, resets). A machine without a state signal has all its energy in the **No machine state** state.

**Download PDF** saves the report with the chart (A4 landscape), and **Send by e-mail** and the recurring report attach this PDF to the message (the indicators and the table are in the body).

## “Maintenance” section

| Report | Contents |
|--------|----------|
| **Failures and MTBF/MTTR** | for each machine: requests in the period, failures, failure time, MTTR, MTTF, MTBF and availability from failure requests - the same definition as the telemetry MTBF/MTTR |
| **Inspection compliance** | inspection orders due in the period: due date, completion, on time or late, delay, technician, work |
| **Maintenance cost** | for each machine: orders finished in the period, labour hours, labour cost (when the maintenance settings have a rate) and parts at the standard price |

Module description - the [**Maintenance**](https://docs.omnimes.com/doc/maintenance-mfXqYdhBue) chapter.

## “BI dashboards” section

 ![](https://docs.omnimes.com/api/files.get?sig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1cGxvYWRzLzRlMDdmZmNhLThmZjAtNDYxYy1iYjEyLTA2OTEyZGRiOGQzNi8zNzQyZmU4My01MWI5LTQ2MTUtYmYxNS0zYmRkMGZkZjExMzMvcmFwX2JpLnBuZyIsInR5cGUiOiJhdHRhY2htZW50IiwiaWF0IjoxNzk1NDEwMDAwLCJleHAiOjE3OTU0OTY0MDB9.bXd3pYgucjHftRWy0514Tq4G1ujII_7WmStJ5MbJWDc)

**BI dashboard report** creates a snapshot of a Redash dashboard for the selected period. In the form:


1. Optionally enter a **Name** (without it the system generates one).
2. Choose the dashboard in **Select dashboard for snapshot**.
3. Set **Date from (snapshot)** and **Date to (snapshot)**.
4. Click **Generate new report**.

The task goes to a queue and runs in the background - usually a few to a dozen or so seconds, longer when the dashboard queries are slow (limit: 4 minutes). You download the finished report from **Generated reports** as PDF, PNG, MHTML or HTML. When the dashboard does not load within the limit or the task is interrupted (e.g. a server restart), the report gets an error status with the description in its name - order it again.

The server takes the snapshot only from the Redash set in [**General configuration**](https://docs.omnimes.com/doc/general-configuration-1TPIxjFPPg) (Redash tab). A dashboard at another address is rejected with a message.


:::tip
You can also create a BI dashboard report on the [**Dashboard**](https://docs.omnimes.com/doc/dashboard-Xasm7BsRzd) (when it shows a Redash dashboard) - with the **Archive as report** button.

:::

## Running a catalog report

**Period**: Today, Yesterday, Last 7 days, Last 30 days, Current week, Previous week, Current month, Previous month or Custom range (with a start and an end date). A report without a period (e.g. **Work in progress (WIP)**, **Material stock levels**) shows the current state.

After you click **Show report**, the period, the generation time and the number of rows are shown above the result, and for many reports also a note on how the values are calculated. Click a column header to sort; the table footer has totals and a summary is shown below the table.

Buttons below the filters:

| Button | What it does |
|--------|--------------|
| **Show report** | calculates the report and shows the result on screen |
| **Download CSV** | downloads a CSV file with the same result |
| **Download PDF** | downloads the report as a PDF (A4 landscape): header, period, note and table, and in the **Energy and machine states** report also the indicators and the chart |
| **Send by e-mail** | opens the **Send report by e-mail** window: enter the **Recipients** (separated by commas or each on a new line), optionally tick **Attach CSV file** and click **Send report**. The message has the table in its body |
| **Save to archive** | saves the current result to **Generated reports** (described below) |
| **Save as recurring report** | opens the **Add recurring report** window (**Recurring reports** screen) with this report, filter and period - add the recipients, set the schedule and save (see the [**Recurring reports**](https://docs.omnimes.com/doc/recurring-reports-bK4elx42W3) chapter) |

Sending uses the system mail settings ([**General configuration**](https://docs.omnimes.com/doc/general-configuration-1TPIxjFPPg)).

### Reports generated in the background

**Download PDF** and **Send by e-mail** always, and in reports that take longer for a long period (**Machine time and availability**, **Energy and machine states**, **OEE by shift**, **MTBF and MTTR**) also **Show report**, **Download CSV** and **Save to archive** - the report is generated in the background on the server. A progress bar with the current stage appears below the buttons: **Queued on the server…**, **Computing the report**, **Creating the PDF**, **Sending the e-mail**.

Stay on the page - the result appears by itself: the report on screen, the file is downloaded, and after sending you see a confirmation with the recipients (the **Send report by e-mail** window closes right after you click **Send report**). Until the task ends the other report buttons are inactive. When the task fails, you see a message with the reason, e.g. the period limit exceeded, no browser on the server (PDF) or mail not configured.

### Saving to the archive


1. Click **Save to archive**.
2. In the **Save to archive** window check the **Report name** (by default the name of the catalog report).
3. Click **Save to archive**.

The report with the current results goes to **Reports → Generated reports** as **Report - from catalog**: with the table, CSV and print, without recalculation. Saving requires write access to reports - without it the button is not shown.

## Limitations

* **OEE by shift** and **OEE by product** are calculated live - for at most 31 days. **Machine time and availability** and **MTBF and MTTR** - for at most 92 days.
* Energy reports include only orders finished in the period and require OmniEnergy meters on the order machines; the cost is empty when the machine has no tariff. With a very large number of orders, the report calculates some of them and says so in the note - narrow the period or the filter.
* Effectiveness, quality and OEE in machine reports require quantity reports from the **Production** module - without them the report shows times and availability.
* **Energy and machine states** - at most 92 days and 50 machines; a longer period with the 15-minute step selected is calculated with a 1-hour step (at most 800 chart intervals). The PDF requires a browser on the server (included in the OmniMES installation) - without it the e-mail is sent without the PDF.

---

**Documents**

- [OmniPlatform](https://docs.omnimes.com/s/cb8b19e0-ec6d-4e1a-8690-b0ddd67ad1cd/doc/omniplatform-7z9SIECi68)
- [Omnienergy](https://docs.omnimes.com/s/cb8b19e0-ec6d-4e1a-8690-b0ddd67ad1cd/doc/omnienergy-56aRDgnYFZ)
- [Omnimes](https://docs.omnimes.com/s/cb8b19e0-ec6d-4e1a-8690-b0ddd67ad1cd/doc/omnimes-eGDa0U5cyr)
- [FAQ](https://docs.omnimes.com/s/cb8b19e0-ec6d-4e1a-8690-b0ddd67ad1cd/doc/faq-IFQjCNYt1Q)
- [Cybersecurity & Compliance (CRA)](https://docs.omnimes.com/s/cb8b19e0-ec6d-4e1a-8690-b0ddd67ad1cd/doc/cybersecurity-compliance-cra-pPJBcC6sBf)