Formulas /visma-net-erp/help/general-ledger/manage-analytical-reports/formulas section 2026-02-19T17:09:06+01:00 # Formulas About formulas /visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-formulas page Formulas are used to calculate the values to be displayed in the report rows and columns. 2026-02-19T17:09:06+01:00 # About formulas Formulas are used to calculate the values to be displayed in the report rows and columns. The formulas provide the possibility to use advanced calculations and data transformation functions if some values in the report rows and columns are calculated or depend on the data from other sources (such as rows, columns or individual cells included in the report). Formulas used in the analytical reports are much like the formulas used in Excel. You can define the parameters and construct a formula using operators and functions. You can select the parameters used in the formula from the list of predefined parameters or enter them into the formula. Related concepts [About parameters](/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-parameters/) [About functions](/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-functions/) About parameters /visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-parameters page A formula may include parameters that reference the data you want use in calculating the values in the report. 2026-02-19T17:09:06+01:00 # 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)](/visma-net-erp/help/general-ledger/general-ledger-windows/report-definitions-cs206000/) window or the [Row sets (CS206010](/visma-net-erp/help/general-ledger/general-ledger-windows/row-sets-cs206010/) window. For example, the @StartPeriod parameter refers to the value specified in the **Start period** field in the [Report definitions (CS206000)](/visma-net-erp/help/general-ledger/general-ledger-windows/report-definitions-cs206000/) window, or the @BaseRowCode parameter refers to the value specified in the **Base row** field in the [Row sets (CS206010](/visma-net-erp/help/general-ledger/general-ledger-windows/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.
Parameter Description
@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).

@BaseRowCode The 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.
@BookCode The 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.
@BranchName The name of the branch that is used in the report.
@ColumnCode The code of the current column in the report.
@ColumnIndex The index of the current column in the report.
@ColumnSetCode The code of the current column set in the report.
@ColumnText The description of the current column in the report.
@EndAccount The 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.

@EndBranch The 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.
@EndPeriod The 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.

@EndSub The 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.
@StartAccount The 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.

@StartBranch The 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.
@StartPeriod The start period of the report. Refers to the value in the Start period field in the Default data source section section.
@StartProject The 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.
@StartProjectTask The 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.
@StartSub The 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.
@ReportDescr Report description that the system prints in the column set header.
@RowCode The code of the current row in the report.
@RowIndex The index of the current row in the report.
@RowSetCode The code of the current row set in the report.
@RowText The description of the current row in the report.
@UnitCode The code of the current unit in the report.
@UnitSetCode The code of the current unit set in the report.
@UnitText The description of the current unit in the report.
## Links to rows 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** ). ## Links to columns 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. ## Links to cells 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. ## Self-links in formula parameters 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](/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-formulas/) Related concepts [About functions](/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-functions/) [About data filtering criteria](/visma-net-erp/help/general-ledger/manage-analytical-reports/data-source/about-data-filtering-criteria/)
About operators /visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-operators page You use operators to perform certain operations with the formula parameters or modify the data specified by the Data source report parameter before the data is added in the report. 2026-02-19T17:09:06+01:00 # About operators You use operators to perform certain operations with the formula parameters or modify the data specified by the Data source report parameter before the data is added in the report. You can add operator manually by typing them in the formula area or select them from the list of operators available in the formula editor. There are several groups of operators in the formulas which are covered in the following sections. ## Arithmetic operators Arithmetic operators perform common arithmetic operations with numeric values. The parameters of the arithmetic expressions are handled as the decimal values. The parameters of any other data type will be converted to the decimal type.
Operator Description and examples
+ (addition)

Adds the value of one numeric expression to another or concatenates two strings.

Example: =A10+B10

Here, A10 and B10 are cell references. If the values in the cells are 12.85 and 2.25, the result of the expression would be 12.85 + 2.25 = 15.1.

+ (subtraction)

Subtracts the value of one numeric expression from another.

Example: =A20-B30

Here, A20 and B30 are cell references. If the values in the cells are 12.85 and 2.25, the result of the expression would be 12.85 - 2.25 = 10.6.

* (multiplication)

Multiplies the value of two expressions.

Example: =C10*D10

Here, A20 and B30 are cell references. Assuming that the parameters have the values C10 = 2.25 and D10 = 2, the example would evaluate to 2.25 * 2 = 4.5.

/ (division)

Divides the values of two expressions.

Example: =A10/C10.

Here, A10 and C10 are cell references. If the values in the cells are 4.0 and 2.0, the result of the expression would be 4.0 / 2.0 = 2.0.

% (Mod)

Divides two numbers and returns only the remainder.

Example: =B15 % C15

Here, B15 and C15 are cell references. If the values in the cells are 15.0 and 6.0, the result of the expression would be 3.0.

## Logical operators The logical operators, described below, compare Boolean expressions and return a Boolean result.
Operator Description and examples
And

Performs logical conjunction on two Boolean expressions. If both expressions evaluate to True, then the operator returns True; if either or both expressions evaluate to False, And returns False.

Example: =(A10>0) And (C10>0)

In this example, A10 and C10 are cell references. If A10 = 10 and C10 = 20, then the expression would evaluate to True. Alternatively, f A10 = -10 and C10 = 20, the expression would evaluate to False.

Or

Performs logical disjunction on two Boolean expressions. If either expression evaluates to True, the operation returns True; if neither expression evaluates to True, Or returns False.

Example: =(A10>0) Or (C10>0)

In this example, A10 and C10 are cell references. If A10 = 10 and C10 = 20, then the expression would evaluate to True. Alternatively, f A10 = -10 and C10 = -20, the expression would evaluate to False.

Not

Performs logical negation on a Boolean expression, yielding the opposite of the expression it evaluates. If the expression evaluates to True, the operator yields False; alternatively, if the expression evaluates to False, Not yields True.

Example: =Not (A10>C10)

In this example, A10 and C10 are cell references. If A10 is larger than C10, then the expression would evaluate to False. Alternatively, if A10 is smaller than C10, the expression would evaluate to True.

## Comparison operators These operators, described below, compare two expressions and return a Boolean value that represents the result of the comparison.
Operator Description and examples
=

Equality operator.

Example: =(A10=B10)

In this example, A10 and B10 are cell references. If the value in the A10 cell is equal to the value in C10, then the expression evaluates to True, otherwise the expression evaluates to False.

<>

Inequality operator.

Example: =(C10<>A10)

(where A10 and C10 are the links used as a formula parameters)

In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to True, otherwise the expression evaluates to False.

<

The less than operator.

Example: =(@10<@12) (where @10 and @12 are the links to cells in the current column)

In this example, @10 and @12 are the links to cells in the current column. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to True, otherwise the expression evaluates to False.

>

Greater than operator.

Example: =(C10>A10) (where A10 and C10 are the links used as a formula parameters)

In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to True, otherwise the expression evaluates to False.

<=

The less than or equal to operator.

Example: =(C10<=A10) (where A10 and C10 are the links used as a formula parameters)

In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to True, otherwise the expression evaluates to False.

>=

The greater than or equal to operator.

Example: =(A10>=A10) (where A10 and C10 are the links used as a formula parameters)

In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to True, otherwise the expression evaluates to False.

## Other operators This group includes the following operators.
Operator Description and examples
In (a binary operator)

This operator is used in an elementary logical expression that evaluates the search results and returns True when the parameter matches one of the elements from the set of values.

Example: =(A20 In (10, 50, 57)) (where A20 is the link used as a formula parameter)

True (a binary constant)

This operator is used as a parameter in logical expressions.

Example: =((D30<A30)=True) (where D30 is the link used as a formula parameter)

False (a binary constant)

This operator is used as a parameter in logical expressions.

Example: =((C10=E10)=False) (where C10 and E10 are the links to the data)

Null (a value)

This operator is used as a parameter in logical expressions.

Example: =(@20=Null) (where @20 is the cell in the current column and 10th row)

Parent topic: [Formulas - overview](/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-formulas/)

Related pages

Concepts

About functions /visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-functions page You use functions to perform specific tasks that facilitate data processing for the reports. 2026-02-19T17:09:06+01:00 # About functions You use functions to perform specific tasks that facilitate data processing for the reports. Many functions available in the Analytical report manager process the data selected from the data source and return the values to be used in the report. To use functions in the formula, you can enter them directly in the formula editing area or select them from the list of functions provided by the. The groups of functions in the formulas are described below. ## Conversion functions You use conversion functions, summarised in the following table to convert data from one data type to another.
Function Description and examples
CBool(x)

Converts an expression defined in a function argument into the Boolean expression. If the expression is zero, False is returned; otherwise, True is returned.

Example: =CBool(A11+B11-C11*0.05) (where A11, B11 and C11 are the links used in a function argument)

CDate(x)

Converts an expression defined in a function argument to a value of the Date type. The CDate function argument should be a valid date expression. CDate recognises date formats according to the locale setting of the system.

Example: =CDate(A2-B2) (where A2 and B2 are the links used in a function argument)

CStr(x)

Converts an expression defined in a function argument to a string. If the CStr function argument equals null, CStr returns a run-time error; otherwise, it returns a string of characters.

Example: =CStr(A12) (where A12 is the link used in a function argument)

CDbl(x)

Converts an expression defined in a function argument to a value of the Double type.

Example: =CDbl(A12/B2) (where A12 and B2 are the links used in a function argument)

CSng(x)

Converts an expression defined in a function argument to a value of the Single type. If the expression defined in the function argument lies outside the acceptable range for the Single type, an error occurs.

Example: =CSng(A12) (where A12 is the link used in a function argument)

CDec(x)

Converts an expression defined in a function argument to a value of the Decimal type.

Example: =CDec(A12*0.15) (where A12 is the link used in a function argument)

CInt(x)

Converts an expression defined in a function argument to a value of the Integer type.

Example: =CInt(A10) (where A10 is the link used in a function argument)

CShort(x)

Converts a numeric value to a value of the Short type.

Example: =CShort(B2) (where B2 is the link used in a function argument)

CLong(x)

Converts a numeric value to a value of the Long type.

Example: =CLong(B12) (where B12 is the link used in a function argument)

## Text functions Text functions, described in the following table, are used to perform operations with the text strings.
Function Description and Examples
LTrim(string)

Removes all leading spaces or parsing characters from the specified character expression, or all leading zero bytes from the specified binary expression.

Example: =LTrim(CStr(A12)) (where A12 is the link used in a function argument)

RTrim(string)

Removes all trailing spaces or parsing characters from the specified character expression, or all trailing zero bytes from the specified binary expression.

Example: =RTrim(CStr(A12)) (where A12 is the link used in a function argument)

Trim(string)

Removes all trailing spaces or parsing characters from the specified character expression, or all trailing zero bytes from the specified binary expression.

Example: =Trim(CStr(A12)) (where A12 is the link used in a function argument)

Format(format, argument(s) )

Replaces the format item in a specified formatting string ( format ) with the text equivalent of the arguments ( arguments ).

Example: =Format('Currency:........ {0:C}; Account:........ {1:N}', A1, B1) (where A1 and B1 are the links used as a function arguments; 0, 1 are the specifiers indicating where the arguments will be inserted; C is the currency format specifier; and N is the number format specifier)

UCase(string)

Returns a string that has been converted to upper case. The string argument is any valid string expression. If string contains a null value, the null value is returned.

Example: =UCase(CStr(A12)) (where A12 is the link used in a function argument)

LCase(string)

Returns a string that has been converted to lower case. The string argument is any valid string expression. If string contains a null value, the null value is returned.

Example: =LCase(CStr(A12)) (where A12 is the link used in a function argument)

InStr(string, findString)

Returns the position of the first occurrence of one string ( findString ) within another ( string ).

Example: =InStr(CStr(A12), 'rur') (where A12 is the link used in a function argument)

InStrRev(string, findString )

Returns the position of the last occurrence of one string ( findString ) within another ( string ), starting from the right side of the string.

Example: =InStrRev(CStr(A12), 'rur') (where A12 is the link used in a function argument)

Len(string )

Returns an integer containing either the number of characters in a string or the nominal number of bytes required to store a variable.

Example: =Len(CStr(A12)) (where A12 is the link used in a function argument)

Left(string, length )

Returns a string containing a specified number of characters from the left side of a string. If string contains the null value, the null value is returned.

Example: =Left(CStr(A12), 3) (where A12 is the link used in a function argument)

Right(string, length )

Returns a string containing a specified number of characters from the right side of a string. If string contains a null value, the null value is returned.

Example: =Right(CStr(A12), 3) (where A12 is the link used in a function argument)

Replace(string, oldValue, newValue )

Returns a string in which a specified sub string ( oldValue ) has been replaced with another sub string ( newValue ).

Example: =Replace(CStr(A12), 'rur', 'eur') (where A12 is the link used in a function argument)

PadLeft(string, width, paddingChar )

Right-aligns the characters in a specified string ( string ), padding with the specified characters ( paddingChar ) on the left for a specified total width ( width ).

Example: =PadLeft(CStr(A12), 3, '%') (where A12 is the link used in a function argument)

PadRight(string, width, paddingChar )

Left-aligns the characters in a specified string ( string ), padding with the specified characters ( paddingChar ) on the right for a specified total width ( width ).

Example: =PadRight(CStr(A12), 3, '%') (where A12 is the link used in a function argument)

## Math functions Mathematical functions, described in the following table, perform calculations, usually based on input values provided as arguments, and return numeric values.
Function Description and Examples
Abs(x)

Returns the absolute value of a number.

Example: =Abs(A10-B10)

Here A10 and B10 are the links used in a function argument.

Floor(x)

Returns the largest integer that is not greater than the argument.

Example: =Floor(A10-A12)

Here A10 and A12 are the links used in a function argument.

Ceiling(x)

Returns the smallest integer that is not less than the argument.

Example: =Ceiling(A10-C11)

Here A10 and C11 are the links used in a function argument.

Round(x, decimals )

Returns a numeric expression, rounded to the specified precision ( decimals ).

Example: =Round((A10-B12), 5)

Here A10 and B12 are the links used in a function argument, and 5 is the number of digits after the decimal separator.

Min(x, y)

Returns the smaller of the two values.

Example: =Min(A10, A12) =Min(A10, 12)

Here A10 and A12 are the links used as function arguments)

Max(x, y)

Returns the greater of the two values.

Example: =Max(A12, A14) =Max(A12, 240)

Here A12 and A14 are the links used as function arguments.

Pow(x, power )

Computes the value of x raised to the specified power ( power ).

Example: =Pow((A12, 2))

Here A12 is the link used as a function argument, and 2 is the power index.

## DateTime functions The DateTime functions (described below) perform operations on input values and return string, numeric, or **DateTime** value results.
Function Description and Examples
Now()

Returns the current date and time according to the system date and time on the local computer.

Example: =Now()

Today()

Returns the current date according to the system date and time on the local computer.

Example: =Today()

NowUTC()

Returns the current date and time according to the user’s time zone.

The system gets the user’s time zone from the following sources, which are ordered by the priority from the highest to the lowest:

  1. User’s preferences specified in the User settings (SM203010) window.
  2. The employee calendar specified in the Work calendar (CS209000) window and selected for the user’s employee in the Employees (EP203000) window.

Example: =NowUTC()

TodayUTC()

Returns the current date according to the user’s time zone.

The system gets the user’s time zone from the following sources, which are ordered by the priority from the highest to the lowest:

  1. User’s preferences specified in the User settings (SM203010) window.
  2. The employee calendar specified in the Work calendar (CS209000) window and selected for the user’s employee in the Employees (EP203000) window.

Example: =TodayUTC()

DateAdd(date, interval, number )

Returns the new date calculated as a date parameter to which the specified time interval has been added.

The interval argument is a string expression that is the interval to be added. This argument can have the following values:

yyyy
year (a number of years will be added to a date )
m
month (a number of months will be added to a date )
y
day of year (same as day )
d
day (a number of days will be added to a date )
h
hour (a number of hours will be added to a date )
n
minute (a number of minutes will be added to a date )
s
second (a number of seconds will be added to a date )

The number is the numeric expression that is the number of intervals to be added. The numeric expression can either be positive, for dates in the future, or negative, for dates in the past. The date argument is the date to which interval is added.

Example: =DateAdd(CDate('31/01/1995'), 'm', -2) =DateAdd(Today(), 'y', 3) =DateAdd(Now(), 'd', 1)

Year(date )

Returns the year component of the date.

Example: =Year(Now())

Month(date )

Returns the month component of the date.

Example: =Month(Now())

Day(date )

Returns the day component of the date.

Example: =Day(Now())

DayOfWeek(date )

Returns the day of week for a date.

Example: =DayOfWeek(Today())

DayOfYear(date )

Returns the day of the year for a date.

Example: =DayOfYear(Now())

Minute(date )

Returns the minutes for a date.

Example: =Minute(Now())

Second(date>)

Returns the second component of the date.

Example: =Second(Now())

## Other functions The **Other functions** group includes the following functions.
Function Description and examples
IIf(expression, truePart, falsePart )

Returns one of two values, depending on the evaluation of an expression. If the expression evaluates to True, the function returns the truePart value; otherwise, it returns falsePart value.

Example: =IIf((A10-B10)<>0), CStr(A12), 'No data available') (where A10, A12, and B10 are the links used as a function arguments)

Switch(expression_1, value_1, expression_2, value_2,…)

Returns one of the values, depending on the evaluation of the expressions in the parameter. The function returns the value_n, which corresponds to the first expression in the enumeration that evaluates to True.

Example: =Switch(((A10-B10)<>0), A12, ((A10-B10)>0), B35)

IsNull(value, nullValue )

Returns nullValue, if value is NULL; otherwise, returns value.

Example: =IsNull(A10, '0') (if A10 is NULL, returns 0, otherwise returns the A10 value)

Sum(from, to)

Returns the sum of the values in the specified interval.

Example: =Sum('A11','A100') (where A11 and A100 are the links used in a function argument)

Sort(from, to, column )

Returns the values in the specified range of rows in the specified column sorted in ascending order.

Example: Sort('0100','0145','B') (the values in rows from ‘0100’ to ‘0145’ in the ‘B’ column will be sorted in ascending order)

SortD(from, to, column )

Returns the values in the specified range of rows in the specified column sorted in descending order.

Example: SortD('0100','0145','B') (the values in rows from ‘0100’ to ‘0145’ in the ‘B’ column will be sorted in descending order)

## Application-specific functions This functions are specific for Visma Net.
Function Description and Examples
ExtToInt(object field, object value ) Converts the external format of the object field parameter into the internal object presentation (for example, converts AccountCD to AccountID ). Both arguments of the ExtToInt function must have the same data type.
ExtToUI(object field, object value ) Converts the external format of the object field parameter into the UI format. Both arguments of the ExtToUI function must have the same data type.
GetDefExt(object field) Gets the default value of the object field parameter in the external format.
GetDefInt(object field) Gets the default value of the object field parameter in the internal format.
GetDefUI(object field) Gets the default value of the object field parameter in the UI format.
GetDescription(object field, object value )> Returns the description of the object field parameter as it is defined in the PXSelectorAttribute. Both arguments of the GetDescription function must have the same data type. Note: If you use this function for subaccounts, the subaccount description is not available if the On-the-fly entry option is specified for subaccounts in the Segment keys (CS202000) window.
GetDisplayName(object field) Returns the localised name of the object field parameter.
GetFormat(object field) Returns the data type of the object field parameter.
GetMask(object field) Returns the mask of the object field parameter.
IntToExt(object field, object value ) Converts the external format of the object field parameter into the internal object presentation (for example, converts AccountID to AccountCD ). Both arguments of the IntToExt function must have the same data type.
IntToUI(object field, object value ) Converts the internal format of the object field parameter into the UI format. Both arguments of the IntToUI function must have the same data type.
UIToExt(object field, object value ) Converts the UI format of the object field parameter into the external object format. Both arguments of the UIToExt function must have the same data type.
UIToInt(object field, object value ) Converts the UI format of the object field parameter into the internal object format. Both arguments of the UIToInt function must have the same data type.
FormatPeriod(object period ) Performs ExtToUI data conversion for the object period parameter. This function is used to get the period defined by the report @StartPeriod and @EndPeriod dates.
FormatPeriod(object period, object period shift ) Performs ExtToUI data conversion for the object period parameter with a time shift defined by object period shift argument. This function is used to get the period defined by the report @StartPeriod and @EndPeriod dates.
FormatYear(object period ) Performs ExtToUI data conversion for the object period parameter year part. This function is used to get the period defined by the report @StartPeriod and @EndPeriod dates.
FormatYear(object period, object period shift ) Performs ExtToUI data conversion for the object period parameter year part with a time shift defined by object period shift argument. This function is used to get the period defined by the report @StartPeriod and @EndPeriod dates.
### Parent topic [Formulas - overview](/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-formulas/)

Related pages

Concepts