Integer departmentID = getUserView().getPerson().getEmployee().getCurrentDepartmentWorkingPlace()
Integer departmentID = getUserView().getPerson().getTeacher().getLastWorkingDepartment()
    private void loadCompetenceCourses() throws FenixFilterException, FenixServiceException {        Integer departmentID = getUserView().getPerson().getEmployee().getCurrentDepartmentWorkingPlace()                .getIdInternal();        Object args[] = { departmentID, this.getExecutionYearId() };        competenceCourses = (List<CompetenceCourseStatisticsDTO>) ServiceUtils.executeService(                getUserView(), "CreateCompetenceCourseStatistics", args);    }