Deletes a component (child) from a consolidated element in a specific hierarchy in a dimension.
HierarchyElementComponentDeleteDirect deletes a component (child) from a consolidated element in a specific hierarchy in a dimension. This function is actioned immediately. To action this function until the process makes a commitment (e.g. at the end of executing the metadata tab), use HierarchyElementComponentDelete.
HierarchyElementComponentDeleteDirect(DimName, HierName, ConsolElName, ElName);
DimName = Dimension Name
HierName = Hierarchy Name
ElName = Element Name
ConsolElName = Consolidated Element Name
Delete Netherlands as a child of Benelux in the Western Europe hierarchy from the Sales Region dimension