Returns a Boolean that indicates whether an account’s data is calculated by Financial Management or is manually entered. In other words, this method returns the value to which an account’s IsCalculated attribute has been set.
<HsvAccounts>.IsCalculated lItemID, pbIsCalculated
The following example tests whether the account specified in a combo box control is a calculated account. If so, any code placed in the If structure would be executed.
Dim cAccounts As HsvAccounts, cTreeInfo As IHsvTreeInfo
Dim lAccount as Long, sAcctLabel As String, bIsCalc As Boolean
Set cAccounts = m_cMetadata.Accounts
Set cTreeInfo = m_cMetadata.Accounts
sAcctLabel = comboAcct.Text
lAccount = cTreeInfo.GetItemID(sAcctLabel)
cAccounts.IsCalculated lAccount, bIsCalc
If bIsCalc = True Then
…
End If