CreditHeader creditHeader = (CreditHeader) em.find(CreditHeader.class, Format.getLong(form.getCreditHeaderId()));
getMissingFormInformation(form, adminBean.getSiteId());
CreditEngine creditEngine = new CreditEngine(creditHeader, user);
try {
creditEngine.voidCredit();
creditEngine.saveOrder();
}
catch (OrderStateException e) {
initOrder(form, orderHeader, null, creditHeader, null, request);
calcTotal(form, creditHeader.getCreditHeaderId(), creditEngine);