1800radiatoranalytics of 1-800 Radiator-SQL Codes
4/13/2017 - 6:33 PM

Pricing Plan Modifiers

Pricing Plan Modifiers

SELECT
  whse
	,category
	,skuLevel
	,pricingPlan
	,pp.modifierType
	,MD.calculateOn
	,MD.modifierMath
	,pp.multiplier
	,pp.addend
	,pp.modifiedDate
	,pp.modifiedBy
	,U.quoteuser
FROM product_10.dbo.Whse_PricingPlan_Modifier pp
	LEFT JOIN product_10.dbo.Modifier_Type MD
	  ON pp.modifierType = MD.modifierType
	LEFT JOIN wizmo2005_10.dbo.HdUser U
	  ON pp.modifiedBy = U.id
WHERE 1 = 1
	AND pp.pricingPlan = 'MP'	-- Pricing plan type.
	AND pp.whse in (410)		-- Warehouse
	AND pp.skuLevel IN ('a','b','c','d','e')	--Sku level for category.
	and pp.category IN ('radiator')