Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
none
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

Creating New Formula

  1. Navigate to Agreements & Promotions > Formula Formulas to open the Formula Library.

  2. Click the Create New Formula button.

  3. Enter a label for the formula you want to create and specify access rights (optional).

  4. Select the desired formula type from the Active Types drop-down menu. See the Creating a Formula Type section below if you want to create a formula type from scratch.

  5. Click the Submit button to save the formula and start the approval workflow.

...

  1. In the Formula Designer, click the Add > Add Type button to open the Edit Types dialog.
    A draft “NewFormulaXX” is now created.
    Optionally, you can import an existing Formula Type in the JSON format (Add > Import).

    image-20240902-111839.png

  2. Build the type using blocks by following instructions described in the Formula Designer for Technical Users article.

  3. Once you have finished building and your formula type is valid (see the indicator next to the formula type’s title), activate the draft using the blue Activate button (top-right corner of the block editor).
    Your formula type is now displayed among the Active types. If you want to apply the type to the formula, click the Use in Formula button.

Info

You can delete the formula type draft by clicking the three dots menu in the top-right corner and selecting Delete.

Creating a New Version of Formula Type

Formula types in the Formula Designer can maintain multiple versions. This introduces a way to version formulas without altering historical behavior.

Prerequisites

  • Pricefx version 15.0 or later.

  • The Enable revisions option in Advanced Configuration Options (AP) is enabled.

The Create New Version button is only visible for active formula types. It allows you to create a new version of the selected formula type, or lookup.
When the new version is activated, the previous version will be marked as superseded.

Edit Types Dialog

Description of the functionalities available in Edit Types dialog.

...

Contains lookups that can be used in the Formula Designer in the Types tab. For more details, see the Create Data Lookup section in the Formula Designer for Technical Users.

Deleting Formula Type

An admin user with the AGR_FormulaAdmin business role can delete existing formula types. For more details, see How To Delete Formula Types Using the Formula Management Wizard.