Breadcrumbs

SI.EXPANDACCOUNTRANGE

Overview

The SI.EXPANDACCOUNTRANGE function returns all general ledger account numbers within the specified range.

Syntax

=SI.EXPANDACCOUNTRANGE(
    ConnectionName, 
    Account, 
    StatisticalAccounts, 
    IncludeInactive, 
    QuickStartCategory
)

Arguments

The SI.EXPANDACCOUNTRANGE function uses the following arguments:


Argument

Required/Optional

Description

ConnectionName

Optional

Provide one of the following values:

OR

Omit the argument to return results for all compatible connections with default aggregation settings.

Account

Optional

The range of accounts to include in the results.

StatisticalAccounts

Optional

Determines whether or not statistical accounts are included in the results.

Possible values:

1 - Include statistical accounts (default)

2 - Exclude statistical accounts

3 - Include Only statistical account

InclueInactive

Optional

TRUE (default) or FALSE

Determines whether or not the results include entries with a Status field set to Inactive.

QuickStartCategory

Optional

Filters the result set. Only those accounts belonging to the specified Quick Start account category will be displayed.

Examples

Example #1

=SI.EXPANDACCOUNTRANGE(
    "Sage", 
    "10000:11000",
    "1"
)


Description

Returns all active general ledger account numbers (including statistical accounts) between account 10000 and account 11000 (inclusive).

Result

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/0jqzwZZ5SBlW4yaAn5O0qMMnqqmWpKxR7Q.png

Example #2

=SI.EXPANDACCOUNTRANGE(
    "Sage", 
    "10010:12600;-10400", 
    "2"
)


Description

Returns all active general ledger account numbers (between 10010 and 12600) except account 10400 and statistical accounts.

Results

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/Kl3DtuRCzEBiv0e5j_5qja34rLMR2QBG5w.png

Example #3

=SI.EXPANDACCOUNTRANGE(
    "Sage",
    ,
    ,
    FALSE
)

Assuming this account configuration within Sage Intacct:

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/VFr3RYf1B6CJNM7gdTgV5_2Ksju3rh0NDg.png


Description

Returns all active general ledger account numbers defined within Sage Intacct (inactive account 10011 will be excluded).

Results

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/SIYXlLfX3aHm1jDgzsRL9wsi_-OttUYTHA.png

Inactive account 10011 is not included