Skip to content

Key (txt_nr_recibo_arq_base)=(1.1.0000000027895701077) is not present in table "est_evento" #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fabiodsilva2 opened this issue Sep 12, 2024 · 3 comments

Comments

@fabiodsilva2
Copy link

Está dando o erro do título quando subimos o jt service apontando para o ambiente de PRODUCAO:
org.postgresql.util.PSQLException: ERROR: insert or update on table "est_evento_totalizador" violates foreign key constraint "est_evento_totalizador_fk01"
Detalhe: Key (txt_nr_recibo_arq_base)=(1.1.0000000027895701077) is not present in table "est_evento"

@rmrosa
Copy link
Contributor

rmrosa commented Sep 13, 2024

Cheguei no mesmo problema. Já encontrou a solução?

@rmrosa
Copy link
Contributor

rmrosa commented Sep 13, 2024

Aparentemente a causa foi ter deixado application.properties a configuração esocialjt.versao-esquemas-esocial="S-1.0". Atualizei para esocialjt.versao-esquemas-esocial="S-1.2"

@cjf-cesar-ferreira
Copy link

Aconteceu no meu órgão (CJF).
O eSocial deu erro no processamento do 1299 mas mesmo com erro no evento o retorno do lote veio com os dados de evento totalizador.
Tiver que fazer uma consulta na tabela EST_EVENTO para validar se o nrRecibo está gravado.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants