;Dear Younus khan ;U may problem solve? #Field: EI ValueSubTotal] Inactive:Not $$IsSales:##SVVoucherType [#Field:EIAccRate] Set as: if ($$IsSales:##SVVoucherType and #EIAccDesc="Cash Discount" and #EIValueSubTotal > 0 and #EIValueSubTotal < 10000) Then -5 Else $$value Set Always:$$IsSales:##SVVoucherType ;cash discount up to (1 to 15)% control. help me.