TreatNonExistingSeries: Boolean;
The TreatNonExistingSeries property determines whether validation filter should be executed for non-existing possible series.
Non-existing possible series are the series obtained by calculating the difference between Cartesian product of all attributes of the time series database and existing series.
Available values:
True. The validation is executed for non-existing series too. On saving the exceptions for the series, that are not present in database, the new series are created and are marked as deleted. Also, the speed of validation calculation is dropped.
False. Default value. The validation is executed only for existing series.
Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier that contains the VALID_FILTER validation rule.
It is also necessary to add links to the Metabase, Ms system assemblies.
Sub UserProc;
Var
Mb: IMetabase;
RubrDescr: IMetabaseObjectDescriptor;
Valid: IValidationFilter;
Begin
Mb := MetabaseClass.Active;
RubrDescr := Mb.ItemById("OBJ_RUBRICATOR");
Valid := Mb.ItemByIdNamespace("VALID_FILTER", RubrDescr.Key).Edit As IValidationFilter;
Valid.TreatNonExistingSeries := True;
(Valid As IMetabaseObject).Save;
End Sub UserProc;
After executing the example validation filter is calculated for non-existing possible series.
See also: