|
|
|
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.
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. ImportWhen 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. ExportPrior 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.
|