Create a Rule for a Pricing Matrix

When using a pricing matrix, you must create a rule that invokes the rule action entity filter. The rule connects the calculation procedure and entity filter.

A Pricing Matrix is a powerful lookup table used to manage complex, attribute-based pricing. Instead of writing individual rules for every possible combination of product, quantity, and region, you store that data in a matrix. When the system runs a pricing rule, it "looks up" the specific input values from the cart in the matrix and returns the corresponding output.

For more information about pricing rules, see Pricing Rules.

  1. On the Vlocity Rules tab, click New.
  2. Enter the following information:
    • The Rule Name is the name of the rule.

    • From the This defines picklist, select Pricing.

    • From the rule that applies to picklist, select the appropriate object, for example, Order Product <OrderItem>.

    • From the and is picklist, select Active.

    Order Pricing
  3. Scroll down to the Filters and Actions list.
  4. In the appropriate Filter Name row, click Add to Rule Filter.
  5. Click Actions.
  6. In the appropriate Action Name row, click Add to Rule Action.
  7. Click Save.