AUTOFORECAST

Script function: Calculates forecast data for future activities

Syntax

AUTOFORECAST()

Return code

"0" - Forecast data was successfully created

Comments

The Auto Forecast provides information about tasks that will run within a specified period of time, thereby providing a comprehensive view on future activities. Forecast data can be calculated manually in the UserInterface or with the scriptEgalement un type d'objet distinct dans l'Automation Engine. function AUTOFORECAST. Forecasts are then created for all active schedules and events.

This script function only calculates forecast data for the clientEnvironnement indépendant pour la création et l'exécution d'objets dans un système AE. Le nom d'un client est un nombre de quatre chiffres à saisir lors de la connexion d'un utilisateur au système AE. Les utilisateurs et leurs droits y sont aussi définis.Egalement un type d'objet distinct dans l'Automation Engine. in which it is used.

With the script statement :ON_ERROR you can determine the reaction to an error. As before, you can analyze the error with the script functions for error handling. The script will continue to be processed. It is also possible to cancel the processing of the script.

Please refer to the document "Auto Forecast" in the chapter UserInterface to get further details.

The script statement causes all open transactions of the script to be written to the AE database.

Examples

The following example shows how this script function can be used.

:SET &RET# = AUTOFORECAST()

See also:

Script element Description

FORECAST_OBJECT

Generates a forecast for the specified object

FORECAST_TASK

Creates a forecast for a specified task

Script Elements - Activate Objects

Simulation automatique

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function