// NOTE: this is different for each service, should be shipmentId or returnId or PO orderId or etc
// TODO: unfortunately there could be multiple returnIds for the message, so what to do...?
sendConfirmBodCtx.put("origRefId", lastReturnId);
// run async because this will send a message back to the other server and may take some time, and/or fail
dispatcher.runAsync("oagisSendConfirmBod", sendConfirmBodCtx, null, true, 60, true);
} catch (GenericServiceException e) {
String errMsg = "Error sending Confirm BOD: " + e.toString();
Debug.logError(e, errMsg, module);
}
String errMsg = "Found business level errors in message processing, not saving results; first error is: " + errorMapList.get(0);