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
- 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 Numeric Constant.
-
In the properties view, set the following properties:
Property Description Name Type 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. Type This property is a display field to indicate the type of constant. Number Type the number to use for the constant. - Save and close the constant.