Our client has a unique way of treating discounts. initially, if a customer buys 100pcs, $1 each, they wait for 1-2 days for all returned items before they bill the customer. after the returns, they give the customer a sort of discount based on the total ordered qty/amount less the returned items. the discount is in a form of percentage. the first 2 parts can be addressed by standard billing type F2 and returns RE processing. the tricky part is the discount after all returned item. how can i compute the allowable discount in % that is based on the total order less the returned item? pls see sample scenario below.
customer buys 100 pcs worth $100
customer returns 10 pcs worth $10
customer gets discount 10%
what transaction can be used wherein only 90pcs worth $90 will be displayed and a discount of 10%? the user should be able to see the 90pcs, $90 with $9 as discount.
Please help. <<text removed by moderator>>