IDataAreaTransformationsGetter.GetterKey

Fore Syntax

GetterKey: Integer;

Fore.NET Syntax

GetterKey: integer;

Description

The GetterKey property returns unique key of the object getting collections of data transformation formulas.

Comments

This key is generated automatically within the slice. This key is used to find collections of transformation formulas in the requested data slice, for example, for dimensions, levels, sorting.

The property is read-only.

Fore Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier containing a table.

Add links to the Express, Metabase, Pivot system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Pivot: IPivot;
    SortItem: IPivotSortItem;
    Getter: IDataAreaTransformationsGetter;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Bind As IEaxAnalyzer;
    // Get table
    Pivot := Express.Pivot;
    // Get sorting
    SortItem := Pivot.Sorter.Item(0);
    Getter := SortItem As IDataAreaTransformationsGetter;
    // Display to the console object key to get collection of data transformation formulas
    Debug.WriteLine
    ("Object key to get collection of data transformation formulas" + Getter.GetterKey.ToString);
End Sub UserProc;

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.ForeSystem;
Imports Prognoz.Platform.Interop.Pivot;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    Pivot: IPivot;
    SortItem: IPivotSortItem;
    Getter: IDataAreaTransformationsGetter;
Begin
    // Get repository
    MB := Params.Metabase;
    // Get express report
    Express := MB.ItemById["EXPRESS"].Bind() As IEaxAnalyzer;
    // Get table
    Pivot := Express.Pivot;
    // Get sorting
    SortItem := Pivot.Sorter.Item[0];
    Getter := SortItem As IDataAreaTransformationsGetter;
    // Display to the console object key to get collection of data transformation formulas
    System.Diagnostics.Debug.WriteLine
    ("Object key to get collection of data transformation formulas" + Getter.GetterKey.ToString());
End Sub;

See also:

IDataAreaTransformationsGetter