GetSymbolBalanceType
Use this function to return the balance type of the specified symbol. The balance type is returned as a string. Review the following table for a summary of possible return values and their corresponding status.
Return Value | Description |
---|---|
CREDIT | The symbol has a credit balance type. |
DEBIT | The symbol has a debit balance type. |
NEITHER | The symbol has neither a credit or debit balance type. |
Note: Credit and Debit is only used for the Accounts dimension and indicate whether the account is a credit account or a debit account. All other dimensions use Neither.
Syntax
GetSymbolBalanceType("dimension", "symName")
where:
- dimension is the name of the dimension that contains the symbol.
- symName is the name of the symbol whose balance type is to be retrieved.
Syntax example
Set Variable symBalanceType = GetSymbolBalanceType("ACCOUNTS", "Trial_Balance")