Dependencies: Boolean;
The Dependencies property determines whether data based on indicator dependencies needs to be extracted or saved.
Available values:
True. Extract or save data based on indicator dependencies.
False. Do not extract or save data based on indicator dependencies.
Extracted data about dependencies can be obtained by means of the IRubricatorExecuteResult.Dependencies property.
Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.
Sub UserProc;
Var
Mb: IMetabase;
Inst: IRubricatorInstance;
Cub: ICubeInstance;
Dest: ICubeInstanceDestination;
Exec: ICubeInstanceDestinationExecutor;
Matr, MatRes: IMatrix;
FactorIO: IRubricatorFactorIO;
ExeRes: IRubricatorExecuteResult;
CubeExeRes: ICubeExecuteResult;
Begin
Mb := MetabaseClass.Active;
Inst := Mb.ItemById("OBJ_RUBRICATOR").Open(Null) As IRubricatorInstance;
Cub := Inst As ICubeInstance;
Dest := Cub.Destinations.DefaultDestination;
Exec := Dest.CreateExecutor;
FactorIO := Exec As IRubricatorFactorIO;
FactorIO.ValidationValues := False;
FactorIO.MultipleFactors := False;
FactorIO.Dependencies := True;
Exec.PrepareExecute(Null);
Exec.PerformExecute;
Matr := Exec.Matrix;
CubeExeRes := CubeClass.ExecuteResult(Matr);
Debug.WriteLine(CubeExeRes.Destination.Name);
ExeRes := CubeExeRes As IRubricatorExecuteResult;
MatRes := ExeRes.Dependencies;
End Sub UserProc;
After executing the example the MatRes variable contains a matrix that contains data about indicator dependencies in the time series database.
See also: