IDEMPIERE-2865 Over/Underpayment doesnt calculated properly from Bank Statment/Create Payment process / additional case for full payment
This commit is contained in:
parent
13a13bd93b
commit
3f7ac44fec
|
@ -201,7 +201,7 @@ public class BankStatementPayment extends SvrProcess
|
||||||
else // set Pay Amout from Invoice
|
else // set Pay Amout from Invoice
|
||||||
{
|
{
|
||||||
payment.setC_Currency_ID(invoice.getC_Currency_ID());
|
payment.setC_Currency_ID(invoice.getC_Currency_ID());
|
||||||
payment.setPayAmt(invoice.getGrandTotal(true));
|
payment.setPayAmt(invoice.getOpenAmt());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (C_BPartner_ID != 0)
|
else if (C_BPartner_ID != 0)
|
||||||
|
|
Loading…
Reference in New Issue