CustomerAccount oAcc = new CustomerAccount(oSes.getDms().getDocument(getSessionAttribute("customer_account_docid")));
clients = oAcc.clients(oSes).list(oSes);
for (Client oCli : clients)
if (oCli.getTaxId().length()>0)
oCli.setBusinessName(oCli.getBusinessName()+" ("+oCli.getTaxId()+")");
oSes.disconnect();
oSes.close();
try {
Cache.putEntry(getSessionAttribute("customer_account_docid")+"clients", clients);
} catch (Exception e) {
Log.out.error("CaptureInvoice.getClients() Cache.putEntry("+getSessionAttribute("customer_account_docid")+"clients) "+e.getClass().getName()+" "+e.getMessage(), e);