Share via


DimensionHierarchy::getSingleAttributeHierarchies Method

Get a collection of hierarchies that contain a hierarchy for each selected dimension attribute.

Syntax

server public static Map getSingleAttributeHierarchies([DimensionEnumeration _dimensionAttributeSetId])

Run On

Server

Parameters

Return Value

Type: Map Class
A map that contains the dimension attribute and hierarchy information.

Remarks

The map key is an integer that has valid values of 1, 2, and 3. The map value is another map for the first two values, and a list for the third. The first map holds the DimensionAttribute table buffers. The second map holds the hierarchies, each of which has a single level. For the both these maps, the map key is the record ID of the DimensionAttribute record. For the first map, the map value is the corresponding DimensionAttribute table buffer. For the second map, the map value is the record ID of the DimensionHierarchy record. The list contains the ID of the dimension attribute record in ascending dimension name order. Note that the hierarchies do not have an associated constraint tree. The dimension attribute for the main account is excluded.

See Also

Reference

DimensionHierarchy Table