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
This commit is contained in:
Carlos Ruiz 2009-09-15 03:10:24 +00:00
parent b1f5aa2cbe
commit d5e8cf1176
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}