AddExistingElement(Original: IDimInstance;
CD: IDimSelection;
Element: Integer;
Name: String);
AddExistingElement(Original: Prognoz.Platform.Interop.Dimensions.IDimInstance;
CD: Prognoz.Platform.Interop.Dimensions.IDimSelection;
Element: uinteger;
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: