BI SQL Editor

BI SQL Editor

by Contaura LLC · original work by GRAP, OCA
bi_sql_editor
$ 29.00

BI Views builder, based on Materialized or Normal SQL Views

1.0
Needs 1 more store app, added with it: Total $ 58.00

One purchase covers every version. Already bought it? Sign in.

BI SQL Editor

This module extends the functionality of reporting, to support creation of extra custom reports. It allows user to write a custom SQL request. (Generally, admin users)

Once written, a new model is generated, and user can map the selected field with tulio fields. Then user ends the process, creating new menu, action and graph view.

Technically, the module create SQL View (or materialized view, if option is checked). Materialized view duplicates datas, but request are fastest. If materialized view is enabled, this module will create a cron task to refresh the data).

By default, users member of ‘SQL Request / User’ can see all the views. You can specify extra groups that have the right to access to a specific view.

Warning

This module is intended for technician people in a company and for Tulio integrators.

It requires the user to know SQL syntax and Tulio models.

If you don’t have such skills, do not try to use this module specially on a production environment.

Use Cases

this module is interesting for the following use cases

  • You want to realize technical SQL requests, that Tulio framework doesn’t allow (For exemple, UNION with many SELECT) A typical use case is if you want to have Sale Orders and PoS Orders datas in a same table
  • You want to customize an Tulio report, removing some useless fields and adding some custom ones. In that case, you can simply select the fields of the original report (sale.report model for exemple), and add your custom fields
  • You have a lot of data, and classical SQL Views have very bad performance. In that case, MATERIALIZED VIEW will be a good solution to reduce display duration

Table of contents

Installation

  • You must put this module as server_wide_modules in your tulio configuration file or add ‘–load=bi_sql_editor’ if you start tulio in command line.

Configuration

To configure this module, you need to:

  • Go to Settings / Technical / Database Structure / SQL Views

  • tip your SQL request

  • Select the group(s) that could have access to the view

  • Click on the button ‘Clean and Check Request’

  • Once the sql request checked, the module analyses the column of the view, and propose field mapping. For each field, you can decide to create an index and set if it will be displayed on the pivot graph as a column, a row or a measure.

  • Click on the button ‘Create SQL View, Indexes and Models’. (this step could take a while, if view is materialized)

  • If it’s a MATERIALIZED view:

    • a cron task is created to refresh the view. You can so define the frequency of the refresh.
    • the size of view (and the indexes is displayed)
  • Finally, click on ‘Create UI’, to create new menu, action, graph view and search view.

Usage

To use this module, you need to:

  1. Go to ‘Reporting’ / ‘Custom Reports’
  2. Select the desired report
  • You can switch to ‘Pie’ chart or ‘Line Chart’ as any report,

Technical namebi_sql_editor
Module version12.0.1.3.1
Tulio versions1.0
CategoryProductivity
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsGRAP, OCA
LicenseAGPL-3
Open source: you may use, change and share this module under its license. The price covers the Tulio port, its testing on Tulio 1.0 and the download.
Requires (store) SQL Request Abstract
Requires (Tulio core)base
Lines of code1,167
Downloads0
Released12/06/2026
12.0.1.3.1 Tulio 1.0 · 12/06/2026