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
- Open Management Center tools and from the hamburger menu, click .
- Open Management Center tools and from the left navigation menu, click .
- From the toolbar, click the arrow on the right side of Create New; then select Currency Constant.
- In the properties view, set the following properties:
Property Description Name Type 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. Type This 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. - Save and close the constant.