From 70268b024fbec9132359bbd064dc58aa7021bc2e Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 9 Feb 2008 06:13:34 +0000 Subject: [PATCH] Fix [ 1890013 ] Assiging wrong cash on VPayment --- client/src/org/compiere/grid/VPayment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/org/compiere/grid/VPayment.java b/client/src/org/compiere/grid/VPayment.java index 6a3dca9c69..4d54bc2671 100644 --- a/client/src/org/compiere/grid/VPayment.java +++ b/client/src/org/compiere/grid/VPayment.java @@ -505,6 +505,7 @@ public class VPayment extends CDialog { m_cashLine = new MCashLine (Env.getCtx(), m_C_CashLine_ID, null); m_DateAcct = m_cashLine.getStatementDate(); + m_C_CashBook_ID = m_cashLine.getCashBook().getC_CashBook_ID(); bAmountField.setValue(m_cashLine.getAmount()); } }