Breadcrumbs

SI.EXPANDEMPLOYEERANGE

Overview

The SI.EXPANDEMPLOYEERANGE function returns an array containing one or more Sage Intacct Employee IDs (based on the specified range).

Syntax

=SI.EXPANDEMPLOYEERANGE(
    ConnectionName, 
    Range, 
    IncludeInactive
)

Arguments

The SI. EXPANDEMPLOYEERANGE 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.

Range

Optional

A range filtering specifying the Employee IDs to be displayed. See Filtering Velixo Functions.

IncludeInactive

Optional

TRUE (default) or FALSE

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

(available in version 2023.8 and higher)

Examples

Assuming the following configuration within Sage Intacct:

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


Example 1

=SI.EXPANDEMPLOYEERANGE(
    "Sage",
    "1005:1010;1014:1017"
)


Description

Returns the Employee IDs between 1005 and 1010 (inclusive) and between 1014 and 1017 (inclusive).

Results

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


Example 2

=SI.EXPANDEMPLOYEERANGE(
    "Sage",
    "1??0"
)


Description

Returns every Employee ID which has a 1 as the first digit and a zero as the fourth digit.

Results

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


Example 3

Assuming the following configuration within Sage Intacct:

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/5t-wtOqDNkcVaUSX3rbJCvcAHVaJN_Z2rw.png


=SI.EXPANDEMPLOYEERANGE(
    "Sage",
    "1060:1074",
    FALSE
)


Description

Returns every active Employee ID between 1060 and 1074.

Results

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


Inactive employ # 1073 is not included