From 0ce8f093b215ba7edcf3bc536279940d1752023a Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Tue, 12 Apr 2011 22:21:26 -0500 Subject: [PATCH] Fix [3277139] - Doc_MatchPO has null trxName http://kenai.com/jira/browse/HENGSIN-71 http://sourceforge.net/support/tracker.php?aid=3277139 --- org.adempiere.base/src/org/compiere/acct/Doc_MatchInv.java | 6 +++--- org.adempiere.base/src/org/compiere/acct/Doc_MatchPO.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_MatchInv.java b/org.adempiere.base/src/org/compiere/acct/Doc_MatchInv.java index 5a7057eee6..03171feaed 100644 --- a/org.adempiere.base/src/org/compiere/acct/Doc_MatchInv.java +++ b/org.adempiere.base/src/org/compiere/acct/Doc_MatchInv.java @@ -82,16 +82,16 @@ public class Doc_MatchInv extends Doc setQty (matchInv.getQty()); // Invoice Info int C_InvoiceLine_ID = matchInv.getC_InvoiceLine_ID(); - m_invoiceLine = new MInvoiceLine (getCtx(), C_InvoiceLine_ID, null); + m_invoiceLine = new MInvoiceLine (getCtx(), C_InvoiceLine_ID, getTrxName()); // BP for NotInvoicedReceipts int C_BPartner_ID = m_invoiceLine.getParent().getC_BPartner_ID(); setC_BPartner_ID(C_BPartner_ID); // int M_InOutLine_ID = matchInv.getM_InOutLine_ID(); - m_receiptLine = new MInOutLine (getCtx(), M_InOutLine_ID, null); + m_receiptLine = new MInOutLine (getCtx(), M_InOutLine_ID, getTrxName()); // m_pc = new ProductCost (Env.getCtx(), - getM_Product_ID(), matchInv.getM_AttributeSetInstance_ID(), null); + getM_Product_ID(), matchInv.getM_AttributeSetInstance_ID(), getTrxName()); m_pc.setQty(getQty()); return null; diff --git a/org.adempiere.base/src/org/compiere/acct/Doc_MatchPO.java b/org.adempiere.base/src/org/compiere/acct/Doc_MatchPO.java index 9c326413c7..0daf4f959c 100644 --- a/org.adempiere.base/src/org/compiere/acct/Doc_MatchPO.java +++ b/org.adempiere.base/src/org/compiere/acct/Doc_MatchPO.java @@ -86,7 +86,7 @@ public class Doc_MatchPO extends Doc m_oLine = new MOrderLine (getCtx(), m_C_OrderLine_ID, getTrxName()); // m_M_InOutLine_ID = matchPO.getM_InOutLine_ID(); - m_ioLine = new MInOutLine (getCtx(), m_M_InOutLine_ID, null); + m_ioLine = new MInOutLine (getCtx(), m_M_InOutLine_ID, getTrxName()); m_C_InvoiceLine_ID = matchPO.getC_InvoiceLine_ID();