ICPTopMember

Gets the ICP Top Member of the current Account dimension member or the specified account member. This function can be used in the these types of rules:

Syntax

HS.Account.ICPTopMember("AccountName")
HS.Account.ICPTopMember("")
HS.Account.ICPTopMember(Var1)

Note:

You can use a blank string (“ “) to apply this function to the current account only if you are using it in a sub consolidate routine.

Table 63. Syntax for ICPTopMember Function

Parameter

Description

AccountName

Name of a valid Account dimension member.

Var1

A VisualBasic variable.

Return Value

A string with the name of the ICP Top Member for the account.

Example

In this example, if the ICP Top Member of the Sales account is TotalProd, then statements between the If...Then and End If statements are executed.

If HS.Account.ICPTopMember("Sales") = "TotalProd" Then
...
End If