We need to apply 5% off for non-discounted items in a bill when their value is above Rs.3000, but the discount has to be applied only when the sum of non-discounted items reach Rs.3000/-. if the bill contains already discounted items then that should not included in this calculation. Creating seperate bills is not feasbile as we have tried that already and its tough to segreate these during rush hours.