Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/OrderManagement/PricingRules/ChainPricing.htm

## Chain Pricing Rules

Chain pricing rules allow multiple conditions to be applied to determine if a pricing rule should be applied. The conditions are defined using pricing sub-rules.

Pricing sub-rules include two additional comparison types:

* SKU Count – Compares pricing sub-rule quantity max and pricing rule quantity min with count of unique products on the order to determine if the pricing rule applies
* Inventory Monitoring Value

For example:

* A chain discount pricing rule can apply a 2% line discount to Cholecap 10mg when $500 worth of Cholecap 20mg and 750 quantity of Cholecap 30mg are ordered
* A chain discount brand level pricing rule can apply a 5% brand discount to Cholecap brand products when 100 quantity of Cholecap brand products are ordered or $1,000 worth of products in the Cold & Flu product group are ordered
* A chain free goods pricing rule can add 5 free goods of Cholecap 10mg to an order when 5 different products in the Cholecap brand are included in the order

**Who can use this feature?**

* End Users - Browser, iPad, Windows
* [Using Chain Pricing Rules](#Using)
* Order Admins - Browser
* [Creating Chain Pricing Rules](#Creating)
* Users do not require an additional license

### Configuring Chain Pricing Rules for

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)All Users](#)

To configure this feature, ensure [Configuring Order Management](../OM_Config.htm) is complete.

### Creating Chain Pricing Rules as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif) Order Admins](#)

[Upselling Suggestions](../CreatingOrders/OrderLines/UpsellSuggestions.htm) are not supported with chain pricing rules.

To create a chain pricing rule:

1. Navigate to **Home > Pricing Rules** tab.
2. Select **Create**.
3. Select one of the following in the Object Type Selector:
   * [Discount Rule](Discounts/DiscountRule.htm)
   * [Brand Level Rule](Discounts/BrandLevelRule.htm)
   * [Product Group Level Rule](Discounts/ProductGroupPricingRules.htm)
   * [Free Goods Rule](FreeGoods/FreeGoodsRule.htm)
   * [Free Goods Percentage Rule](FreeGoods/FreeGoodsPercentRule.htm)
4. Select **Continue**.
5. Complete the fields for the pricing rule:
   * name\_\_v
   * product\_\_v
   * start\_date\_\_v
   * end\_date\_\_v
   * comparison\_type\_\_v
   * minimum\_quantity\_\_v
   * maximum\_quantity\_\_v (optional)
   * discount\_override\_\_v or free\_goods\_\_v (optional)
   * discount\_override\_max\_\_v or free\_goods\_max\_\_v (optional)
6. Select the **chain\_rule\_\_v** checkbox.
7. Select a value for **chain\_rule\_operator\_\_v**.
8. Select **Save**.
9. Select **Create** in the Pricing Sub-rules related object section.
10. Complete the fields of the pricing sub-rule:
    * comparison\_product\_\_v (optional)
    * comparison\_type\_\_v
    * minimum\_quantity\_\_v
    * maximum\_quantity\_\_v (optional)
11. Select **Save**.

### Using Chain Pricing Rules as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif) End Users](#)

When products are added to an order, Chain Pricing Rules can set the line\_discount\_\_v, brand\_discount\_\_v, group\_discount\_\_v, and free\_goods\_\_v fields.

If chain pricing rule operator\_\_v equals and\_\_v, all pricing sub-rule conditions must be fulfilled for the chain pricing rule to apply. If chain pricing rule operator\_\_v equals or\_\_v, at least one pricing sub-rule condition must be fulfilled of the chain pricing rule to apply.

Depending on the value of the operator\_\_v field, chain pricing rules can either be applied if all or any of the pricing sub-rule criteria are fulfilled.

Unlike standard pricing rules, where only one pricing rule within each pricing rule object type, pricing rule product, and pricing rule comparison type can apply to an order, up to one chain pricing rule from each level of the Pricing Rule Hierarchy can be applied to an order within each pricing rule object type, pricing rule product, and pricing rule comparison type.

Chain pricing rules can be created for the following pricing rule types:

* Discount Rule (Line Discount Rule only, not Order Discount Rule)
* Brand Level Rule
* Product Group Level Rule
* Free Goods Rule
* Free Goods Percentage Rule

#### Comparison Types

* If Chain Pricing Sub-rule comparison\_type\_\_v equals product\_quantity\_\_v
* If comparison product product type equals order\_\_v, quantity\_\_v of comparison product is considered to determine if the discount or free goods apply
* If comparison product equals null, quantity\_\_v of all products on the order are considered to determine if the discount or free goods apply
* If comparison product product type equals detail\_\_v, quantity\_\_v of all products in the comparison product brand are considered to determine if the discount or free goods apply
* If comparison product product type equals product\_group\_\_v, quantity\_\_v of all products in the comparison product product group are considered to determine if the discount or free goods apply. If a product is in multiple product groups, it is considered towards all product groups, even if product\_group\_\_v is defined on the order line.
* If Chain Pricing Sub-rule comparison\_type\_\_v equals list\_value\_\_v
* If comparison product product type equals order\_\_v, quantity\_\_v multiplied by list\_amount\_\_v of comparison product is considered to determine if the discount or free goods apply
* If comparison product equals null, quantity\_\_v multiplied by list\_amount\_\_v of all products on the order are considered to determine if the discount or free goods apply
* If comparison product product type equals detail\_\_v, quantity\_\_v multiplied by list\_value\_\_v of all products in the comparison product brand are considered to determine if the discount or free goods apply
* If comparison product product type equals product\_group\_\_v, quantity\_\_v multiplied by list\_value\_v of all products in the comparison product product group are considered to determine if the discount or free goods apply. If a product is in multiple product groups, it is considered towards all product groups, even if product\_group\_\_v is defined on the order line.
* If Chain Pricing Sub-rule comparison\_type\_\_v equals sku\_count\_\_v
* If comparison product product type equals order\_\_v, unique product line of the comparison product is considered to determine if the discount or free goods apply (this count cannot exceed 1)
* If comparison product equals null, number of unique products on the order are considered to determine if the discount or free goods apply
* If comparison product product type equals detail\_\_v, number of unique products in the comparison product brand are considered to determine if the discount or free goods apply
* If comparison product product type equals product\_group\_\_v, number of unique products in the comparison product product group are considered to determine if the discount or free goods apply. If a product is in multiple product groups, it is considered towards all product groups, even if product\_group\_\_v is defined on the order line.

### Related Topics

[Cross-Product Pricing Rules](CrossProduct.htm)

[Payment Terms](PaymentTermsRule.htm)
