Overview
The BC.EXPANDACCOUNTRANGE function returns all general ledger account codes matching search criteria.
Syntax
=BC.EXPANDACCOUNTRANGE(
ConnectionName,
Account,
AccountCategory,
AccountSubcategory,
AccountType,
IncludeBlocked
)
Arguments
|
Argument |
Required/Optional |
Description |
|
|
Optional |
Provide one of the following values:
OR Omit the argument to return results for all compatible connections with default aggregation settings. |
|
|
Optional |
The code of the general ledger account, a spill range, or a cell range containing account codes. For example, Supports Velixo range expressions for specifying values. |
|
|
Optional |
One or more account category names, visible in the Business Central Chart of Accounts. The following values are accepted: Supports Velixo range expressions for specifying values. |
|
|
Optional |
One or more account subcategory names. Use the BC.EXPANDACCOUNTSUBCATEGORYRANGE function to retrieve available values. Supports Velixo range expressions for specifying values. |
|
|
Optional |
A string of characters (case-insensitive) corresponding to account types for which results will be returned. Available values:
|
|
|
Optional |
To exclude blocked accounts from your result, set this argument |