SI.EXPANDPROJECTESTIMATERANGE
Created by Damien Zwillinger, Modified on Thu, 5 Dec at 11:41 AM by Harry Lewis
Applies to:
- Velixo NX
- Sage Intacct
The SI.EXPANDPROJECTESTIMATERANGE function returns an array containing one or more Sage Intacct Project Estimate IDs (based on the specified projects and range).
TABLE OF CONTENTS
- Syntax
- Parameters
- Examples
- Example 1 - all Estimate IDs for a specific project
- Example 2 - all Estimate IDs for projects starting with the same name
- Example 3 - all Estimate IDs for multiple projects
- Example 4 - all Estimate IDs with a specific status
- Example 5 - exclude Draft estimates from the results
- Example 6 - include only the Primary estimate for a project
- Troubleshooting
Syntax
SI.EXPANDPROJECTESTIMATERANGE(ConnectionName, ProjectRange, EstimateIdRange, Status, IsPrimary, EstimateType)
Parameters
The SI. EXPANDPROJECTESTIMATE RANGE function uses the following parameters (See Filtering Velixo Functions for how to include multiple values in a parameter):
Examples
For examples 1 through 3, we are assuming the following configuration within Sage Intacct:
Example 1 - all Estimate IDs for a specific project
=SI.EXPANDPROJECTETIMATERANGE("Sage","20-001")
Description
Returns all Estimate IDs used in the 20-001 project.
Results
(the ProjectRange parameter has been represented by a cell reference)
Example 2 - all Estimate IDs for projects starting with the same name
=SI.EXPANDPROJECTESTIMATERANGE("Sage","HAWK???")
Description
Returns all Estimate IDs for projects whose ID begins with HAWK
Results
Example 3 - all Estimate IDs for multiple projects
=SI.EXPANDPROJECTESTIMATERANGE("Sage","20-001;20-004")
Description
Returns all Estimate IDs used in the two specified projects.
Results
Example 4 - all Estimate IDs with a specific status
Assuming the following configuration within Sage Intacct:
=SI.EXPANDPROJECTESTIMATERANGE("Sage",,"FI")
Description
Returns all Estimate IDs with a status of either Finalized or Inactive
Results
For examples 5 and 6, we are assuming the following estimates for Project Test-01:
Example 5 - exclude Draft estimates from the results
=SI.EXPANDPROJECTESTIMATERANGE(Connection,"Test-01",,,,"*;-draft")
Description
Returns the non-draft Estimate IDs for project Test-01.
Results
(the ProjectRange parameter has been represented by a cell reference)
Note: If an estimate is not assigned an Estimate Type, it will be filtered out when Draft types are filtered out. |
Example 6 - include only the Primary estimate for a project
=SI.EXPANDPROJECTESTIMATERANGE(Connection,"Test-01",,,TRUE)
Description
Returns the primary Estimate ID for project Test-01.
Results
(the ProjectRange parameter has been represented by a cell reference)
Troubleshooting
When using the EstimateType parameter, if either:
- the filter specified in the parameter eliminates all possible records OR
- there is an invalid type specified in the parameter
the ExpandProjectEstimateRange function will return #VALUE!
(all possible records eliminated)
(filter includes an invalid type)
along with the message:
No 'Estimate type' matches requested value or range
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article