20 - Reports and KPIs

Navigation: Index | previous: 19 - Contracts and tenders | next: 21 - Admin: operations Last checked against the application: 25 Nov 2026

1. Who this guide is for

This guide is for every member of a company workspace who needs numbers: the Owner and Operations Manager (fleet, trips, margin), finance (ageing, VAT, profit), HR and payroll (registers), fleet and workshop people (maintenance, fuel), and anyone with the permission to read reports. It covers the Report centre (C-18), running a report, filters, exports, scheduled e-mail reports, the monthly management pack, the PDF format designer, the KPI tiles with their trend, and KPI targets with anonymous benchmarks.

The staff-only platform reports in the admin console are a different screen and are described in the admin guides (21 - Admin: operations).

2. What you can do here (summary)

Activity Who Screen(s)
Find a report, mark it as a favourite Anyone with reports.view C-18 (Report centre)
Run a report with filters, read its tiles, charts and table Anyone allowed to open that report Report viewer
Download a report as PDF, Excel or CSV, or print it reports.export / reports.print Report viewer, C-18
Send a report by e-mail on a schedule reports.schedule Scheduled reports
Design how the PDF of a report looks reports.format Report format
Build or print the monthly management pack Roles with reports.print or reports.schedule Management pack
Follow one KPI over time (the home tiles) Members who may see that KPI KPI trend
Set targets for KPIs and compare with similar fleets reports.view to look, reports.target to write KPI targets
Go to the fleet or HR report screens Fleet and HR roles Fleet reports, HR and payroll reports (guides 09 and 14)

3. Before you begin

4. Where to find it

What Menu path Address
Report centre (C-18) Insight > Reports > Reports /reports
Run one report Report centre > the report's name /reports/{key}, for example /reports/trip-register
Scheduled reports Report centre > Schedule /reports/schedules
Report format (PDF design) Report centre or viewer > Format /reports/{key}/format
Management pack Report centre > Management pack /reports/management-pack
KPI targets Insight > Reports > KPI targets /app/reports/targets
KPI trend of one KPI A KPI tile on the home dashboard /reports/kpi/{kpi}, which opens /reports/kpi-trend
Fleet reports (F-26) Fleet > Fleet insight > Fleet reports /app/reports/fleet
HR and payroll reports (H-26) People > Employees > HR dashboard, then the reports link /app/reports/hr

The Dev Pack shows the centre at /app/reports; the real address is /reports.

5. The big picture (flowchart)

flowchart TD
  s1(["Open Insight then Reports"]) --> a1["Report centre lists the reports you may see"]
  a1 --> a2["Search, or filter by Module, Schedule, Favourites"]
  a2 --> d1{"What do you want?"}
  d1 -->|"Look at numbers now"| a3["Run it and set the filters"]
  d1 -->|"A file"| a4["Press PDF, or run it and press Excel or CSV"]
  d1 -->|"Regular e-mail"| a5["Press Schedule and fill the form"]
  d1 -->|"Change the PDF look"| a6["Press Format and design it"]
  d1 -->|"Monthly summary"| a7["Open Management pack"]
  a3 --> sys1[["Report is worked out for you with your own access"]]
  a4 --> sys1
  sys1 --> d2{"You may see money?"}
  d2 -->|"No"| sys2[["Amounts are removed from columns, totals, tiles and charts"]]
  d2 -->|"Yes"| sys3[["Everything is shown"]]
  sys2 --> e1(["Table, tiles, charts, or a file"])
  sys3 --> e1
  a5 --> o1[/"Scheduler e-mails the file at the chosen time"/]
  a7 --> o2[/"Pack is also e-mailed on the 1st at 08:00"/]

6. Activities, step by step

6.1 Find a report in the Report centre (C-18)

Purpose - one list of every report you may open, with the date it was last run and whether it is sent on a schedule. Who - reports.view.

Steps

  1. Open Insight > Reports > Reports. The page is called Report centre. Four tiles at the top show Reports available, On a schedule, My favourites and Run this month.
  2. Type in the search box. It matches the report's name, its key, its one-line description and its module.
  3. Use the filters Module, Schedule (Scheduled, Not scheduled, or Daily, Weekly, Monthly) and Favourites (Favourites only).
  4. Press the star at the start of a row to add the report to your favourites, or again to remove it. Only you see your favourites.
  5. Press the report's name, or the Run it play icon, to open it. The other icons are PDF, Format and Schedule; each appears only if you may do it.
flowchart TD
  s1(["Open the Report centre"]) --> sys1[["List is built from the reports your role may open"]]
  sys1 --> a1["Type in the search box or pick a filter"]
  a1 --> a2["Read Report, Module, Last run, Schedule, Format"]
  a2 --> d1{"What next?"}
  d1 -->|"Star"| sys2[["Report is added to or removed from your favourites"]]
  d1 -->|"Name or Run it"| e1(["Report viewer opens"])
  d1 -->|"PDF"| e2(["PDF is downloaded with the standard filters"])
  d1 -->|"Format"| e3(["Report format page opens"])
  d1 -->|"Schedule"| e4(["Scheduled reports page opens with this report chosen"])
  sys2 --> a1

Columns of the list

Column What it shows
Star Your favourite mark.
Report The name, its key (for example trip-register) and a one-line description.
Module The group: Operations, Drivers, Maintenance, Inventory, Fuel, Finance, Payroll, Compliance, Audit, Management.
Last run When anyone in the company last ran it (view, export, schedule or pack).
Schedule Daily, Weekly, Monthly badges for each active schedule, or a dash.
Format Designed (the company designed the PDF; the badge opens the designer when you may) or Standard.

Buttons and actions

Button What it does Who sees it
Management pack (top) Opens the monthly pack. reports.view and (reports.print or reports.schedule)
Schedule (top) Opens the scheduled reports page. reports.schedule
Star Adds or removes a favourite. Everyone
Run it Opens the viewer. Everyone
PDF Downloads the report as PDF now. reports.export and a role that may export PDF
Format Opens the PDF designer. reports.format (and, for a report with amounts, a role that sees money)
Schedule (row) Opens the schedule form with this report chosen. reports.schedule

What reports exist. The catalogue is built from the report classes of every module, so a module can add its own. Today it holds, by group (the names are what the list shows; some belong to one country or activity only):

Group Reports
Operations Trip Register, Fleet Status Summary, Empty Running, Journey & Return-Load, Pre-Trip Inspection, Project Utilization & Cost, Route Replay, Stop & Idle, Vehicle Activity Timeline, Vehicle Usage, Vehicle Utilization Breakdown, Loading / Unloading Waiting Time, Trip Profitability, Cost per Kilometre, Customer Profitability, Delay Reasons
Drivers Attendance & Duty Summary, Break & Stoppage Analysis, Driver Duty, Driver Scorecard, Driver-Hour Violations
Maintenance Accidents & Incidents, Maintenance Downtime, Maintenance (Job Sheets), Service Due
Inventory Parts Consumption by Vehicle, Spare Parts Stock & Valuation, Stock Valuation by Location
Fuel Fuel Consumption & km/L, Fuel Ledger by Pump, Fuel Company Payable Summary
Finance Receivable & Payable Ageing, Branch Expense Reconciliation, Cash in Hand, Challan Report, Client Billing & Receivables, Commission Statement, Profit & Loss / Balance Sheet / Trial Balance, Rental Vehicle P&L, Trip Cost, Vehicle Cost (TCO), Vehicle-wise Profit, VAT return data (Saudi), VAT Sales Register & VDS (Bangladesh)
Payroll Salary Sheet & Advances, Salary register, Bank and cash list, Advance and loan register, Bonus register, GOSI register, Provident fund register, End-of-service liability, Attendance register, Leave register, Nationalities on the payroll
Compliance Document Expiry, Overloading & Fines
Audit Activity Log & Login History
Management KPI trend

If something goes wrong - an empty list means your role may open no report: ask the Owner for Reports: view and for the permission of the area you need. A report that exists but is missing for you belongs to an activity or country your company does not have, or needs the money permission.

6.2 Run a report (the report viewer)

Purpose - read one report for the dates and options you choose. Who - anyone allowed to open that report (otherwise 403; an unknown key is 404).

Steps

  1. Open the report from the centre (or go to /reports/{key}).
  2. Set the filters in the grey card. Which filters you see depends on the report; the kinds are a date range (from and to), a single as of date, a month, a drop-down (All is the first choice), a switch, a number and a short text.
  3. Press Run (the play icon). Reset (the round arrow) clears the filters.
  4. Read the result: tiles at the top (key figures), charts (bar, line, stacked bar or doughnut), then the Rows table with a Total line where the report has totals.
  5. Click the first cell of a row, when it is a link, to drill through to the record behind it (for example the trip).
  6. Read the notes under the table: they explain how a figure is worked out, or say that the result was cut ("Only the first N of M rows are included. Narrow the filters to see the rest.").
flowchart TD
  s1(["Open a report"]) --> sys1[["Access is checked again: permission, activity, country, money"]]
  sys1 --> d1{"You may open it?"}
  d1 -->|"No"| e1(["Forbidden or not found"])
  d1 -->|"Yes"| a1["Set the filters and press Run"]
  a1 --> sys2[["Filters are validated"]]
  sys2 --> d2{"Filters valid?"}
  d2 -->|"No"| a2["Red messages; fix the filters and run again"]
  a2 --> a1
  d2 -->|"Yes"| sys3[["Report is worked out, rows are cut at 5,000"]]
  sys3 --> sys4[["Amounts are removed if you may not see money"]]
  sys4 --> sys5[["A Last run line is written for the centre"]]
  sys5 --> e2(["Tiles, charts and the first 500 rows are shown"])

Facts to know

Fact Value
Rows drawn on the screen The first 500; the total count is shown ("N of M shown").
Rows in an export Up to 5,000. A longer result says so in a note on the last line.
Totals Worked out from all rows before they are cut.
Dates Follow the company's clock.
Amounts In the company's currency (SAR in a Saudi company); never a typed currency sign.

If something goes wrong - "Fix the filters above and run the report again." (a filter is wrong); "No records found." (nothing matches, change the dates); a 403 page means you may not open that report.

6.3 Download or print a report

Purpose - get the same result as a file. Who - reports.export for files, reports.print for printing; and a role whose export setting allows the format.

Steps

  1. Run the report first (or press PDF in the centre for the default filters).
  2. In the page header press PDF, Excel or CSV. The buttons you may not use are not drawn. The PDF opens in a new tab; Excel and CSV download.
  3. Press Print to print the page with the browser (only with reports.print).
flowchart TD
  s1(["Report is on the screen"]) --> d1{"Which file?"}
  d1 -->|"PDF"| sys1[["Standard layout, or the company's designed format"]]
  d1 -->|"Excel"| sys2[["Numbers stay numbers, no formulas, ready to pivot"]]
  d1 -->|"CSV"| sys3[["Plain comma separated file"]]
  d1 -->|"Print"| sys4[["Browser prints the page"]]
  sys1 --> sys5[["Same filters, same access, amounts removed without the money permission"]]
  sys2 --> sys5
  sys3 --> sys5
  sys5 --> sys6[["One export line is written in the activity log"]]
  sys6 --> e1(["File is downloaded"])
  sys4 --> e2(["Printout"])

What decides whether a button appears

Rule Detail
Permission reports.export is needed for PDF, Excel and CSV.
Format offered by the report Most reports offer PDF, Excel and CSV; a report may offer fewer.
Your role's export setting A role that may not export Excel gets no Excel and no CSV (CSV follows the Excel setting).
The PDF Uses the language of the page (Arabic font on an Arabic page) and the company header and tax numbers of Settings > Print settings. A company can design its own layout (6.5).

A forbidden format answers 403; a format that does not exist answers 404.

6.4 Send a report by e-mail on a schedule (Scheduled reports)

Purpose - the same report, with the same filters, e-mailed as PDF or Excel every day, week or month. Who - reports.schedule plus reports.view. Only reports you may open and export are offered.

Steps

  1. Open Report centre > Schedule (or the Schedule icon on a row, which chooses the report for you).
  2. Press Schedule (the plus button). The window New schedule opens.
  3. Choose the Report.
  4. Choose the Frequency: Daily, Weekly (then a Weekday, Monday to Sunday) or Monthly (then a Day of the month, 1 to 28).
  5. Set the Time (hours and minutes).
  6. Tick the Recipients: between 1 and 10 members of this company (their names and e-mail addresses are listed).
  7. Choose the Format: PDF or Excel (only what that report offers), and the Period covered: The previous day, week or month or The current one, up to today.
  8. Set the Status: Active or Inactive.
  9. Fill the report's own filters that appear (the date filters are not asked: they follow the frequency and the period).
  10. Press Save schedule. The list shows the schedule with its code, Next run and Status. To change or remove one use the pencil, History and delete icons.
flowchart TD
  s1(["Open Scheduled reports"]) --> a1["Press Schedule"]
  a1 --> a2["Choose report, frequency, time, recipients, format, period"]
  a2 --> a3["Fill the report's own filters"]
  a3 --> a4["Press Save schedule"]
  a4 --> sys1[["Form is checked: 1 to 10 members, format allowed, filters valid"]]
  sys1 --> d1{"Everything valid?"}
  d1 -->|"No"| a5["Red messages in the window; fix and save again"]
  a5 --> a4
  d1 -->|"Yes"| sys2[["Schedule gets a code and the next run time is worked out"]]
  sys2 --> e1(["Schedule appears in the list as Active"])

What happens when it runs

flowchart TD
  t1(["Scheduler looks every 15 minutes"]) --> sys1[["Schedules that are due are taken"]]
  sys1 --> sys2[["Next run is fixed first, so a crash cannot send twice"]]
  sys2 --> d1{"Creator is still active and may open and export the report?"}
  d1 -->|"No"| sys3[["Run fails and the reason is written on the schedule"]]
  d1 -->|"Yes"| sys4[["File is built with the creator's own access, up to 3 tries"]]
  sys4 --> d2{"File built?"}
  d2 -->|"No"| sys3
  d2 -->|"Yes"| o1[/"Each recipient still a member gets the e-mail"/]
  o1 --> d3{"All sent?"}
  d3 -->|"Yes"| e1(["Result line says sent"])
  d3 -->|"Some failed"| e2(["Result line names the addresses that failed"])
  sys3 --> o2[/"Creator gets an alert and an e-mail with the reason"/]

Fields

Field What to enter Rules
Report * One report you may open Required
Frequency * Daily, Weekly, Monthly Required
Weekday * Monday to Sunday Needed for Weekly
Day of the month * 1 to 28 Needed for Monthly ("1 to 28, so every month has it.")
Time * For example 08:00 Required
Recipients * Members of this company (tick boxes) 1 to 10: "Give between 1 and 10 email addresses."; an outside address is refused: "A report can only be sent to members of this company. Not a member: ..."
Format * PDF or Excel "This report cannot be sent in that format, or your role may not export it."
Period covered * The previous day, week or month / The current one, up to today The previous is the last full day, week (Monday to Sunday) or month
Status Active / Inactive Inactive keeps the schedule but sends nothing

Statuses

Status Meaning What you can do next
Active Will run at Next run Change, switch to Inactive, remove
Inactive Kept but never runs Change it to Active

Under the status a short line says what the last run did (for example "Sent to 2 of 3 people (failed: ...)").

Members only, checked at every run - a report goes only to active members of your company. A person who has left, or an outside address saved before this rule, is skipped: the result line says "Skipped, not members of this company: ...", the creator gets an alert and an e-mail, and the list shows "N skipped: not a member" beside the recipients. If nobody on the list is a member any more, the run fails and says so. Open the schedule and tick members to fix it (saving drops the outside addresses, and the window names them).

What happens next - a schedule runs as the person who made it: the rows and amounts in the file are the ones that person may see, and it stops when that person leaves, is made inactive, or may no longer open the report. A failed run is retried twice; if it still fails the schedule keeps the reason and the creator gets an alert and an e-mail. Only the creator, an Owner or a role that sees all data can change or remove a schedule. Removing one stops it; mails already sent stay in the mailboxes.

If something goes wrong - "Schedule added successfully." / "Schedule updated successfully." / "Schedule removed successfully." are the good answers; the red messages above come back inside the window. If nothing arrives, check the platform's scheduler and mail.

6.5 Design how the PDF of a report looks (Report format)

Purpose - choose columns, order, grouping, paper and header for the PDF of one report. Excel and CSV always keep every column. Who - reports.format, and for a report with amounts a role that sees money.

Steps

  1. In the viewer or the centre press Format.
  2. Under Report set the Title on the PDF, Group by (each group gets a heading and a subtotal; the grand total comes last), Sort by and Direction (Ascending, Descending).
  3. Under Columns tick the columns to print and drag them to set the order. Unticked columns are left out.
  4. Under Paper choose the Paper (A4, Letter, Legal), Orientation (Portrait, Landscape), Font (By language is the default; or IBM Plex Sans Arabic, SolaimanLipi, Roboto), Watermark (None, Draft, Confidential) and whether to Show the filters used.
  5. Under Header & signatures upload a Header logo (a PNG up to 1 MB; without one the company logo is used) and choose Signature blocks (Prepared by, Checked by, Approved by).
  6. Press Preview PDF to see it, then Save format. Reset to standard removes the saved format and the report prints the standard layout again.
flowchart TD
  s1(["Press Format on a report"]) --> a1["Set title, grouping and sorting"]
  a1 --> a2["Tick and order the columns"]
  a2 --> a3["Choose paper, orientation, font, watermark"]
  a3 --> a4["Add a logo and signature blocks"]
  a4 --> a5["Press Preview PDF"]
  a5 --> d1{"Happy with it?"}
  d1 -->|"No"| a1
  d1 -->|"Yes"| a6["Press Save format"]
  a6 --> sys1[["Format is saved for the company and Format column shows Designed"]]
  sys1 --> e1(["Every PDF of this report, also scheduled ones, uses it"])
  e1 --> a7["Reset to standard removes it"]

6.6 The monthly management pack

Purpose - one PDF with a cover, contents and charts for the month, made of six reports run for the whole month: Profit & loss, Vehicle profit, Utilization by project, Receivables and ageing, Compliance and risk: documents and Fuel consumption. Who - reports.view and (reports.print or reports.schedule).

Steps

  1. Press Management pack in the Report centre.
  2. Read the Contents table: each section shows Included or Skipped. A section whose report is not ready, or that your role may not open, is skipped with a line, never an error.
  3. Choose the Month (this month and the 23 before it; the last full month is the default).
  4. Press Build PDF to download, or Print to open it inline. Building needs reports.print or reports.export and a role that may export PDF.

The pack is also built by the scheduler at 08:00 on the 1st of every month for the month that has just ended, and e-mailed to every active person with an e-mail address who may schedule reports. The page says "Next email: ..., to N people who may schedule reports." Each person's pack is built with their own access.

flowchart TD
  s1(["Open Management pack"]) --> a1["Read the contents and what is skipped"]
  a1 --> a2["Choose the month"]
  a2 --> d1{"Build or print?"}
  d1 -->|"Build PDF"| sys1[["Pack is built with your access"]]
  d1 -->|"Print"| sys1
  sys1 --> e1(["PDF with cover, contents, charts and the sections"])
  t1(["1st of the month at 08:00"]) --> sys2[["Pack of the last month is built for each eligible person"]]
  sys2 --> o1[/"Each person receives their own PDF by e-mail"/]

6.7 KPI tiles and the KPI trend

Purpose - a few figures that tell how the fleet is doing, drawn as tiles on the home dashboard, and one page that shows a figure month by month. Who - members who may see that KPI.

The seven KPIs (each has its own permission, activity and rule):

KPI Meaning in plain words Better when Needs
Fleet utilisation Time on trips over the time the vehicle status timeline tracked, for the whole fleet Higher vehicles.view
Empty-km share Kilometres of empty positioning legs over all kilometres driven Lower trips.view
Cost per km Expense booked against the vehicles that ran, over the kilometres they ran Lower vehicles.profit and money
On-time deliveries Share of delivered trips that arrived no later than planned start plus estimated hours Higher trips.view
Downtime Time in the workshop or out of service over the tracked time Lower vehicles.view
Revenue per truck Income in the books for the period over the vehicles of the fleet today Higher accounts.view and money
Margin Income minus expense over income Higher accounts.view and money

All seven are for companies with a carrier or owner-operator activity. The written definitions are still to be confirmed by the business.

Steps

  1. On the home dashboard press a KPI tile. It opens the KPI trend report (the address /reports/kpi/{kpi} just forwards there with that KPI chosen).
  2. Change the KPI (the list holds only the KPIs you may see), Per (Month, Week, Day) and the date range. The default is the last 12 months.
  3. Read the tiles Latest, Best, Worst, Average and Periods, the line chart, and the table with Period, From, Value, Unit, Sample, Change and Computed.
  4. A dash in Value means the data could not give a figure for that period, never a zero. The value of the period running now moves until it ends.
flowchart TD
  t1(["Every night at 03:00"]) --> sys1[["Each KPI is worked out for the day, week and month and saved as a snapshot"]]
  sys1 --> s1(["Member opens the home dashboard"])
  s1 --> d1{"May see this KPI?"}
  d1 -->|"No"| e1(["Tile is not drawn"])
  d1 -->|"Yes"| a1["Press the KPI tile"]
  a1 --> sys2[["Page forwards to the KPI trend report with the KPI chosen"]]
  sys2 --> a2["Change KPI, Per and the dates, press Run"]
  a2 --> d2{"Snapshots exist for the span?"}
  d2 -->|"No"| e2(["Message: No snapshot yet, the nightly refresh writes them"])
  d2 -->|"Yes"| e3(["Latest, Best, Worst, Average, line chart and table"])

If something goes wrong - "No KPI you may see was chosen." (you hold no permission for any KPI); "No snapshot of ... in this span yet: the nightly refresh (reports:refresh-kpis) writes them." (wait for the night job or widen the dates).

6.8 KPI targets and benchmarks

Purpose - say what figure the company wants to reach, see how close it is, and compare anonymously with similar fleets. A target refuses nothing: it only measures. Who - reports.view to look; reports.target to save targets and to switch benchmarks on or off; reports.export for files.

Steps (targets)

  1. Open Insight > Reports > KPI targets. The subtitle says how many KPIs, how many have a target, how many are met or behind.
  2. Choose Per (Month, Week, Day): targets are kept per kind of period.
  3. For each KPI the table shows Value (this period's figure), a Target box with the unit, Progress and Compared with similar fleets.
  4. Type a target in a box, or empty a box to clear it. A target in percent cannot be more than 100.
  5. Press Save targets. The message says how many were saved and cleared.
  6. Press Excel or PDF at the top for a file of the panel. Report centre goes back.

Progress reads Target met, or "N% of target", and follows the KPI's good direction (for a "lower is better" KPI a lower figure is closer).

Steps (benchmarks)

  1. At the bottom, the card Compare with similar fleets says Taking part or Not taking part.
  2. Press Take part to join, or Stop taking part to leave.
  3. Once at least 5 companies in your group take part, the last column shows a band such as "Better than 50% of similar fleets" with the group's name and size ("Fleets of 6-20 trucks", "Fleets running mostly ...", "Every company that takes part"). The fleet-size groups are 1-5, 6-20, 21-50, 51-200 and 201+ trucks. Benchmarks are built for the Month and Week views only; a Day view has no band.
flowchart TD
  s1(["Open KPI targets"]) --> a1["Choose Per: Month, Week or Day"]
  a1 --> sys1[["Table shows value, target, progress and benchmark band"]]
  sys1 --> d1{"Want to change targets?"}
  d1 -->|"Yes"| d2{"You hold reports.target?"}
  d2 -->|"No"| e1(["Boxes are read only"])
  d2 -->|"Yes"| a2["Type or empty the target boxes"]
  a2 --> a3["Press Save targets"]
  a3 --> sys2[["Each target is checked: a percent target is at most 100"]]
  sys2 --> e2(["Message: N targets saved, N cleared"])
  d1 -->|"Benchmark"| d3{"Taking part?"}
  d3 -->|"No"| a4["Press Take part"]
  d3 -->|"Yes"| a5["Press Stop taking part"]
  a4 --> sys3[["Company joins the weekly benchmark build on Monday at 03:40"]]
  a5 --> sys4[["Company leaves the next build and sees no comparison"]]
  sys3 --> e3(["Band appears once at least 5 companies of a group take part"])

Rules that protect the companies

Rule Detail
Opt in A company joins only by pressing Take part; it is off by default.
Minimum group A comparison is shown only for a group of at least 5 companies that take part. This floor is fixed in the program and cannot be lowered by a setting.
What you see A band only ("better than 50% of similar fleets"), never another company's figure, name or size.
Groups By kind of truck, by fleet size, or all companies that take part, most specific first.
No figure A KPI with no figure has no progress and no band (a dash), never a zero.

If something goes wrong - "This KPI is not one you may set a target for."; "A target in percent cannot be more than 100."; "No KPI to set a target for" (empty panel: your role or the company's activities show no KPI).

6.9 Who sees which numbers: money, activity, country

Purpose - explain why two people open the same report and get different results. Who - everyone; the rules are applied by the program, not by the screen.

flowchart TD
  s1(["A person opens or exports a report"]) --> d1{"Holds Reports: view?"}
  d1 -->|"No"| e1(["Report is not offered"])
  d1 -->|"Yes"| d2{"Holds the report's own permission, activity and country?"}
  d2 -->|"No"| e1
  d2 -->|"Yes"| d3{"Report is entirely about money?"}
  d3 -->|"Yes"| d4{"Role can see money totals?"}
  d4 -->|"No"| e2(["Report is not offered, or 403"])
  d4 -->|"Yes"| sys1[["Whole report is shown"]]
  d3 -->|"No"| d5{"Role can see money totals?"}
  d5 -->|"Yes"| sys1
  d5 -->|"No"| sys2[["Money columns, totals, tiles and charts are removed, not hidden"]]
  sys1 --> e3(["Table, file, schedule and pack show the same thing"])
  sys2 --> e3
Situation What happens
A report made of amounts (profit, ageing, VAT...) and a role that cannot See money totals The report is not in the list and a direct address answers 403.
A report with some amount columns The amount columns, their totals, tiles and charts are removed from the screen, the PDF, Excel and CSV. The data is never sent and then hidden.
A KPI of money (cost per km, revenue per truck, margin) The tile and the KPI are not offered to such a role.
The PDF designer A role without money cannot design a report that has amount columns.
A scheduled report Runs as its creator: the file carries only what the creator may see.
Data scope A role that sees only its own branch gets only that branch's rows.

The money setting is Can see money totals on the role (Settings > Roles; Owner always sees money).

6.10 Where the fleet and HR numbers are

Two report screens have their own pages because they carry tiles and tables of their own. They are not in this catalogue's list:

7. Screen by screen

C-18 - Reports centre

Address - /reports (the Dev Pack says /app/reports). Who - reports.view; each report by its own permission. What you see - the title Report centre; four tiles (Reports available, On a schedule, My favourites, Run this month); the list with a star, Report, Module, Last run, Schedule, Format and row icons; filters Module, Schedule and Favourites (the design lists the first two); a note that a report you may not see never appears. The list has no Excel export of its own. What you can do - search, filter, star, Run it, PDF, Format, Schedule, Management pack, Schedule (top). See 6.1.

Report viewer (no Dev Pack code)

Address - /reports/{key}. Who - anyone allowed to open that report. What you see - the report's title and description, the filter card with Run and Reset, tiles, charts, the Rows table, totals and notes. What you can do - star, PDF, Excel, CSV, Print, Format, Schedule. See 6.2 and 6.3. Downloading is /reports/{key}/export?format=pdf|xlsx|csv.

Scheduled reports (no Dev Pack code)

Address - /reports/schedules. Who - reports.schedule. What you see - the list (Schedule, Report, Frequency, Recipients, Format, Next run, Status; filter Frequency) and the window New schedule / Change schedule. The window loads the report's own filters when you choose a report (a background call at /reports/schedules/filters/{key}). What you can do - add, change, remove, open History. See 6.4.

Report format (no Dev Pack code)

Address - /reports/{key}/format. Who - reports.format. What you see - the cards Report, Columns, Paper, Header & signatures. What you can do - Preview PDF, Save format, Reset to standard. See 6.5.

Management pack (no Dev Pack code)

Address - /reports/management-pack. Who - reports.view and (reports.print or reports.schedule). What you see - Monthly management pack, the next e-mail date, the month picker, the Contents table. What you can do - Build PDF, Print. See 6.6.

KPI targets (no Dev Pack code)

Address - /app/reports/targets and its export /app/reports/targets/export/{xlsx|csv|pdf}. Who - reports.view; writing needs reports.target; files need reports.export. What you see - the table of KPIs, targets, progress and benchmark band, and the Compare with similar fleets card. What you can do - Save targets, Take part / Stop taking part, Excel, PDF. See 6.8.

KPI tile addresses (no Dev Pack code)

Address - /reports/kpi/fleet_utilisation, /reports/kpi/empty_km_share, /reports/kpi/cost_per_km, /reports/kpi/on_time_share, /reports/kpi/downtime_share, /reports/kpi/revenue_per_truck, /reports/kpi/margin. Who - reports.view. What you see - nothing of their own: each forwards to the KPI trend report with that KPI chosen. See 6.7.

8. Tips and common questions

Q: A colleague sees a report that I do not. Reports follow the permission of the person: the report's own permission, the company activities, the country and the money setting. Ask the Owner to check your role.

Q: The amounts are missing in my Excel file. Your role cannot see money totals. The amount columns are removed from every file, not only hidden.

Q: Why is "Last run" empty? Nobody in the company has run, exported or scheduled the report yet.

Q: Can I e-mail a report to someone outside the company? No. A scheduled report goes only to members of your company (the Dev Pack rule). To give somebody outside a copy, export the file and send it yourself, being careful whom you send it to.

Q: Two schedules for one report? Yes, with different times, recipients or formats. Each has its own code.

Q: The schedule did not send. Open the list and read the line under Status. Check that the creator is still active and may export the report, and that the platform's scheduler and mail are running.

Q: A KPI shows a dash. The data could not give a figure for that period (for example no trips with an estimate). A dash never means zero.

Q: Why does the on-time share leave some trips out? A trip with no estimated hours has no deadline, so it is not counted.

Q: Can I lower the benchmark minimum of 5 companies? No. It is fixed so that a benchmark can never reveal one neighbour's books.

Q: Where do I change the company header on the PDF? In Settings > Print settings (name, logo, tax numbers). The report format page can use its own PNG logo.

Q: My report is cut at 5,000 rows. Narrow the dates or filters. The screen always shows only the first 500, the files up to 5,000.

9. Page reference (for support and testing)

Page Address Route name Who can open (permission / activity) Described in
Report centre (C-18) /reports reports.index reports.view 6.1, C-18
Report viewer /reports/{key} reports.show reports.view and the report's own rules 6.2
Report download /reports/{key}/export reports.export reports.view, reports.export, role export setting (download) 6.3
Scheduled reports /reports/schedules reports.schedules.index reports.view, reports.schedule 6.4
Filters of a report for the schedule form (background data) /reports/schedules/filters/{key} reports.schedules.filters reports.view, reports.schedule 6.4
Report format designer /reports/{key}/format reports.format.edit reports.view, reports.format 6.5
Management pack /reports/management-pack reports.pack reports.view and (reports.print or reports.schedule); add ?build=1 for the PDF (download) 6.6
KPI tile: Cost per km /reports/kpi/cost_per_km reports.kpi.cost_per_km reports.view (forwards to the trend) 6.7
KPI tile: Downtime /reports/kpi/downtime_share reports.kpi.downtime_share reports.view (forwards to the trend) 6.7
KPI tile: Empty-km share /reports/kpi/empty_km_share reports.kpi.empty_km_share reports.view (forwards to the trend) 6.7
KPI tile: Fleet utilisation /reports/kpi/fleet_utilisation reports.kpi.fleet_utilisation reports.view (forwards to the trend) 6.7
KPI tile: Margin /reports/kpi/margin reports.kpi.margin reports.view (forwards to the trend) 6.7
KPI tile: On-time deliveries /reports/kpi/on_time_share reports.kpi.on_time_share reports.view (forwards to the trend) 6.7
KPI tile: Revenue per truck /reports/kpi/revenue_per_truck reports.kpi.revenue_per_truck reports.view (forwards to the trend) 6.7
KPI targets /app/reports/targets reports.targets.index reports.view 6.8
KPI targets file (download) /app/reports/targets/export/{format} reports.targets.export reports.view, reports.export 6.8

Actions (buttons and forms)

Action Route name Permission
Add or remove a favourite (POST) reports.favourite reports.view
Add a schedule (POST) reports.schedules.store reports.view, reports.schedule
Change a schedule (PUT) reports.schedules.update reports.view, reports.schedule (creator, Owner or all-data role)
Remove a schedule (DELETE) reports.schedules.destroy reports.view, reports.schedule (creator, Owner or all-data role)
Save a report format (PUT) reports.format.update reports.view, reports.format
Reset a report to the standard format (DELETE) reports.format.destroy reports.view, reports.format
Preview the PDF of a format (POST) reports.format.preview reports.view, reports.format
Save KPI targets (POST) reports.targets.save reports.target
Take part in or leave the benchmarks (POST) reports.targets.benchmark reports.target