IEaxDataAreaHierarchies.AddExistingElement

Fore Syntax

AddExistingElement(Original: IDimInstance;
                  CD: IDimSelection;
                  Element: Integer;
                  Name: String);

Fore.NET Syntax

AddExistingElement(Original: Prognoz.Platform.Interop.Dimensions.IDimInstance;
                  CD: Prognoz.Platform.Interop.Dimensions.IDimSelection;
                  Element: uinteger;
                  Name: string);

Parameters

Original. Dimension where alternative hierarchy is placed

CD. Facts dimension.

Element. Alternative hierarchy element.

Name. Element name.

Description

The AddExistingElement method adds element from original hierarchy to facts dimension.

Comments

To get selection of elements added manually by user, use IEaxDataAreaHierarchies.AddedElementsSelection.

To apply accumulated changes in facts dimension to dimension with alternative hierarchy, use IEaxDataAreaHierarchies.PushChangesToDimInstance.

Fore and Fore.NET Examples

The method use is given in the example for IEaxDataAreaHierarchies.PushChangesToDimInstance.

See also:

IEaxDataAreaHierarchies