diff --git a/src/com/rjconsultores/ventaboletos/service/impl/SapServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/SapServiceImpl.java index 818e988fc..a90a451a4 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/SapServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/SapServiceImpl.java @@ -117,9 +117,11 @@ public class SapServiceImpl implements SapService{ @Override public void integracaoSapAutomatica() throws Exception { - List listaPendente = obtenerTodosParaRemessa(null, DateUtil.getYesterdayDate(), new Date(), false); + List listaPendente = obtenerTodosParaRemessa(null, DateUtil.getYesterdayDate(), new Date(), false); while(!listaPendente.isEmpty()) { + log.info("IntegracaoSap: Registro a enviar:"+listaPendente.size()); + try { remessa(listaPendente); } catch (Exception e) {