IDEMPIERE-1523 link to invoice not create after run process "Create Sales Orders for Customers"

This commit is contained in:
hieplq 2013-11-12 03:14:48 +07:00
parent bf8171b200
commit a90c0b73c7
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ public class ExpenseAPInvoice extends SvrProcess
// //
m_noInvoices++; m_noInvoices++;
addLog(invoice.get_ID(), invoice.getDateInvoiced(), addLog(invoice.get_ID(), invoice.getDateInvoiced(),
invoice.getGrandTotal(), invoice.getDocumentNo()); invoice.getGrandTotal(), invoice.getDocumentNo(), invoice.get_Table_ID(), invoice.getC_Invoice_ID());
} // completeInvoice } // completeInvoice
} // ExpenseAPInvoice } // ExpenseAPInvoice

View File

@ -282,7 +282,7 @@ public class ExpenseSOrder extends SvrProcess
if (!m_order.save()) if (!m_order.save())
throw new IllegalStateException("Cannot save Order"); throw new IllegalStateException("Cannot save Order");
m_noOrders++; m_noOrders++;
addLog (m_order.get_ID(), m_order.getDateOrdered(), m_order.getGrandTotal(), m_order.getDocumentNo()); addLog (m_order.get_ID(), m_order.getDateOrdered(), m_order.getGrandTotal(), m_order.getDocumentNo(), m_order.get_Table_ID(), m_order.getC_Order_ID());
m_order = null; m_order = null;
} // completeOrder } // completeOrder