Ir para conteúdo
  • Cadastre-se

dev botao

Capturar Alertas do SAT


Ver Solução Respondido por Sérgio Assunção,
  • Este tópico foi criado há 1324 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado

Boa Noite gente, 

Estou começando a desenvolver com SAT Fiscal, porem percebi que no meu arquivo de LOG eu recebo alguns alertas.

Queria saber se tem alguma função do SAT que captura apenas a mensagem de alerta e não esse código todo.

Eu queria pegar apenas o "Alerta:   Codigo do regime tributario e incompativel com o grupo de ICMS102." 

Para separar esses logs e fazer o tratamento devido!

 

01/04/21 18:17:48:622 -   Inicio do Envio
01/04/21 18:17:49:133 -   Tempo de Processamento: 0,510 segundos
01/04/21 18:17:49:322 - NumeroSessao: 553617 - Resposta:553617|06000|1603|Alerta:   Codigo do regime tributario e incompativel com o grupo de ICMS102.|||PENGZT48aW5mQ0ZlIElkPSJDRmUzNTIxMDQxNDIwMDE2NjAwMDE2NjU5OTAwMDIxNDQ4MDAwMDM4MDE1ODk4MyIgdmVyc2FvPSIwLjA4IiB2ZXJzYW9EYWRvc0VudD0iMC4wOCIgdmVyc2FvU0I9IjAzMDAxOCI+PGlkZT48Y1VGPjM1PC9jVUY+PGNORj4wMTU4OTg8L2NORj48bW9kPjU5PC9tb2Q+PG5zZXJpZVNBVD45MDAwMjE0NDg8L25zZXJpZVNBVD48bkNGZT4wMDAwMzg8L25DRmU+PGRFbWk+MjAyMTA0MDE8L2RFbWk+PGhFbWk+MTgxNzQ5PC9oRW1pPjxjRFY+MzwvY0RWPjx0cEFtYj4yPC90cEFtYj48Q05QSj4xNjcxNjExNDAwMDE3MjwvQ05QSj48c2lnbkFDPlNHUi1TQVQgU0lTVEVNQSBERSBHRVNUQU8gRSBSRVRBR1VBUkRBIERPIFNBVDwvc2lnbkFDPjxhc3NpbmF0dXJhUVJDT0RFPkZWTXJNcFExMDVPQUo4dnJaYy9LZ0lmeHdZUzI4WkJOZFBXVncvang5NFc1TDFlb2pDelJ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AugNP+0BJ0kxFjM2b7lHa7fkft+adFsM7vKWL2vNYWVhWRyhfTlPW+lHDax1aWC5pKUdOm8VWHQnvlEpH3Zm/x0m39ee9nXPPjqew7dWklfRcS8KRlXRDa14xQjmLmp+u4aQ/FKFqA7nWVpoFX9t34oo6qZoBuzyHuNRj5GkTE3MOhQ9uRj3dNx0Hnj7Q7hHAWVVOMoCxYR2egXZI/uVVll5OtAbxfWzOO7gjnDy24bm4DDgLGMlgQ==

 

Obrigado!

 

  • Este tópico foi criado há 1324 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar Agora
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.