diff --git a/applications/product/servicedef/services_pricepromo.xml b/applications/product/servicedef/services_pricepromo.xml index 89b9666484..8cb1f71b52 100644 --- a/applications/product/servicedef/services_pricepromo.xml +++ b/applications/product/servicedef/services_pricepromo.xml @@ -63,6 +63,7 @@ under the License. each Map in the List will also contain a field called "quantityProductPriceRule" with the GenericValue object representing the ProductPriceRule with the quantity condition that the List entry is based on --> + */ public static Map calculateProductPrice(DispatchContext dctx, Map context) { - boolean optimizeForLargeRuleSet = false; - // UtilTimer utilTimer = new UtilTimer(); // utilTimer.timerString("Starting price calc", module); // utilTimer.setLog(false); @@ -97,6 +95,7 @@ public class PriceServices { String findAllQuantityPricesStr = (String) context.get("findAllQuantityPrices"); boolean findAllQuantityPrices = "Y".equals(findAllQuantityPricesStr); + boolean optimizeForLargeRuleSet = "Y".equals(context.get("optimizeForLargeRuleSet")); String agreementId = (String) context.get("agreementId");