Unit Price is not calculated correctly on splitted lines (when batch number is forced for example)
We are using advanced pricing and have a discount based on quantity ordered.
Sometimes we are obliged to force the batch number allocation during order entry (select manually a batch number according to specific requirement of the governement for example). For that we need to create 2 seperated lines in the order.
If the line is splitted during order entry, the unit price is not calculated properly - because the line Id is not the same.
Example :
Advanced pricing = From 200 units ordered, the price is 100.00 INR - Under 200 units, the price is 130.00 INR.
If an order of 300 units is split in 2 lines during order entry :