Update PURCH_MAT_PRICING_FUNC.sql