DefaultParent

Gets the default parent for the current member or a specified member. This function can be used in these types of rules:

  • Calculation

  • Translation

  • Consolidation

  • Allocation

Syntax

HS.<Object>.DefaultParent("Member")
HS.<Object>.DefaultParent("")
HS.Custom("Label").DefaultParent("Member")
HS.Custom("Label").DefaultParent("")

where Member is a valid dimension member.

Note:

Use a blank string (" ") to apply this function to the current member.

Table 11-15 Syntax for DefaultParent Function

Parameter Description

<Object>

One of these object keywords:

  • Account

  • Custom1...4

  • Custom(Custom Dimension Label)

  • Entity

  • Scenario

Member

Depending on the object selected, the name of a valid member of one of these dimensions:.

  • Account

  • Custom1...4

  • Custom

  • Entity

  • Scenario

Return Value

A string that contains the default parent for the member.