connect();
CustomerAccount oAcc = new CustomerAccount(getSession().getDms(), getSessionAttribute("customer_account_docid"));
Client oFoundClient = oAcc.clients(getSession()).seek(getSession(), sBusinessName);
if (!oFoundClient.id().equals(sFormerId))
addError(new LocalizableError("com.zesped.action.SaveClient.businessNameAlreadyExists"));
oFoundClient = oAcc.clients(getSession()).seek(getSession(), sTaxId);
if (!oFoundClient.id().equals(sFormerId))
addError(new LocalizableError("com.zesped.action.SaveClient.taxIdAlreadyExists"));
} catch (ElementNotFoundException clientnotfound) {
} catch (Exception e) {
Log.out.error("SaveClient.validateBusinessName("+sBusinessName+") "+e.getClass().getName()+" "+e.getMessage(), e);