IDEMPIERE-4021 Error when copying lines from a closed order with lost sales qty
This commit is contained in:
parent
f02e4a633a
commit
58da0ce187
|
@ -532,6 +532,8 @@ public class MOrder extends X_C_Order implements DocAction
|
||||||
line.setQtyDelivered(Env.ZERO);
|
line.setQtyDelivered(Env.ZERO);
|
||||||
line.setQtyInvoiced(Env.ZERO);
|
line.setQtyInvoiced(Env.ZERO);
|
||||||
line.setQtyReserved(Env.ZERO);
|
line.setQtyReserved(Env.ZERO);
|
||||||
|
line.setQtyLostSales(Env.ZERO);
|
||||||
|
line.setQtyOrdered(Env.ZERO);
|
||||||
line.setDateDelivered(null);
|
line.setDateDelivered(null);
|
||||||
line.setDateInvoiced(null);
|
line.setDateInvoiced(null);
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue