---
title: "Operators"
description: "Operators are used in formulas that you create in the Formula editor dialog box, which is called from the Manage import scenarios (SM206025) or Manage export scenarios (SM207025) windows."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/integration/configuring-scenario-mapping/operators/index.md
lastmod: 2026-02-19
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/help/integration/configuring-scenario-mapping/llms.txt


# Operators

Last modified February 19, 2026

> Operators are used in formulas that you create in the Formula editor dialog box, which is called from the Manage import scenarios (SM206025) or Manage export scenarios (SM207025) windows.


For more information: [Manage import scenarios (SM206025)](https://docs.vismasoftware.no/visma-net-erp/help/integration/integration-windows/manage-import-scenarios-sm206025/index.md), [Manage export scenarios (SM207025)](https://docs.vismasoftware.no/visma-net-erp/help/integration/integration-windows/manage-export-scenarios-sm207025/index.md).

To add operators to the formula, you can enter them directly in the Formula text area of the dialog box or select them from the list of formula components available
within the dialog box. (Select an operator type to view the list of operators of the
type, and then select an operator.)
To specify the operands for operators, you can
type them in the Formula text area or select them from the list of external or
internal fields provided within the Formula editor dialog box.

This article describes and provides examples of the operators you can use in formulas, broken down by operator type.

## Overview of operators

There are two types of operators: unary and binary.
Unary operators are applicable to
only one operand, while binary operators require two operands.

In general, expressions are evaluated from left to right with the following order of precedence:

+ Logical operators: `Not`, `And`, `Or`
+ Comparison operators: =, &lt;&gt;,, &lt;=, &gt;=
+ Arithmetic operators: -, \*, /, `Mod`, +, -

## Arithmetic operators

Arithmetic operators, which are listed below, take numerical values as their operands and return a single numerical value.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and example</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell"><ul>
<li></li>
</ul>
</td>
<td class="vismanet-table__cell"><p>Adds the two operands and returns the result.
If at least one
operand is a string, this operator returns a concatenated
string.</p>
<p><strong>Example:</strong> <code>=[Amount]+[VAT amount]</code></p>
<p>In this example, the <code>[Amount]</code> and <code>[VAT amount]</code> values are used as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell"><ul>
<li></li>
</ul>
</td>
<td class="vismanet-table__cell"><p>Subtracts the second operand from the first.</p>
<p><strong>Example:</strong> <code>=[Amount]-[Cash discount]</code></p>
<p>In this example, the <code>[Amount]</code> and <code>[Cash discount]</code> values act as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell"><ul>
<li></li>
</ul>
</td>
<td class="vismanet-table__cell"><p>Multiplies the two operands.</p>
<p><strong>Example:</strong> <code>=[Chargeable amount]*0.03</code></p>
<p>In this example, the <code>[Chargeable Amount]</code> value and the number 0.03 serve as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">/</td>
<td class="vismanet-table__cell"><p>Yields the quotient of the operands, which is the first operand divided by the second.</p>
<p><strong>Example:</strong> <code>=[Amount]/[Rate reciprocal]</code></p>
<p>In this example, the <code>[Amount]</code> and <code>[Rate reciprocal]</code> values are the first and second operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Mod (Modulus)</td>
<td class="vismanet-table__cell"><p>Divides the first integer operand by the second integer operand and returns the remainder, rounded to the nearest integer.</p>
<p><strong>Example:</strong> <code>=[Volume] Mod [Conversion factor]</code></p>
<p>In this example, the <code>[Volume]</code> and <code>[Conversion factor]</code> values are used as operands.</p>
</td>
</tr>

</table>


## Logical operators

Logical operators evaluate one or two Boolean expressions and return a Boolean result
(`True` or `False`).
Because these operators evaluate only Boolean
expressions, you must use elements whose only values are `True` and
`False` (typically check boxes and radio buttons).
The logical operators
are listed below.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and example</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">And</td>
<td class="vismanet-table__cell"><p>Performs logical conjunction on two Boolean expressions: returns <code>True</code> if and only if both expressions evaluate to <code>True</code>; in other cases, returns <code>False</code>.</p>
<p><strong>Example:</strong> <code>=[Hold] And [Validate control totals on entry]</code></p>
<p>In this example, the <code>[Hold]</code> and <code>[Validate control totals on entry]</code> check boxes are used as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Or</td>
<td class="vismanet-table__cell"><p>Performs logical disjunction on two Boolean expressions: returns <code>True</code> if at least one expression evaluates to <code>True</code>; returns <code>False</code> if neither expression evaluates to <strong>True</strong>.</p>
<p><strong>Example:</strong> <code>=[Hold] Or [Validate control totals on entry]</code> In this example, the <code>[Hold]</code> and <code>[Validate control totals on entry]</code> check boxes act as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Not</td>
<td class="vismanet-table__cell"><p>Performs logical negation on a Boolean expression: returns <code>True</code> if and only if the operand is <code>False</code>. Logical negation is an unary operator.</p>
<p><strong>Example:</strong> <code>=Not [Hold documents on entry]</code></p>
<p>In this example, the <code>[Hold documents on entry]</code> check box is used as the single operand.</p>
</td>
</tr>

</table>


## Comparison operators

Comparison operators compare two expressions and return a Boolean value
(`True` or `False`) that represents the result of the comparison.

This group of operators includes the following operators.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and example</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">=</td>
<td class="vismanet-table__cell"><p>Returns <code>True</code> if operands are equal.</p>
<p><strong>Example:</strong> <code>=([Credit total] = [Control total])</code></p>
<p>In this example, the <code>[Credit total]</code> and <code>[Control total]</code> values are used as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&lt;&gt;</td>
<td class="vismanet-table__cell"><p>Returns <code>True</code> if operands are not equal.</p>
<p><strong>Example:</strong> <code>=([Credit total] &lt;&gt; [Debit total])</code></p>
<p>In this example, the <code>[Credit total]</code> and <code>[Debit total]</code> values act as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&lt;</td>
<td class="vismanet-table__cell"><p>Returns <code>True</code> if the first operand is less than the second one.</p>
<p><strong>Example:</strong> <code>=([DocDate] &lt; [DueDate])</code></p>
<p>In this example, the <code>[DocDate]</code> and <code>[DueDate]</code> values act as operands.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&gt;</td>
<td class="vismanet-table__cell"><p>Returns <code>True</code> if the first operand is greater than the second one.</p>
<p><strong>Example:</strong> <code>=([CrLmt] &gt; 1000])</code></p>
<p>In this example, the <code>[CrLmt]</code> value is used as the first operand, and the number 1000 acts as the second operand.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&lt;=</td>
<td class="vismanet-table__cell"><p>Returns <code>True</code> if the first operand is less than or equal to the second operand.</p>
<p><strong>Example:</strong> <code>=(([DueDate]-[CashDiscountDate]) &lt;= [LeadTime])</code></p>
<p>In this example, <code>[DueDate] - [CashDiscountDate]</code> is the first operand, and the <code>[LeadTime]</code> value is used as the second operand.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&gt;=</td>
<td class="vismanet-table__cell"><p>Returns <code>True</code> if the first operand is greater than or equal to the second operand.</p>
<p><strong>Example:</strong> <code>=([Balance] =&gt; [Amount])</code></p>
<p>In this example, the <code>[Balance]</code> and <code>[Amount]</code> values are used as operands.</p>
</td>
</tr>

</table>


## Other operators

This miscellaneous group of operators includes the following operators and constants.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and example</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">In</td>
<td class="vismanet-table__cell"><p>An operator that returns <code>True</code> if the second operand (a string) contains the first operand (which is also a string).</p>
<p><strong>Example:</strong> <code>=('Inc.' In [Supplier name])</code></p>
<p>In this example, the <code>[Supplier name]</code> value is used as an operand, and the formula returns <code>True</code> if the name of the supplier contains Inc.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">True</td>
<td class="vismanet-table__cell"><p>A binary constant used as an operand in logical expressions.</p>
<p><strong>Example:</strong> <code>=True</code></p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">False</td>
<td class="vismanet-table__cell"><p>A binary constant used as an operand in logical expressions.</p>
<p><strong>Example:</strong> <code>=False</code></p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Null</td>
<td class="vismanet-table__cell"><p>A special value used as an operand in logical expressions; designates an undefined value.</p>
<p><strong>Example:</strong> <code>=Null</code></p>
</td>
</tr>

</table>


Parent topic:

[Configuring scenario mapping](https://docs.vismasoftware.no/visma-net-erp/help/integration/configuring-scenario-mapping/configuring-scenario-mapping/index.md)

Related reference

Formula editor dialog box
[Manage import scenarios (SM206025)](https://docs.vismasoftware.no/visma-net-erp/help/integration/integration-windows/manage-import-scenarios-sm206025/index.md)
[Manage export scenarios (SM207025)](https://docs.vismasoftware.no/visma-net-erp/help/integration/integration-windows/manage-export-scenarios-sm207025/index.md)

<h2>Related pages</h2><h3>Concepts</h3>
<ul><li><a href="/visma-net-erp/help/integration/configuring-scenario-mapping/functions/index.md">Functions</a></li>
</ul>


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/integration/configuring-scenario-mapping/operators/)
