From d5e8cf1176e39883bac7a7c4430f303ecc4001d8 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 15 Sep 2009 03:10:24 +0000 Subject: [PATCH] FR [2857807] - Allow accounting posting in standalone user mode https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2857807&group_id=176962 Error in call to DB.getSQLValue --- base/src/org/compiere/model/MFactAcct.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/MFactAcct.java b/base/src/org/compiere/model/MFactAcct.java index 0aefb57f03..d295557550 100644 --- a/base/src/org/compiere/model/MFactAcct.java +++ b/base/src/org/compiere/model/MFactAcct.java @@ -146,7 +146,7 @@ public class MFactAcct extends X_Fact_Acct public static boolean alreadyPosted(int AD_Table_ID, int Record_ID, String trxName) throws DBException { final String sql = "SELECT 1 FROM Fact_Acct WHERE AD_Table_ID=? AND Record_ID=?"; - int one = DB.getSQLValue(trxName, sql, new Object[]{AD_Table_ID, Record_ID}, trxName); + int one = DB.getSQLValue(trxName, sql, new Object[]{AD_Table_ID, Record_ID}); return (one == 1); }