HCL Commerce Enterprise

Creating a currency constant to use in a price rule

If you have a price that you intend to use repeatedly in price calculations, you can create a currency constant to represent that price. For example, you can create a currency constant to represent a fixed distribution cost to add to certain prices in a price list. You can specify values in different currencies. You can then use the currency constant in price equations. You can also use the currency constant in the Comparison Condition

Procedure

  1. Open Management Center Tools and from Hamburger menu, click Manage Accounts > Catalog Filter and Pricing .
  2. From the toolbar, click the arrow on the right side of Add newArrow Create New; then select Currency Constant.
  3. In the properties view, set the following properties:
    PropertyDescription
    NameType a name for this currency constant, for example, Distribution Uplift. In a price equation, this name displays beneath the Constant icon that uses the constant.
    Description Enter text that explains what the currency constant is used for and which currencies it applies to.
    TypeThis property is a display field to indicate the type of constant.
    Currency For each currency that the constant must represent, type a monetary value in the appropriate column. For example, if the constant must represent United States dollars and Euros, you could type 5 in the USD column and 3.92 in the EUR column.
  4. Save and close the constant.

What to do next

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