TM1 Function for TI, HierarchyElementComponentDeleteDirect

Deletes a component (child) from a consolidated element in a specific hierarchy in a dimension.

What is the HierarchyElementComponentDeleteDirect function?

ā€‹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.

Where can the HierarchyElementComponentDeleteDirect function be used?

TurboIntegrator

What is the syntax for HierarchyElementComponentDeleteDirect?

HierarchyElementComponentDeleteDirect(DimName,Ā HierName,Ā ConsolElName,Ā ElName)ā€‹;

ā€‹DimNameĀ = Dimension Nameā€‹
HierNameĀ = Hierarchy Nameā€‹
ElNameĀ = Element Nameā€‹
ConsolElNameĀ = Consolidated Element Name

A demonstration on how to use HierarchyElementComponentDeleteDirect

DeleteĀ NetherlandsĀ as a child ofĀ BeneluxĀ in theĀ Western EuropeĀ hierarchy from theĀ Sales RegionĀ dimension