datesResult.getBeginDate(), datesResult.getEndDate(), type };
datesResult.getBeginDate(), datesResult.getEndDate(), type, departmentID, degreeID };
    public String createTopUnit() throws FenixFilterException, FenixServiceException {        if (verifyCostCenterCode()) {            return "";        }        PrepareDatesResult datesResult = prepareDates(this.getUnitBeginDate(), this.getUnitEndDate());        if (datesResult.isTest()) {            return "";        }        UnitType type = getUnitType();        final Object[] argsToRead = { null, null, this.getUnitName(), this.getUnitCostCenter(),                datesResult.getBeginDate(), datesResult.getEndDate(), type };        try {            ServiceUtils.executeService(getUserView(), "CreateNewUnit", argsToRead);        } catch (FenixServiceException e) {            setErrorMessage(e.getMessage());            return "";        }        return "listAllUnits";    }