Skip to main content
Skip table of contents

SI.EXPANDDEPARTMENTRANGE

Applies to:

  • Velixo NX
  • Sage Intacct


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


Syntax

SI.EXPANDDEPARTMENTRANGE(ConnectionName, Range, Status)

Parameters


The SI. EXPANDDEPARTMENT RANGE function uses the following parameters:


Parameter

Required/ Optional

Description

ConnectionName

Required

The name of the connection as configured in the Connection Manager

Range

Optional

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

Status

Optional

An indicator of which status(es) of departments to include in the results.

"A" - active

"I" - inactive

"N" - Active non-posting

(a combination may be used - e.g., "AN" or "NI")

(available in version 2023.8 and higher)

Examples

Assuming the following configuration within Sage Intacct:

Example 1

=SI.EXPANDDEPARTMENTRANGE("Sage")
or
=SI.EXPANDDEPARTMENTRANGE("Sage","*")

Description

Returns all Department IDs.

Results

Example 2

=SI.EXPANDDEPARTMENTRANGE("Sage","100:300")

Description

Returns all Department IDs between 100 and 300 (inclusive).

Results

Example 3

Assuming the following configuration within Sage Intacct:

=SI.EXPANDDEPARTMENTRANGE("Sage",,"AN")

Description

Returns all Active or Active non-posting Department IDs defined in Sage Intacct:

Results

(note that the InactiveDepartment is not included)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.