Show/Hide Toolbars

The following sample deletes an invoice record. You must get the unique key value for record to delete.

Code Snippet

//for this sample it is assumed that an invoice record exists with the unique key equal to a String, uniqueKey

protected InvoiceRepository invoiceRepository;

invoiceRepository.deleteInvoice(uniqueKey);