DimensionHierarchy::addLevel Method
Adds the dimension attribute to the hierarchy at the specified level.
Syntax
client server public static boolean addLevel(
RecId _hierarchyId,
RecId _dimensionAttributeId,
int _level)
Run On
Called
Parameters
- _hierarchyId
Type: RecId Extended Data Type
The ID of the DimensionHierarchy record.
- _dimensionAttributeId
Type: RecId Extended Data Type
The ID of the DimensionAttribute record.
- _level
Type: int
The value of the new hierarchy level.
Return Value
Type: boolean
true if the level was added; otherwise, false;
Remarks
This is a low-level method that performs minimal validation. When you modify a hierarchy of the tree type, use the addLevel method of the DimensionTree class instead.