}
public static void updateExpensesAndBanks(){
try {
SrvEntidades srvEnt = new SrvEntidades();
IsrvEntidades bHBIE = srvEnt.getBasicHttpBindingIsrvEntidades();
List<BNKA> lbnka = bHBIE.obtenerBancosSap(Shared.getConfig("mant")).getBNKA();
String banks = "";
for (BNKA bnka : lbnka) {
banks += "{" + bnka.getBANKL().getValue() + " - " + bnka.getBANKA().getValue() + "}";
}
ConnectionDrivers.updateConfig("banks", banks);
List<DD07T> dD07T = bHBIE.obtenerTiposSap().getDD07T();
String expenses = "";
for (DD07T dd07t : dD07T) {
try{
Integer.parseInt(dd07t.getDOMVALUEL().getValue());
expenses += "{" + dd07t.getDOMVALUEL().getValue() + " - " + dd07t.getDDTEXT().getValue() + "}";