Support link end-of-process

This commit is contained in:
Elaine Tan 2013-01-31 17:08:13 +08:00
parent 145c0005cc
commit cc8e738a77
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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