Fix for [ 1884676 ] Fact not setting transaction

This commit is contained in:
Carlos Ruiz 2008-02-01 17:25:45 +00:00
parent 57b13fb133
commit d19b2cd1ea
1 changed files with 5 additions and 2 deletions

View File

@ -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++)
{