Fix [ 2030685 ] Payment Selection is creating payments with dateacct=today

This commit is contained in:
Carlos Ruiz 2008-07-28 20:51:08 +00:00
parent a1130e75f7
commit ff16cba290
1 changed files with 1 additions and 0 deletions

View File

@ -455,6 +455,7 @@ public final class MPaySelectionCheck extends X_C_PaySelectionCheck
payment.setAmount(check.getParent().getC_Currency_ID(), check.getPayAmt());
payment.setDiscountAmt(check.getDiscountAmt());
payment.setDateTrx(check.getParent().getPayDate());
payment.setDateAcct(payment.getDateTrx()); // globalqss [ 2030685 ]
payment.setC_BPartner_ID(check.getC_BPartner_ID());
// Link to Batch
if (batch != null)