}
protected String getNextUserNumber(Class c) {
try {
logger.debug("Retrieving new user-number for " + this.getTransaction().getClass().getSimpleName());
UserNumbersRemote userNumbers = (UserNumbersRemote) ClientTools.getRemoteBean(UserNumbersRemote.class);
return userNumbers.getNextNumber(c.getSimpleName(), ClientGlobals.getCompany());
} catch (NamingException e) {
logger.error("Error getting user-numer.", e);
return "";
}