Overview
SI.REPORTDEFINITION returns the definition of a Sage Intacct custom or interactive report. Use it to find the names of the report's run-time filters before you pass their values to SI.REPORT in its Arguments argument.
The function works with custom and interactive reports only. Standard and stored reports have no definition to return.
SI.REPORTDEFINITION calculates in Excel only.
Requirements
-
The report exists in Sage Intacct, and your Sage Intacct user is allowed to run it.
Syntax
=SI.REPORTDEFINITION(
ConnectionName,
ReportType,
ReportName
)
Arguments
|
Argument |
Required / Optional |
Description |
|---|---|---|
|
|
Optional |
The name of one Sage Intacct connection, as defined in Connection Manager. If you omit it, the function runs on all your Sage Intacct connections and returns their results side by side, each under a row with the connection's name. See Multiple connections per formula. |
|
|
Required |
The type of report. Accepted values: The value must match how the report was built, as the Report type column of SI.EXPANDREPORTRANGE shows it. Any other value, such as |
|
|
Required |
The report name, exactly as it appears in Sage Intacct. The name is case-sensitive. |
Output
The function returns four columns, Type, ID, Label and Function, and one row for each part of the report definition. The Type column says what the row describes:
|
Type |
What the row describes |
|---|---|
|
Object |
The Sage Intacct object the report reads. |
|
Report type |
How a custom report lays out its data. ID is |
|
Column |
A report column. ID is the column's Sage Intacct path, and Label is its heading. |
|
Group |
A grouping level. ID is the grouped field's path. Label is empty. |
|
Aggregate |
A function the report calculates for a column in each group, such as a sum. ID is the column's path, Label describes the result, such as |
|
Grand total |
A grand total the report calculates for a column. ID is the grand total's Sage Intacct path, Label is the name of its total row, such as |
|
Argument |
A run-time filter. ID is the name to put in the first column of the |
The definition doesn't say whether a filter takes a date or a date range. Check the report's filters in Sage Intacct, and add the date suffixes described in SI.REPORT.
Example
=SI.REPORTDEFINITION("Intacct", "custom", "AP Aging by Project")
Description: returns the definition of the custom report AP Aging by Project: its columns, groupings, aggregates and run-time filters, such as ASOFDATE.
Result: one row per part of the definition, as described in the Output section, with ASOFDATE in the ID column of an Argument row.
Troubleshooting
-
The 'name' report does not exist. Check the spelling and letter case of
ReportName, and check thatReportTypematches the report. -
'ReportType' has invalid value 'value': The value should match one of the following values: custom,interactive. Use
customorinteractive. Standard and stored reports have no definition. -
The definition of the name report could not be read. Sage Intacct returned the definition in a form that Velixo doesn't recognize. Contact Velixo support, and give the report name.
Related functions
-
SI.REPORT: returns the contents of a Sage Intacct report.
-
SI.EXPANDREPORTRANGE: lists the reports that SI.REPORT reads.