About parameters

A formula may include parameters that reference the data you want use in calculating the values in the report.

There are two types of parameters: predefined parameters and links to specific rows, columns, or individual report cells.

Predefined parameters

The predefined parameters are application-specific and refer to the report parameters that you specify in other ARM windows, such as the Report definitions (CS206000) window or the Row sets (CS206010 window. For example, the @StartPeriod parameter refers to the value specified in the Start period field in the Report definitions (CS206000) window, or the @BaseRowCode parameter refers to the value specified in the Base row field in the Row sets (CS206010 window. All available predefined parameters are listed in the Data source editor dialog box.

The table below provides the list of the predefined parameters with their descriptions.

ParameterDescription
@AccountCode

The code of the current account (if the Account option is selected in the Expand field in the Data source editor).

The code of the current subaccount (if the Sub option is selected in the Expand field in the Data source editor).

@AccountDescr

The description of the current account (if the Account option is selected in the Expand field in the Data source editor).

The description of the current subaccount (if the Sub option is selected in the Expand field in the Data source editor).

@BaseRowCodeThe row code specified in the selected row in the Base row column in the Row sets (CS206010 window. This row code is referred to by the @BaseRowCode parameter, which you use in the formula in the Value field in the Column sets (CS206020) window to retrieve the value specified in this row for computing another value in the report.
@BookCodeThe code of the ledger whose data is used in the report. Refers to the value in the Ledger field in the Default data source section section.
@BranchNameThe name of the branch that is used in the report.
@ColumnCodeThe code of the current column in the report.
@ColumnIndexThe index of the current column in the report.
@ColumnSetCodeThe code of the current column set in the report.
@ColumnTextThe description of the current column in the report.
@EndAccountThe last account in the range of accounts used in the report. Refers to the value in the Start account field in the Default data source section section.
@EndAccountGroup

The last account group in the range of account groups used in the report. Refers to the value in the End account field in the Default data source section section.

Note: This parameter is valid only in the reports of the PM type.

@EndBranchThe last branch in the range of branches used in the report. Refers to the value in the End branch field in the Default data source section section.
@EndPeriodThe end period of the report. Refers to the value in the End period field in the Default data source section section.
@EndProject

The last project in the range of projects used in the report. Refers to the value in the End project field in the Default data source section section.

Note: This parameter is valid only in the reports of the PM type.

@EndProjectTask

The last project tasks in the range of the project tasks used in the report. Refers to the value in the End task field in the Default data source section section.

Note: This parameter is valid only in the reports of the PM type.

@EndSubThe last subaccount in the range of subaccounts used in the report. Refers to the value in the End sub field in the Default data source section section.
@StartAccountThe first account in the range of accounts used in the report. Refers to the value in the Start account field in the Default data source section section.
@StartAccountGroup

The first account group in the range of account groups used in the report. Refers to the value in the Start account field in the Default data source section section.

Note: This parameter is valid only in the reports of the PM type.

@StartBranchThe first branch in the range of branches used in the report. Refers to the value in the Start branch field in the Default data source section section.
@StartPeriodThe start period of the report. Refers to the value in the Start period field in the Default data source section section.
@StartProjectThe first project in the range of projects used in the report. Refers to the value in the Start project field in the Default data source section section. Note: This parameter is valid only in the reports of the PM type.
@StartProjectTaskThe first project tasks in the range of the project tasks used in the report. Refers to the value in the Start task field in the Default data source section section. Note: This parameter is valid only in the reports of the PM type.
@StartSubThe first subaccount in the range of subaccounts used in the report. Refers to the value in the Start sub field in the Default data source section section.
@ReportDescrReport description that the system prints in the column set header.
@RowCodeThe code of the current row in the report.
@RowIndexThe index of the current row in the report.
@RowSetCodeThe code of the current row set in the report.
@RowTextThe description of the current row in the report.
@UnitCodeThe code of the current unit in the report.
@UnitSetCodeThe code of the current unit set in the report.
@UnitTextThe description of the current unit in the report.

You can use the links to the rows in the formulas to define the parameters. The links to the rows are used when a formula is defined for the row to calculate its values, and the referenced rows are the parameters used in these calculations. For example, when a row is a summarised value of the other two rows, the formula includes the references to the rows to be summarised.

You can use the links to the rows in the formulas designed for the calculation of row and column values. However, we do not recommend that you reference the rows in the formulas defined for columns because of the self-references in such formulas. Self-references can be the source of circular reference errors in the formulas.

The links to the rows have the following format: row_code, where row_code is the code of the referenced row (for example, 00112 ).

You can use the links to the columns in the formulas to define the parameters. Use the links to the columns when a formula is defined for the column to calculate its values, and the referenced columns are the parameters used in these calculations. For example, when a column is a summarised value of the other two columns, the formula includes the references to the columns to be summarised. You can use the links to the columns in the formulas designed for calculation of column and row values. Again, avoid referencing the columns in the formulas defined for rows because self-references in such formula can cause circular reference errors.

To reference a column, replace its code into the formula as a parameter.

You can use the links to the report cells in the formulas to define the parameters. You use these links when a formula is defined for the column or row to calculate its values, and the referenced cells are the parameters used in these calculations.

To reference a cell, substitute its code into the formula as a parameter.

The self-links in the formulas can be used in very few cases; they typically are avoided to escape the situations when a self-link results in circular reference error. An example of a useful self-link is the case when some operations must be performed with the values selected directly from the data source, such as calculations of charges for a certain period. To use a self-link in a formula, insert a link to the row or column in the formula defined for this row or column.

Parent topic

About formulas

Related concepts

About functions

About data filtering criteria

Last modified February 19, 2026