Jump to content
Seja Membro VIP - Remova Banners de Propagandas, Tenha Liberado Qualquer Download, Além de Acessos em Áreas Exclusivas!! ×

Transferencia entre empresas the insert statement conflicted with the foreign key constraint "fkaparfun_aparcol"


Recommended Posts


  • Topic Count:  13
  • Topics Per Day:  0.03
  • Content Count:  28
  • Content Per Day:  0.06
  • Reputation:   5
  • Achievement Points:  212
  • Solved Content:  0
  • Days Won:  1
  • Status:  Offline
  • Age:  24
  • Device:  Windows

Posted

Boa tarde pessoal estou realizando uma transferência entre empresas, e estou com o erro abaixo: 

Funcionário 011100144: Houve um erro de incompatibilidade de informações entre as coligadas, não foi encontrado o código na coligada destino. The INSERT statement conflicted with the FOREIGN KEY constraint "FKAPARFUN_APARCOL". The conflict occurred in database "dbCorporeRM_hmg", table "dbo.APARCOL".
The statement has been terminated.

 

Alguém já chegou a pegar este erro?

Screenshot_26.png

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic


  • Topic Count:  925
  • Topics Per Day:  0.13
  • Content Count:  9,086
  • Content Per Day:  1.31
  • Reputation:   369
  • Achievement Points:  109,030
  • Solved Content:  0
  • Days Won:  229
  • Status:  Offline
  • Age:  52
  • Device:  Windows

Posted

Os parâmetros coletivos (no ponto) que você tem na coligada de origem, precisa ter os mesmos códigos no destino também. Ao menos o que está sendo usado neste funcionário.

Após copiar eles antes, ou inserir manualmente, pode tentar de novo que deve conseguir. 


  • Topic Count:  13
  • Topics Per Day:  0.03
  • Content Count:  28
  • Content Per Day:  0.06
  • Reputation:   5
  • Achievement Points:  212
  • Solved Content:  0
  • Days Won:  1
  • Status:  Offline
  • Age:  24
  • Device:  Windows

Posted

Bom dia, obrigado pelo retorno Jair, vi aqui realmente estão diferentes na coligada de destino. Sabe me dizer como realizo a alteração? 

Screenshot_29.png


  • Topic Count:  13
  • Topics Per Day:  0.03
  • Content Count:  28
  • Content Per Day:  0.06
  • Reputation:   5
  • Achievement Points:  212
  • Solved Content:  0
  • Days Won:  1
  • Status:  Offline
  • Age:  24
  • Device:  Windows

Posted

Cheguei a corrigir o código que de fato estava divergente, porém estou com outro erro.

SQK.png

PONTO SINDC.png

TIMEOUT.png


  • Topic Count:  925
  • Topics Per Day:  0.13
  • Content Count:  9,086
  • Content Per Day:  1.31
  • Reputation:   369
  • Achievement Points:  109,030
  • Solved Content:  0
  • Days Won:  229
  • Status:  Offline
  • Age:  52
  • Device:  Windows

Posted

Mass este erro de Timeout está ocorrendo em qual momento?? Tentando fazer o quê??Se você fez alguma alteração no BD, pode ser que tenha aberto uma transação e não fechou, ai no sistema fica travado algumas tabelas ( pode ocorrer isso ) até que você der um COMMIT e ROLLBACK, mas se não for o caso, teria que analisar o processo que gerou esse erro do timeout.


  • Topic Count:  13
  • Topics Per Day:  0.03
  • Content Count:  28
  • Content Per Day:  0.06
  • Reputation:   5
  • Achievement Points:  212
  • Solved Content:  0
  • Days Won:  1
  • Status:  Offline
  • Age:  24
  • Device:  Windows

Posted

Não foi o caso Jair, a alteração que realizei foi via sistema mesmo. Abri um chamado para TOTVS para auxiliarem, obrigado 😄

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.