Fix [ 1970150 ] Incorrect combination used in posting of Cash

Thanks to Georgi Angelov - gangelov
This commit is contained in:
Carlos Ruiz 2008-07-01 17:18:02 +00:00
parent 5e3e989248
commit 796857544a
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public class Doc_Cash extends Doc
{ // amount is negative { // amount is negative
// Charge DR // Charge DR
// CashAsset CR // CashAsset CR
fact.createLine(line, line.getChargeAccount(as, getAmount()), fact.createLine(line, line.getChargeAccount(as, line.getAmount()),
getC_Currency_ID(), line.getAmount().negate(), null); getC_Currency_ID(), line.getAmount().negate(), null);
// fact.createLine(line, getAccount(Doc.ACCTTYPE_CashAsset, as), // fact.createLine(line, getAccount(Doc.ACCTTYPE_CashAsset, as),
// p_vo.C_Currency_ID, null, line.getAmount().negate()); // p_vo.C_Currency_ID, null, line.getAmount().negate());