}
public ActionForward createEnrolmentOutOfPeriodEvent(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
final EnrolmentOutOfPeriodEventCreateBean accountingEventCreateBean =
(EnrolmentOutOfPeriodEventCreateBean) getAccountingEventCreateBean();
try {
AccountingEventsCreator.createEnrolmentOutOfPeriodEvent(accountingEventCreateBean.getStudentCurricularPlan(),
accountingEventCreateBean.getExecutionPeriod(), accountingEventCreateBean.getNumberOfDelayDays());
addActionMessage("success", request, "label.accountingEvents.management.createEvents.eventCreatedWithSucess");
request.setAttribute("scpID", accountingEventCreateBean.getStudentCurricularPlan().getExternalId());
return prepare(mapping, form, request, response);
} catch (DomainExceptionWithInvocationResult e) {
addActionMessages("error", request, e.getInvocationResult().getMessages());
} catch (DomainException e) {