SessionContainer permSess = getRequestContainer().getSessionContainer().getPermanentContainer();
IEngUserProfile profile = (IEngUserProfile)permSess.getAttribute(IEngUserProfile.ENG_USER_PROFILE);
ICheckDAO dao=DAOFactory.getChecksDAO();
dao.setUserProfile(profile);
if (mod.equalsIgnoreCase(AdmintoolsConstants.DETAIL_INS)) {
dao.insertCheck(aCheck);
} else {
dao.modifyCheck(aCheck);
}
} catch (Exception ex) {