IDEMPIERE-2865 Over/Underpayment doesnt calculated properly from Bank Statment/Create Payment process / additional case for full payment

This commit is contained in:
Carlos Ruiz 2015-10-03 18:11:06 -05:00
parent 13a13bd93b
commit 3f7ac44fec
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ public class BankStatementPayment extends SvrProcess
else // set Pay Amout from Invoice
{
payment.setC_Currency_ID(invoice.getC_Currency_ID());
payment.setPayAmt(invoice.getGrandTotal(true));
payment.setPayAmt(invoice.getOpenAmt());
}
}
else if (C_BPartner_ID != 0)