Dimension UpdateHierarchies
Attribute-driven hierarchies are not updated automatically with every single attribute value change. This function should be called after all attribute values have been written. If it is not called, the hierarchy is not changed.
Request
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="7" Class="Dimension" Method="UpdateHierarchies">
<Alea:Dimension Name="Org"/>
</Alea:Request>
</Alea:Document>
UpdateHierarchies
can be called for a
single dimension at a time.
The function is returned after the request has been processed.
Answer if an attribute hierarchy exists
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="001">
<Alea:Return>
<Alea:Dimension Name="PRODUCTS">
<Alea:DimensionTemplate Name="PRODUCTS">
<Alea:DeleteHierarchy Name="GoodMon"/>
</Alea:DimensionTemplate>
<Alea:Hierarchy Name="GoodMon" SourceHierarchy="PRODUCTS"/>
<Alea:Hierarchy Name="GoodMon"/>
</Alea:Dimension>
</Alea:Return>
</Alea:Request>
</Alea:Document>
Answer if no attribute hierarchy exists
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="001">
<Alea:Return>
<Alea:Dimension Name="YEARS"/>
</Alea:Return>
</Alea:Request>
</Alea:Document>
Error
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="001">
<Alea:Return>
<Alea:Dimension Name="YEARS2"/>
</Alea:Return>
<Alea:Error ErrorID="3"/>
</Alea:Request>
</Alea:Document>