Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9610

If an order line has multiple deals then put them in different columns

$
0
0

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.


Viewing all articles
Browse latest Browse all 9610

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>