SI.EXPANDDEPARTMENTRANGE

Created by Damien Zwillinger, Modified on Tue, 7 Nov, 2023 at 10:57 AM by Harry Lewis

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).

 

 

TABLE OF CONTENTS


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)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article