AddExistingElement(Original: IDimInstance;
CD: IDimSelection;
Element: Integer;
Name: String);
Original. Dimension where alternative hierarchy is placed
CD. Facts dimension.
Element. Alternative hierarchy element.
Name. Element name.
The AddExistingElement method adds element from original hierarchy to facts dimension.
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.
The method use is given in the example for IEaxDataAreaHierarchies.PushChangesToDimInstance.
See also: