Calculation method

Michał Wasiewicz Updated by Michał Wasiewicz

Functionality overview - Calculation method

The Calculation method defines how the system automatically derives the result of a given quality test based on the values of two related tests: Test A and Test B.

Standard Calculation Formulas

In the standard application, four predefined methods are available:

  • Inherit – A
  • Addition – A + B
  • Subtraction – A − B
  • Color – A + (B / 10)

These methods cover only basic calculation scenarios. However, many organizations require more specific logic that cannot be represented using the standard set. To address this gap, the system introduces a configurable option that enables users to define their own calculation logic.

Custom Calculation Method

A new method called Custom is added to the existing calculation method list. When the user selects the Custom method for a test, the system displays an additional field where a predefined calculation formula can be selected.

The list of available formulas is maintained separately and appears in the Calculation formula field.

Custom Calculation Formulas

Users can define formulas based on a fixed structure. The editable element is limited to a single parameter, ensuring easy maintenance and preventing incorrect formula design.

Supported formula structure

A * x^(1 - B)
          
  • A – value of Test A
  • B – value of Test B
  • x – user-defined parameter (display name in the form: Shear rate)

Users can configure only the Shear rate parameter; it means that only x factor can be defined. The formula structure itself cannot be changed in this version.


Configuration - Calculation method

Custom formulas are defined in a new form available under: Quality > Setup > Quality control > Calculation formulas, as shown in the figure below:

All formulas created in this form are available for selection when a test uses the Custom calculation method.

For all tests using in the calculation (selected as A and B), as well as for the resulting test, Test value determination must be selected., as shown in the figure below.
Sequence filters are not supported for this functionality.

How did we do?

Quantities field on Advanced Quality orders

Contact