DimensionHierarchy::isOnlyMainAccount Method

Determines whether the hierarchy contains only the main account.

Syntax

client server public static boolean isOnlyMainAccount(RecId _dimensionHierarchyId)

Run On

Called

Parameters

Return Value

Type: boolean
true if the hierarchy contains a single level that consists of the main account; otherwise, false.

Remarks

This method is used only by financial statement reporting. It simulates a previously existing check of the DimensionSetTable::findAccountDimensionCode value and was added to work with the new dimensions infrastructure.

See Also

Reference

DimensionHierarchy Table