Rounding difference for condition type
I have created a new discount condition type and allow user to input this condition at the sales order header.
But when it comes to the invoice, the amount could differ due to the rounding as one sales order item could be spilt into multiple schedule lines.
eg: sales order header condition -10
sales order item 10 -7
sales order item 20 -3
invoice header -10.40
invoice item 11 -3.60
invoice item 12 -3.60
invoice item 21 -1.60
invoice item 22 -1.60
there is a difference of 0.40 from the sales order. Is there anyway to prevent this?