IDEMPIERE-4021 Error when copying lines from a closed order with lost sales qty

This commit is contained in:
Ricardo Santana 2019-08-16 15:14:42 +02:00
parent f02e4a633a
commit 58da0ce187
1 changed files with 2 additions and 0 deletions

View File

@ -532,6 +532,8 @@ public class MOrder extends X_C_Order implements DocAction
line.setQtyDelivered(Env.ZERO);
line.setQtyInvoiced(Env.ZERO);
line.setQtyReserved(Env.ZERO);
line.setQtyLostSales(Env.ZERO);
line.setQtyOrdered(Env.ZERO);
line.setDateDelivered(null);
line.setDateInvoiced(null);
//