String roId = RoUtil.constructRoId(today, po.getSupplier().getId(), ro.getId());
ro.setRoId(roId);
ro = coreManager.save(ReceivingOrder.class, ro);
DisplayReceivingOrder disp = mapper.map(ro, DisplayReceivingOrder.class);
resp = disp;
} catch (Exception e) {
SgwtRestErrorResponse resp1 = new SgwtRestErrorResponse(-1);
resp1.addError("exception", e.getMessage());
return resp1;