diff --git a/org.adempiere.base.process/src/org/compiere/process/InOutCreateConfirm.java b/org.adempiere.base.process/src/org/compiere/process/InOutCreateConfirm.java index f7d11ec0ff..a56d35632e 100644 --- a/org.adempiere.base.process/src/org/compiere/process/InOutCreateConfirm.java +++ b/org.adempiere.base.process/src/org/compiere/process/InOutCreateConfirm.java @@ -70,6 +70,9 @@ public class InOutCreateConfirm extends SvrProcess if (confirm == null) throw new Exception ("Cannot create Confirmation for " + shipment.getDocumentNo()); // + + addLog(confirm.getM_InOutConfirm_ID(), null, null, confirm.getDocumentNo(), confirm.get_Table_ID(), confirm.getM_InOutConfirm_ID()); + return confirm.getDocumentNo(); } // doIt diff --git a/org.adempiere.base.process/src/org/compiere/process/InOutCreateInvoice.java b/org.adempiere.base.process/src/org/compiere/process/InOutCreateInvoice.java index 36e725e84e..4a9c781e51 100644 --- a/org.adempiere.base.process/src/org/compiere/process/InOutCreateInvoice.java +++ b/org.adempiere.base.process/src/org/compiere/process/InOutCreateInvoice.java @@ -146,6 +146,8 @@ public class InOutCreateInvoice extends SvrProcess invoice.saveEx(); } + addLog(invoice.getC_Invoice_ID(), invoice.getDateInvoiced(), invoice.getGrandTotal(), invoice.getDocumentNo(), invoice.get_Table_ID(), invoice.getC_Invoice_ID()); + return invoice.getDocumentNo(); } // InOutCreateInvoice diff --git a/org.adempiere.base.process/src/org/compiere/process/InvoiceCreateInOut.java b/org.adempiere.base.process/src/org/compiere/process/InvoiceCreateInOut.java index efb0cd8f0c..51b33ac208 100644 --- a/org.adempiere.base.process/src/org/compiere/process/InvoiceCreateInOut.java +++ b/org.adempiere.base.process/src/org/compiere/process/InvoiceCreateInOut.java @@ -92,6 +92,8 @@ public class InvoiceCreateInOut extends SvrProcess } if (m_inout == null) throw new InvoiceFullyMatchedException(); + + addLog(m_inout.getM_InOut_ID(), m_inout.getMovementDate(), null, m_inout.getDocumentNo(), m_inout.get_Table_ID(), m_inout.getM_InOut_ID()); // return m_inout.getDocumentNo(); } // doIt