EphemeralFacts: Boolean;
The EphemeralFacts property determines whether to save new factors with indicator of deletion.
EphemeralFacts can be used to save validation calculation data, if it was calculated for non-existing, but possible factors.
Available values:
True. New factors are created with indicator of deletion. Values of the IRubricatorFactorStorage.CurrentRevision property must be indicated.
False. Default value. New factors are created without indicator of deletion.
Executing the example requires the FactorStorage object (the IRubricatorFactorStorage type), that saves factor data. Input parameters of the procedure:
Mat. Matrix with validation calculation results.
Rev. Revision, on which data must be saved.
Also, add links to the Cubes, Matrix system assemblies.
Sub UserProc(Mat: IMatrix; Rev: IRubricatorRevision);
Var
FactorStorage: IRubricatorFactorStorage;
Storage: ICubeInstanceStorage;
Begin
FactorStorage.CurrentRevision := Rev;
FactorStorage.FactDataMatrix := Mat;
FactorStorage.ValidationValues := True;
FactorStorage.EphemeralFacts := True;
Storage := FactorStorage.AsCubeStorage;
Storage.SaveMatrix(Mat, 1);
End Sub UserProc;
After executing the example validation calculation data is saved, new factors are created with indicator of deletion.
See also: