Support link end-of-process
This commit is contained in:
parent
145c0005cc
commit
cc8e738a77
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue