I have a situation where an order has multiple items and these items may have multiple deals attached to it.
Order: Item Qty DealNo DiscountAmt Price
111 A 1 EmployeeDiscount 10% 1.00 10.00
111 A 1 Monthly Promo 2.00 10.00
Total 2 3 20.00
It should look like this:
Order: Item Qty DealNo:Emp10% DealNo: Monthly Promo Price
111 A 1 1.00 1 10.00
Total 1 1.00 1 10.00
Thanks.