From d19b2cd1ea6ea1e7bb023875106d3193f59eb812 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 1 Feb 2008 17:25:45 +0000 Subject: [PATCH] Fix for [ 1884676 ] Fact not setting transaction --- base/src/org/compiere/acct/Fact.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/acct/Fact.java b/base/src/org/compiere/acct/Fact.java index 40f1d18e05..e48937854a 100644 --- a/base/src/org/compiere/acct/Fact.java +++ b/base/src/org/compiere/acct/Fact.java @@ -39,7 +39,9 @@ public final class Fact { m_doc = document; m_acctSchema = acctSchema; - m_postingType = defaultPostingType; + m_postingType = defaultPostingType; + // Fix [ 1884676 ] Fact not setting transaction + m_trxName = document.getTrxName(); // log.config(toString()); } // Fact @@ -763,7 +765,8 @@ public final class Fact * @return true if all lines were saved */ public boolean save (String trxName) - { + { + m_trxName = trxName; // save Lines for (int i = 0; i < m_lines.size(); i++) {