Fix [2891382] - CopyFromInvoice not in trx
https://sourceforge.net/tracker/?func=detail&aid=2891382&group_id=176962&atid=879332
This commit is contained in:
parent
54109e1332
commit
80802d6e11
|
@ -62,8 +62,8 @@ public class CopyFromInvoice extends SvrProcess
|
|||
throw new IllegalArgumentException("Target C_Invoice_ID == 0");
|
||||
if (m_C_Invoice_ID == 0)
|
||||
throw new IllegalArgumentException("Source C_Invoice_ID == 0");
|
||||
MInvoice from = new MInvoice (getCtx(), m_C_Invoice_ID, null);
|
||||
MInvoice to = new MInvoice (getCtx(), To_C_Invoice_ID, null);
|
||||
MInvoice from = new MInvoice (getCtx(), m_C_Invoice_ID, get_TrxName());
|
||||
MInvoice to = new MInvoice (getCtx(), To_C_Invoice_ID, get_TrxName());
|
||||
//
|
||||
int no = to.copyLinesFrom (from, false, false);
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue