GetTopMemberOfValidCustom3Hierarchy

Returns the member ID of the top member of an account’s Custom 3 dimension hierarchy. In other words, this method returns the member ID of the Custom 3 member that has been defined as an account’s Custom3TopMember attribute.

Syntax

<HsvAccounts>.GetTopMemberOfValidCustom3Hierarchy lItemID, plTopMember

Argument

Description

lItemID

Long (ByVal). The member ID of the account.

plTopMember

Long. Returns the member ID of the top Custom 3 dimension member.

Example

See the Example for GetTopMemberOfValidCustom1Hierarchy, replacing that method with GetTopMemberOfValidCustom3Hierarchy.