for (PostShipment postShipment : postShipments) {
order.removePostShipment(postShipment);
orderManager.saveOrder(order);
deviation = postShipment.getDeviation();
try {
postShipmentManager.refreshObject(postShipment);
postShipmentManager.removePostShipment(postShipment);
} catch (HibernateObjectRetrievalFailureException e) {
} catch (ObjectNotFoundException onfex) {
}