IsDeleted: Boolean;
The IsDeleted property determines whether time series is deleted. Time series is removed when the value is True and not removed when the value is False.
Executing the example requires a time series database with the OBJ_RUBRICATOR identifier. This database contains a factor with the 94173 key.
Sub Main;
Var
MB: IMetabase;
RubrIn: IRubricatorInstance;
FactD: IRubricatorFactData;
RubRev: IRubricatorRevision;
Begin
MB := MetabaseClass.Active;
RubrIn := MB.ItemById("OBJ_RUBRICATOR").Open(Null) As IRubricatorInstance;
RubRev := RubrIn.OpenRevision("Test_Revision");
FactD := RubrIn.GetFactData(94173, DictionaryGetDataOptions.Edit);
FactD.IsDeleted := True;
FactD.Save;
End Sub Main;
After executing the example the factor with the 94173 key is deleted.
See also: