You are here:
Pricing and Validating Changed Items Only
To support large numbers of items in the Industries CPQ Cart, you can pass only the changed, or delta, items to the configuration rules and the pricing engine. Use the CPQ Configuration DeltaPrice and DeltaValidate custom settings.
For example, suppose there are five line items already present in the cart and then you add a sixth item to the cart. If the DeltaValidate setting is false and the DeltaPrice setting is false, Salesforce passes all six items to the rule engine to run configuration rules and passes all six items to the pricing engine as well.
To avoid passing large sets of items to the configuration rules and the pricing engine, set DeltaValidate to true and DeltaPrice to true. Instead of passing all six items to the configuration rules and pricing engine, Salesforce passes only the newly added item and the related items that might be affected by the new item. To get the related items, Salesforce preprocesses the rules and caches the Product IDs.
End users don't notice any difference in the final output. The performance improves when tested with orders that contain large numbers of items.
For product bundles with more than 50 line items, you must set DeltaPrice and DeltaValidate to true.
DeltaPrice and DeltaValidate will not work when the product to add is already present as a line Item in the cart. The validation and pricing rules are based on product IDs so when running the validation or pricing for the added product, all the line Items with the same product IDs are considered.

