From 5cf47c3fa26538df2b698de8027b442e83dcdc72 Mon Sep 17 00:00:00 2001 From: kthiemann Date: Tue, 9 Oct 2007 09:16:03 +0000 Subject: [PATCH] Bug [ 1810036 ] InventoryCountUpdate Gives Wrong Qty --- base/src/org/compiere/process/InventoryCountUpdate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/process/InventoryCountUpdate.java b/base/src/org/compiere/process/InventoryCountUpdate.java index 0a16caa6c5..55fcd045eb 100644 --- a/base/src/org/compiere/process/InventoryCountUpdate.java +++ b/base/src/org/compiere/process/InventoryCountUpdate.java @@ -130,7 +130,7 @@ public class InventoryCountUpdate extends SvrProcess PreparedStatement pstmt = null; try { - pstmt = DB.prepareStatement (sql, null); + pstmt = DB.prepareStatement (sql, get_TrxName()); pstmt.setInt (1, p_M_Inventory_ID); ResultSet rs = pstmt.executeQuery (); while (rs.next ())