IsPermanent: Boolean;
The IsPermanent property returns whether data of a record is saved in database. True - a record is saved, False - a record is not saved.
Executing the example requires a time series database with the OBJ_FC identifier. This database includes am indicator with the 94000 key.
Add links to the Metabase, Rds, Cubes system assemblies.
Sub UserProc;
Var
MB: IMetabase;
RubrIn: IRubricatorInstance;
FactD: IRubricatorFactData;
MemberRecord: IMetaDataMemberRecord;
Begin
MB := MetabaseClass.Active;
RubrIn := MB.ItemById("OBJ_FC").Open(Null) As IRubricatorInstance;
FactD := RubrIn.GetFactData(94000);
MemberRecord := FactD.Record;
If MemberRecord.IsPermanent
Then Debug.WriteLine("Data saved");
Else Debug.WriteLine("Data not saved");
End If;
End Sub UserProc;
After executing the example the console window displays information about saving of indicator data.
See also: