try { ServiceUtils.executeService(getUserView(), "CreateNewFunction", argsToRead); } catch (FenixServiceException e) { setErrorMessage(e.getMessage()); return ""; }  return "backToUnitDetails";
return executeCreateNewFunctionService(argsToRead);
    public String createFunction() throws FenixFilterException, FenixServiceException {        PrepareDatesResult datesResult = prepareDates(this.getFunctionBeginDate(), this                .getFunctionEndDate());        if (datesResult.isTest()) {            return "";        }        FunctionType type = getFunctionType();        final Object[] argsToRead = { null, this.getUnit().getIdInternal(), this.getFunctionName(),                datesResult.getBeginDate(), datesResult.getEndDate(), type, null };        try {            ServiceUtils.executeService(getUserView(), "CreateNewFunction", argsToRead);        } catch (FenixServiceException e) {            setErrorMessage(e.getMessage());            return "";        }        return "backToUnitDetails";    }