Breadcrumbs

SI.EXPANDBUDGETRANGE

Overview

The SI.EXPANDBUDGETRANGE function returns the Budget ID values as defined within Sage Intacct.

Syntax

=SI.EXPANDBUDGETRANGE(
    ConnectionName, 
    Budget, 
    DefaultBudget, 
    IsConsolidated
)

Parameters

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

Budget

Optional

The Budget IDs to include in the results

DefaultBudget

Optional

TRUE - returns only the default budget matching the BudgetRange argument
FALSE (default) - returns all non-default budgets matching the BudgetRange argument

IsConsolidated

Optional

TRUE - returns only Consolidated budgets matching the BudgetRange argument
FALSE (default) - returns all non-consolidated budgets matching the BudgetRange argument, see Filtering Techniques for Velixo Functions

Examples

Given the following configuration within Sage Intacct:

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


(includes a total of 14 budgets, one of which is the default, and two are consolidated budgets)

Example 1 - all budgets

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

OR   

=SI.EXPANDBUDGETRANGE(
    "Sage"
)


Description
Returns all budgets defined in Sage Intacct

Result

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


Example 2 - default budgets

=SI.EXPANDBUDGETRANGE(
    "Sage",
    ,
    TRUE
)


Description
Returns all budgets marked in Sage Intacct as DEFAULT

Result

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


Example 3 - consolidated budgets

=SI.EXPANDBUDGETRANGE(
    "Sage",
    ,
    ,
    TRUE
)


Description
Returns all budgets marked in Sage Intacct as CONSOLIDATED

Result

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


Example 4 - budgets starting with certain characters

=SI.EXPANDBUDGETRANGE(
    "Sage",
    "Master?"
)


Description
Returns all budgets starting with the word "Master"

Result

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