Breadcrumbs

SI.EXPANDCLASSRANGE

Overview

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

Syntax

=SI.EXPANDCLASSRANGE(
    ConnectionName, 
    Range, 
    Status
)

Arguments

The SI. EXPANDCLASSRANGE 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 Class IDs to be displayed. See Filtering Velixo Functions

Status

Optional

Determines whether to limit the results based on the contents of the Status field values


Options:

"A" - active

"N" - active, non-posting

"I" - inactive

blank (empty value) - include all statuses


(available in version 2023.9 and higher)

Examples

Example 1

=SI.EXPANDCLASSRANGE(
    "Sage",
    "*"
)


Description

Returns the Class ID for every class defined in the specified connection:


Results

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/7MkE0RZeGNBcHMUAqG_2U97fRta-Y_fsyQ.png


Example 2

=SI.EXPANDCLASSRANGE(
    "Sage",
    "*;-200"
)


Description

Returns every Class ID *except* for Class 200

Results

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


Example 3

=SI.EXPANDCLASSRANGE(
    "Sage",
    "100:500"
)


Description

Returns every Class ID between 100 and 500 (inclusive).

Results

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


Example 4

Assuming the following configuration within Sage Intacct:


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


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


Description

Returns every active Class ID defined in Sage Intacct.

Results

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


Inactive class 400 is not included