IFactorObservationValues.Explanation

Syntax

Explanation: String;

Description

The Explanation property determines explanation of a time series value.

Example

Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier. The time series database must contain a time series with the 1 key.

Sub UserProc;
Var
    MB: IMetabase;
    RubDesc: IMetabaseObjectDescriptor;
    RubrIn: IRubricatorInstance;
    FactD: IRubricatorFactData;
    FactorObVal: IFactorObservationValues;
Begin
    MB := MetabaseClass.Active;
    RubDesc := MB.ItemById("OBJ_RUBRICATOR");
    RubrIn := RubDesc.Open(NullAs IRubricatorInstance;
    FactD := RubrIn.GetFactData(1);
    FactorObVal := RubrIn.GetObservationValues(FactD, DateTime.Parse("01.01.2002 00:00:00"), DictionaryGetDataOptions.Edit);
    FactorObVal.Explanation := "Explanation";
    FactorObVal.Save;
End Sub UserProc;

After executing the example time series data with the 1 key for January 1st 2002 is explained.

See also:

IFactorObservationValues