Erro: Ao tentar excluir um afastamento o sistema apresenta a seguinte mensagem: Esta informação não pode ser excluída pois está em uso no sistema. The DELETE statement conflicted with the REFERENCE constraint "FK FICHASFINANCEIRAS_HIST”, The conflict
ocurred in database "xxxxxxx”, table.dbo FICHASFINANCEIRAS”, column IDDOCONTHIST.
The statement has been terminated:
Motivo: O afastamento no qual está sendo excluído, está vinculado a uma folha.
Solução: Realizar o processo de Reabertura de consolidação da folha (se a mesma estiver fechada). E em seguida, Excluir a folha vinculada.
Após realizar a exclusão da folha o afastamento será liberado para exclusão.