InvoiceHeader invoiceHeader = (InvoiceHeader) em.find(InvoiceHeader.class, Format.getLong(form.getInvoiceHeaderId()));
getMissingFormInformation(form, adminBean.getSiteId());
InvoiceEngine invoiceEngine = new InvoiceEngine(invoiceHeader, user);
try {
invoiceEngine.voidOrder();
invoiceEngine.saveOrder();
OrderEngine orderEngine = new OrderEngine(orderHeader, user);
orderHeader.setOrderStatus(orderEngine.calcStatus(orderHeader));
}
catch (OrderStateException e) {