Pinetek Insight generates PDF reports from your production data, automatically at run end, on a schedule, or on demand, and can send them by e-mail. Report management requires the Admin role and is found under System → Reports.
E-mail dispatch requires configured SMTP settings (chapter 9.4). Reports are generated in the system language (chapter 9.1).
| Element | Purpose |
|---|---|
| Template | A report definition: type, trigger, filters, recipients and an ordered list of sections |
| Block | A reusable content element (HTML). Types: Header, Footer, Section |
| Common Layout | The shared header/footer used by all templates unless overridden |
A template is assembled from blocks; generated PDFs are archived per template.
System → Reports → Templates lists all templates with type, trigger, recipients, e-mail flag, active flag and last-sent time. From the list you can Generate / Download PDF, send a test e-mail, edit, duplicate, activate/deactivate or delete a template (deleting also removes its archived PDF files). Templates marked system are predefined and cannot be edited or deleted.
There are two report types:
New Report opens the Report Builder:
System → Reports → Blocks manages the reusable content elements. Each block has a name, description, type (Header, Footer, Section) and HTML content with Jinja2 template variables (8.6).
System → Reports → Layout defines the shared header and footer HTML used by all templates that do not override it. Edit, Preview, or Reset to default. A table of the available template variables is shown in the editor.
Typical use: put your company logo and report title in the common header once; every report uses it automatically.
Block HTML is rendered with Jinja2. The most important context variables:
| Variable | Content |
|---|---|
runs | List of the production runs in scope, with per-run OEE fields |
runs_by_product / runs_by_program | The same data grouped and aggregated per product / program |
oee_summary | Weighted OEE totals for the whole scope (availability, performance, quality, OEE, quantities) |
reasons | Downtime reasons with durations |
charts | Pre-rendered charts (embedded images) |
generated_at | Generation timestamp |
filter_* | The active filters (period, product, program) |
t | Translation dictionary: write {{ t.oee }}, {{ t.availability }} etc. so one block renders correctly in any report language |
The full, current variable list is displayed inside the Report Builder and the Layout editor (Available Template Variables).