Adding a custom calculation in the Web Client

Last Updated : Sep 13, 2024 |

About this task

You can create a custom calculation in the Dictionary. The formula for the calculation can have up to three levels of nesting. It can include database items, constants, and the following arithmetic operators:

  • + (add)

  • – (subtract)

  • * (multiply)

  • / (divide)

  • ( ) (do first, as in standard mathematical operations)

Important:

Calculations that refer to another calculation should enclose the referenced calculation within parentheses. For example, if Calculation 1 (C1) is A + B + C and Calculation 2 (C2) is C1 divided by D, type (C1)/D for Calculation 2.

Procedure

  1. Navigate to Administration > Dictionary > Calculations.

    CMS Supervisor displays the calculations administered for the system.

  2. Click Add Calculation to add a new custom calculation.
  3. In the Calculation Name field, enter a name for the custom calculation.

    Use lowercase letters in the name to distinguish this custom calculation from a standard CMS calculation.

  4. In the Calculation field, enter the formula for the calculation.

    You can enter up to 70 characters in this field.

  5. In the Description field, enter a brief description with additional information about the calculation.

    You can enter up to 50 characters. This field cannot contain the pipe (|) symbol, a semicolon, or double quotes.

  6. Click OK to save your changes.