Gets the account type for the current Account member or for a specified account. This function can be used in these types of rules:
HS.Account.AccountType("Account")
HS.Account.AccountType("")
where, Account is the name of a valid Account member.
You can use a blank string (" ") to apply this function to the current member only if you are using the function in the Sub Consolidate subroutine. Otherwise, specify an account when using this function.
The account type for the specified account.
In this example, if the account type for the Sales account is REVENUE, then statements between the If...Then and End If statements are executed.