we have a discount type that calculates the discount based on the total amount of sold materials by a customer, though we should also give the customer this discount by each order becoz this way would not block our customers' cash flow. is the solution to develop a program to calculate the discount that a customers should have for a month and then minus accumulated discounts that we already gave by every order? is there any way that we can figure this scenario out with standard functions?
thanks in advance!
with warm regards,