« Forecast/en » : différence entre les versions

De Documentations Patas-monkey
Aller à la navigation Aller à la recherche
Liam (discussion | contributions)
Page créée avec « Please note, to bypass SQL injection protection, you should replace the word SELECT in your SQL query with #SEL# »
Liam (discussion | contributions)
Page créée avec « 900px {| class="wikitable" |- style="vertical-align:top;" | The left-hand setting will display the forecast in the native third-party menu. | The SQL query here selects the list of third-party data. The datec field here corresponds to the creation date of the third-party, but there are others that can be used in the table according to needs (e.g., update, etc.). The period from January 1st to December 31st and the monthly grouping will... »
Ligne 72 : Ligne 72 :
|}
|}


<div lang="fr" dir="ltr" class="mw-content-ltr">
Once the screen is validated, it is then possible to generate the periods according to the definitions. It will be possible to select whether or not to display the previous year's values.
Une fois l'écran validé, il est alors possible de générer les périodes selon ce qui a été défini. Il sera possible de sélectionner ou non l'affichage des valeurs de l'année précédente.
[[File:forecast-generate.png|900px]]
[[File:forecast-generate.png|900px]]
Le bouton [Modifier les valeurs] en bas du tableau permet de saisir les valeurs que l'on souhaite en terme de prévisionnel
The [Edit Values] button at the bottom of the table allows you to enter the desired values ​​for the forecast.
=== Saisie des valeurs prévisionnelles===
=== Entering Forecast Values===
Dans notre exemple, le nombre de nouveau tiers sera prévu de 2 chaque mois sauf en juillet aout.
In our example, the number of new periods will be forecasted at 2 each month except July and August.
Il est aussi possible de saisir des informations complémentaires pour mémoire pour le prévisionnel
It is also possible to enter additional information for the forecast as a reminder.
Au fur et à mesure de l'avancement il sera aussi possible de saisir un commentaire sur la période réalisée.
As the forecast progresses, it will also be possible to enter a comment on the period.
[[File:forecast-prevision.png|900px]]
[[File:forecast-prevision.png|900px]]
== Paramétrage d'affichage du Forecast==
== Forecast Display Settings==
</div>


<div lang="fr" dir="ltr" class="mw-content-ltr">
Once this entry is made, it will be possible to select the tables and graphs that you wish to view on the forecast page.
Une fois cette saisie réalisée, il sera possible de sélectionner les tableaux et les graphiques que l'on souhaite visualiser sur la page du forecast
</div>

Version du 28 mai 2025 à 14:49

This module allows you to define a forecast and track its objectives from Dolibarr.

Once the forecast is defined, you can track its progress using graphs.

Overview

The module allows you to define forecast values ​​over a period and track their evolution.

To do this, we define an SQL query to retrieve the actual values ​​and compare them to the forecast as time progresses.

It is finally possible to make a configurable monitoring page accessible (we select the tables and curves that we wish to display) from the Dolibarr menus.

Settings

The module is not configured from the native administration page, but from the forecast definition page in the patas-tools menu.

Settings Menu

The module is configured via a menu. The choices are as follows:
  • Forecast - menu title: Allows access to the forecasts as they were configured
  • New Forecast: Allows you to create a new forecast
  • List of Forecasts: Displays the list of defined forecasts and allows you to modify them
  • Import a Forecast: Allows you to retrieve a forecast exported in XML format

How it works

Creating a new Forecast

The screen for creating a new Forecast is divided into two parts.

The first part (on the right) allows you to define the forecast's presentation page:

  • its title
  • its position in a menu (or not)
  • access rights...

The second part corresponds to the forecast data elements.

  • an SQL query to track the actual targets you wish to monitor.
  • the date field over which you wish to perform the monitoring periods.
  • the type of period you wish to display (day, week, month, quarter, year).
  • the date range (start and end) corresponding to the period you wish to monitor.

It is therefore necessary to have a good understanding of the structure of Dolibarr tables (or to contact a person or company with this expertise).

Please note, to bypass SQL injection protection, you should replace the word SELECT in your SQL query with #SEL#

Once this screen is validated, we arrive at the forecast in draft state

Forecast Edit Screen

You can modify the values ​​previously entered and specify whether you want to display the values ​​from the previous period. The example below shows the creation of new groups.

The left-hand setting will display the forecast in the native third-party menu.

The SQL query here selects the list of third-party data. The datec field here corresponds to the creation date of the third-party, but there are others that can be used in the table according to needs (e.g., update, etc.). The period from January 1st to December 31st and the monthly grouping will allow for monthly tracking of the progress of objectives. It will be possible to display the values ​​from the previous year.

Once the screen is validated, it is then possible to generate the periods according to the definitions. It will be possible to select whether or not to display the previous year's values. The [Edit Values] button at the bottom of the table allows you to enter the desired values ​​for the forecast.

Entering Forecast Values

In our example, the number of new periods will be forecasted at 2 each month except July and August. It is also possible to enter additional information for the forecast as a reminder. As the forecast progresses, it will also be possible to enter a comment on the period.

Forecast Display Settings

Once this entry is made, it will be possible to select the tables and graphs that you wish to view on the forecast page.