GetTopMemberOfValidCustom4Hierarchy

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

Syntax

<HsvAccounts>.GetTopMemberOfValidCustom4Hierarchy lItemID, plTopMember

Argument

Description

lItemID

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

plTopMember

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

Example

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