diff --git a/pom.xml b/pom.xml index eefc03525..14b173385 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ br.com.rjconsultores GeneradorBoletosCNAB - 1.7.0 + 1.7.1 GeneradorBoletosCNAB diff --git a/src/com/rjconsultores/ventaboletos/layouts/SicoobFlatFile.java b/src/com/rjconsultores/ventaboletos/layouts/SicoobFlatFile.java index 80c6dfc06..1c84b2911 100644 --- a/src/com/rjconsultores/ventaboletos/layouts/SicoobFlatFile.java +++ b/src/com/rjconsultores/ventaboletos/layouts/SicoobFlatFile.java @@ -59,7 +59,8 @@ public class SicoobFlatFile extends AbstractFlatFile implements RemessaInterface header.setValue("LoteServico", FormataUtil.formatarValorPorTamanhoZeroEsquerda(cabecalhoLote.getLoteServico().toString(), 4)); } - header.setValue("NumCpfCnpj", FormataUtil.formatarValorPorTamanho(cabecalhoLote.getNumCpfCnpj(), 15)); + header.setValue("NumCpfCnpj", FormataUtil.formatarValorPorTamanho(cabecalhoLote.getNumCpfCnpj(), 14)); + header.setValue("CpfCnpj", FormataUtil.formatarValorPorTamanho(cabecalhoLote.getCpfCnpj().toString(), 1)); header.setValue("NumAgencia", FormataUtil.formatarValorPorTamanho(cabecalhoLote.getNumAgencia(), 5)); header.setValue("DigAgencia", FormataUtil.formatarValorPorTamanho(cabecalhoLote.getDigAgencia(), 1)); header.setValue("NumContaCorrente", FormataUtil.formatarValorPorTamanho(cabecalhoLote.getNumContaCorrente(), 12)); @@ -67,7 +68,7 @@ public class SicoobFlatFile extends AbstractFlatFile implements RemessaInterface header.setValue("NomeEmpresa", FormataUtil.formatarValorPorTamanho(cabecalhoLote.getNomeEmpresa(), 30)); header.setValue("NumeroRemessa", FormataUtil.formatarValorPorTamanhoZeroEsquerda(cabecalhoLote.getNumeroRemessa().toString(), 8)); header.setValue("DataGeracao", FormataUtil.formataData(cabecalhoLote.getDataGeracao())); - header.setValue("DataCredito", FormataUtil.formataData(cabecalhoLote.getDataCredito())); +// header.setValue("DataCredito", FormataUtil.formataData(cabecalhoLote.getDataCredito())); getFlatFile().addRecord(header); } diff --git a/src/layouts/LayoutSicoobCNAB240Envio.txg.xml b/src/layouts/LayoutSicoobCNAB240Envio.txg.xml index f9cbeca48..12fb4d240 100644 --- a/src/layouts/LayoutSicoobCNAB240Envio.txg.xml +++ b/src/layouts/LayoutSicoobCNAB240Envio.txg.xml @@ -58,7 +58,7 @@ - + @@ -82,7 +82,7 @@ - + @@ -99,7 +99,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -155,16 +155,17 @@ + - + - + - + - + - +