oplan_48Rules

Nach oben  Vorige Seite  Nächste Seite

Rules can be defined for each field.

A rule has the following form:

IF field contents EQUALS value

THEN reload the complete interface configuration from configuration file.

Info

When using multiple configurations, we recommend defining one configuration file as a master. Perform all the general changes in this master first of all (e.g. directory settings, units, data format). Subsequently, copy the master configuration into a second file, open this via the configurator's File menu and modify the field definitions accordingly.

When initializing the interface, the field definitions are read from a configuration file (the default is PPS.INI). At the same time, the definitions are now checked for rules. The configuration files specified in the rules (e.g. PPS-R1.INI) are then also loaded and the field definitions these contain are cached.

Import

When importing the data via the interface, the field contents of the import file are checked for any matches with rules. If a match is found, the import of the data record is aborted and the field definitions are loaded from the specified configuration file (the complete configuration file is loaded). Subsequently, the import of the data record is repeated with the reloaded field definitions.

Export

Prior to exporting a data record, the field contents of the database are checked for matches with rules.

If a match is found, the field definitions are reloaded from the specified configuration file (the complete configuration file is loaded). Subsequently, the data record is exported with the reloaded field definitions.

Info

In each case, the configuration file is reloaded only for one data record. If the data record is transferred, the old configuration is restored.

Warn

If you change the configuration by conditions and thus change the meaning or the contents of the columns, turn off the header for the export file.