HCL Commerce Enterprise

Creating a numeric constant to use in a price rule

If you have a number you intend to use repeatedly in price calculations, you can create a numeric constant to represent that number. For example, you can create a numeric constant to represent the number 1.247. You can then use the numeric constant in price equations. You can also use a numeric constant in the Comparison Condition.

Procedure

  1. Open Management Center tools and from the hamburger menu, click Manage Accounts > Catalog Filter and Pricing .
  2. HCL Commerce Version 9.1.16.0 or later Open Management Center tools and from the left navigation menu, click Business tools > Customer Management > Price Lists.
  3. From the toolbar, click the arrow on the right side of Add newArrow Create New; then select Numeric Constant.
  4. In the properties view, set the following properties:
    PropertyDescription
    NameType a name for the constant, for example, Uplift Factor. In a price equation, this name displays beneath the Constant icon that uses the constant.
    Description Enter text that explains what the numeric constant is used for.
    TypeThis property is a display field to indicate the type of constant.
    NumberType the number to use for the constant.
  5. Save and close the constant.

What to do next

Use the constant in any price equation, or in the Comparison Condition.