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();