SI.EXPANDLOCATIONRANGE
Overview
The SI.EXPANDLOCATIONRANGE function returns an array containing one or more Sage Intacct Location IDs (based on the specified range).
Syntax
=SI.EXPANDLOCATIONRANGE(
ConnectionName,
Range,
Status
)
Arguments
The SI. EXPANDLOCATIONRANGE function uses the following arguments:
Argument | Required/ Optional | Description |
| Required | The name of the connection as configured in the Connection Manager |
| Optional | A range filtering specifying the Location IDs to be displayed. See Filtering Velixo Functions. |
| Optional | Determines which entities are included in the results.
By default, all records with any status are included in the results. |
Examples
Assuming the following configuration within Sage Intacct:

Example 1
=SI.EXPANDLOCATIONRANGE(
"Sage"
)
or
=SI.EXPANDLOCATIONRANGE(
"Sage",
"*"
)
Description
Returns all Location IDs.
Results

Example 2
=SI.EXPANDLOCATIONRANGE(
"Sage",
"9??"
)
Description
Returns all of the three-digit Location IDs with start with the digit 9.
Results

Example 3
=SI.EXPANDLOCATIONRANGE(
"Sage",
"100:300;900:999"
)
Description
Returns all Location IDs between 100 and 300 (inclusive) and between 900 and 999 (inclusive).
Results

Example 4
Assuming the following configuration within Sage Intacct:

=SI.EXPANDLOCATIONRANGE(
"Sage",
,
"A"
)
Description
Returns all active Location IDs defined within Sage Intacct.
Results

Inactive location 900 is not included