GetCellLevelAccountType

Returns the account type of a cell, given the member IDs of the cell’s Account and Custom dimension members. A cell’s account type can differ from that of the cell’s Account dimension member in cases where the SwitchSignForFlow attribute or the SwitchSignForFlow attribute, or both, is enabled for one or more of the cell’s Custom dimension members.

Tip:

HsvAccounts.GetAccountType returns an Account dimension member’s account type. For details, see GetAccountType.

Syntax

<HsvMetadata>.GetCellLevelAccountType lAccount, lCustom1, lCustom2, lCustom3, lCustom4, psAccountType

Argument

Description

lAccount

Long (ByVal). The member ID of the Account dimension member.

lCustom1

Long (ByVal). The member ID of the Custom 1 dimension member.

lCustom2

Long (ByVal). The member ID of the Custom 2 dimension member.

lCustom3

Long (ByVal). The member ID of the Custom 3 dimension member.

lCustom4

Long (ByVal). The member ID of the Custom 4 dimension member.

psAccountType

Integer. Returns the cell’s account type. For a list of constants that represent the valid return values, see Account Type Constants.