IEaxDataAreaHierarchies.AddExistingElement

Syntax

AddExistingElement(Original: IDimInstance;
                  CD: IDimSelection;
                  Element: Integer;
                  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.

Example

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

See also:

IEaxDataAreaHierarchies