Custom reports: setting them up
Custom reports, the report builder (Reports → Custom reports), are always
on; there is no app to switch on. What a person can build is decided by the
four saved_report permissions below; what data a report shows them is decided, row by row, by the
permissions they already hold on that data. This page lists both, the settings
the builder reads, and how scheduled delivery behaves.
Reports, in the menu every app shares, has two tabs: Standard reports (the
catalogue, each report behind its own data's permission) and Custom reports
(this page, behind saved_report.read). Somebody without saved_report.read
sees Reports with no tabs, as before. Custom reports was called the Report
builder, and sat under Accounting → Financial reports, until November 2026; the
permissions, the settings and the address (/reports/builder) kept their
names.
For the ledger-only financial-statement designer (Accounting → Financial reports → Custom statements), see Custom statements: setting them up. The two are separate and have separate permissions.
Permissions
| Permission | What it allows | Granted to |
|---|---|---|
saved_report.read | Open Custom reports, run their own reports and the reports shared with them, drill into a figure, star reports. | Manager, Sales, Warehouse, Accounting, Read only |
saved_report.build | Design reports: the live preview, save and change their own, use a template, duplicate. | Manager, Sales, Warehouse, Accounting |
saved_report.share | Share a report with roles or everybody, and change, delete or restore a report somebody else made and shared. | Manager, Accounting |
saved_report.schedule | Email a saved report to people on a schedule. | Manager, Accounting |
Admin holds every permission. Two existing permissions also matter:
data.export(Manager, Accounting) is needed to download a report as CSV, Excel or PDF. Without it the Export button is hidden and the download is refused. Scheduled emails do not need it: the schedule's owner answers for them.assistant.ask, together withsaved_report.build, shows the Describe the report you need box and Ask the assistant in the designer.
saved_report.read is safe to give to every role because it opens nothing by
itself: it decides what a person may do with report definitions. The data is
still each source's own (next section).
What a report may read
Every report reads one source, and each source has its own read permission. Running a report also needs that permission, as the person is on the day; a shared report on a source somebody cannot read is listed for them with a warning and refuses to run.
| Source | Needs | App or setting | Row access |
|---|---|---|---|
| Sales invoice lines | customer_invoice.read | Customers app, Receivables | By customer |
| Sales invoices | customer_invoice.read | Customers app, Receivables | By customer |
| Customer receipts | customer_receipt.read | Customers app, Receivables | By customer |
| Sales orders | sales_order.read | Sales app | By customer |
| Sales order lines | sales_order.read | Sales app | By customer |
| Customers | customer.read | Customers app | By customer |
| Items | item.read | Inventory app | — |
| Stock movements | stock.read | Inventory app | — |
| Purchase order lines | purchase_order.read | Purchasing app | — |
| Suppliers | vendor.read | — | — |
| Supplier bill lines | vendor_bill.read | Payables | — |
| Supplier payments | vendor_payment.read | Payables | — |
| Journal lines | ledger.read | — | — |
The records a source reaches have their own permissions too. The customer
fields of an invoice line need customer.read; the item, brand and product
type need item.read, brand.read and category.read; the salesperson and
buyer need person.read; sites and locations need location.read; the order
behind an invoice needs sales_order.read; a supplier bill line's account needs
ledger.read. A person without one of these simply does not see those fields
in the Fields pane, and a report that uses them will not run for them.
Switching an app off hides its sources and the fields it adds to other sources (the item fields of an invoice line come from Inventory). Reports that use them stay in the library, marked as not runnable, and work again when the app is switched back on.
Row access
Sources marked by customer apply the same rule as the customer lists: a person
without customer.read_all (See all customers) sees only the rows of the
customers assigned to them. The rule is applied before anything is grouped or
added up, so every total, drill-down, export, scheduled email and assistant
answer is of the rows that person may see. Sharing a report shares the
question, never the figures of whoever built it.
Every seeded role that reads customers holds customer.read_all, so nothing is
narrowed until you make a role without it (see Access).
Sharing and visibility
A report is one of:
- Only me: its owner's alone. It is not listed for anybody else, and opening it by its link answers as if it did not exist; this holds for administrators too.
- Shared with roles: the owner and people whose role is one of the roles chosen. A person on a custom role counts as the seeded role it is based on.
- Shared with everybody who holds
saved_report.read.
A draft cannot be shared. The owner changes their own report with
saved_report.build; anybody else needs saved_report.share to change, delete
or restore a shared one. Sharing and unsharing are audited.
Reports the product installs (the demo's shared reports) have no owner and are shared with everybody.
Settings
All four are under Settings → All settings, in the System section.
| Setting | What it does | Default | Range |
|---|---|---|---|
analytics.max_summary_rows (Most rows in a grouped report) | The most grouped rows a summary or pivot report reads, and the most rows an export or scheduled file holds. Beyond it the report stops and says the result was cut short. | 5000 | 100 to 50000 |
analytics.max_pivot_values (Most columns across in a pivot report) | The most values a pivot spreads across the top. The rest are left out and the report says so. | 60 | 2 to 500 |
analytics.timeout_seconds (Report run time limit) | How long one report may run before the database stops it. A stopped report asks the person to narrow its filters; nothing else is affected. | 30 | 1 to 600 |
saved_reports.attach_file (Attach the file to scheduled custom report emails) | On: scheduled reports are emailed with the CSV, Excel or PDF attached. Off: the email carries only a link back to the report, so the figures never sit in a mailbox. | On | — |
Recommended: leave the defaults. Lower the time limit on a small database
server shared with order entry; raise the row limit only for a company whose
reports are legitimately long (a stock list by bin), since a summary of more
than a few thousand rows is usually grouped too finely to read. Turn off
saved_reports.attach_file where your data must not leave the product by
email; recipients then open the report through the link, with their own access.
custom_reports.attach_file is the separate setting for Custom statements.
Scheduled delivery
A person with saved_report.schedule can email a saved report on a schedule.
- A schedule runs daily, weekly on a weekday, or monthly on a day from 1 to 28, at an hour in the company's time zone, in CSV, Excel or PDF.
- The background job saved_reports.deliveries checks every hour for
schedules that are due and queues each one once a day (event
saved_report.delivery_due). You can see it on Settings → Background jobs. A delivery that has already gone for that day is never sent twice. - On the day, the report runs as the person who owns the schedule, with their
permissions as they are then. Each recipient is checked again: they must hold
saved_report.read, be able to see the report (its sharing), and be able to read its source and fields. Anyone who no longer can is skipped. - Per-recipient rows. On a source with row access, a recipient whose rows are narrowed (a sales rep limited to their own customers) is sent the report run as themselves, not as the owner. Recipients who see every row get the owner's run. A rep on a manager's schedule therefore never receives other reps' customers.
- Send only when the report has rows makes the schedule an alert. It is judged per recipient: someone whose own rows are empty gets nothing, and the schedule records The report had no rows, so nothing was sent.
- The email goes through the company's email connection (Settings →
Integrations). It carries a link to the report, a one-line description and
the row count, and the file when
saved_reports.attach_fileis on. - Each recipient also gets a line in their notification bell
(
saved_report.delivered; bell only by default, since the email is the delivery). - Each run records its outcome on the schedule, with the reason when nothing
went:
- not sent when the owner can no longer run the report (someone who can should open the schedule and save it again), when nobody on the list can still see it, when there were no rows for an alert, or when the company has no email connection;
- failed when the report no longer runs (its source switched off, a field removed) or the email provider refused the message. It is not retried; the next due day tries again.
- Limits: 25 recipients per schedule, 20 schedules per report. Deleting a report deletes its schedules.
The assistant can never create, change or delete a schedule.
Limits
Besides the settings above, these are fixed:
| Limit | Value |
|---|---|
| Reports one person keeps | 200 |
| Groupings on the Rows shelf | 5 |
| Values | 12 |
| Calculations | 8 |
| Columns in a table | 60 |
| Filter conditions | 40, nested at most 4 groups deep |
| Parameters | 10 |
| Highlight rules | 20 |
| Top rows ("show only the first") | 10000 |
| Rows on one screen of results | 200 (an export holds up to analytics.max_summary_rows) |
| Rows the assistant reads from one run | 50 |
The assistant
With an AI provider connected, the assistant can list the sources and fields a
person may read, answer a question by running a report (analytics.run, which
needs saved_report.build), find and run saved reports (analytics.find_reports,
analytics.run_report), and draft a report (analytics.draft_report, which
needs saved_report.build and is proposed for the person to accept) or change
one of the person's own drafts (analytics.update_draft, the same permission).
Every one of these runs with the person's own permissions and row access.
AI apps connected over MCP (Claude, ChatGPT…) use the same tools with the
connecting person's permissions. There, a draft is kept at once instead of
waiting in the approvals queue: a report draft is private to its owner and is
not shared, scheduled or sent, so there is nothing for an approver to check. To
stop a person building reports from an AI app, remove saved_report.build from
their role (they keep running reports they may read), or give them a read-only
MCP token, which lists and runs reports but cannot keep or change drafts.
Without saved_report.read no report tool is offered at all.
The assistant may only draft. Saving, sharing, scheduling, restoring, duplicating, deleting and changing a saved report refuse it with An assistant cannot … (or, for a saved report, is saved, not a draft); a person does those. Without an AI provider the builder works fully by hand, and the compose box says how to connect one.
Audit
Every insert, change and delete of a report definition or a schedule is recorded in Settings → Audit log with its before and after values. The acts that matter also have their own named events:
| Event | When |
|---|---|
saved_report.saved | A draft is saved (from a person or the assistant) |
saved_report.shared / saved_report.unshared | Its sharing changes |
saved_report.deleted | It is deleted |
saved_report.restored | An earlier version is restored |
saved_report.exported | Somebody downloads it (format and row count) |
saved_report.scheduled | A schedule is added |
saved_report.schedule_changed | A schedule is changed or paused |
saved_report.unscheduled | A schedule is deleted |
Running a report only reads and is not an audit event. Every saved version is also kept in the report's History.
How it interacts with other modules
- Customers: row access by customer follows the customer's assigned
salesperson and
customer.read_all, the same rule the customer and invoice lists use. - Apps: switching an app off hides its sources and fields; switching it on brings them back, with the reports that use them.
- Preferences: numbers, dates and amounts on screen and in the PDF follow each reader's (or, for scheduled files, the company's) preferences. CSV holds plain numbers and ISO dates.
- Email and notifications: scheduled delivery uses the company's email connection and the notification bell.
- Demo company: the demo installs five shared reports from the templates, once.