Skip to content

Commit

Permalink
Merge pull request #36 from fincatto/dev
Browse files Browse the repository at this point in the history
Removido numero sequencial estatico
  • Loading branch information
jefperito committed Apr 22, 2015
2 parents 6d0cd78 + 83bdf0a commit 6bc910a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private NFEnviaEventoCartaCorrecao gerarDadosCartaCorrecao(final String chaveAce
infoEvento.setChave(chaveAcesso);
infoEvento.setCnpj(chaveParser.getCnpjEmitente());
infoEvento.setDataHoraEvento(LocalDateTime.now());
infoEvento.setId(String.format("ID%s%s0%s", WSCartaCorrecao.EVENTO_CARTA_CORRECAO, chaveAcesso, "1"));
infoEvento.setId(String.format("ID%s%s0%s", WSCartaCorrecao.EVENTO_CARTA_CORRECAO, chaveAcesso, numeroSequencialEvento));
infoEvento.setNumeroSequencialEvento(numeroSequencialEvento);
infoEvento.setOrgao(chaveParser.getNFUnidadeFederativa());
infoEvento.setTipoEvento(WSCartaCorrecao.EVENTO_CARTA_CORRECAO);
Expand Down

0 comments on commit 6bc910a

Please sign in to comment.