Deleted Records Re-appear

Good day,

 My Navision is driving me nuts.

After posting a journal, the entries briefly disappear and appear again after a few seconds.

I have done the following with no luck

1. Included a commit after the delete in the posting routine

2. Added exit(true) in the OnDelete trigger

3. Check for redundant functions that might be reinserting the lines, nothing

 

The most perplexing thing is that, this is also happening at table level. If i try delete the records in the journal table, they repopulate a few seconds after.

 

Douglas

  • Check your code further after deleting if you are again inserting the same records which were marked for deletion because there is no way that once records get deleted it reappears in the table, either your code OnDelete trigger is not firing or you have a code to reinsert the same records.
  • In reply to sbhatbng:

    @ sbhatbng,

    Thank you. You were right. There was an automated report repopulating the journals from a buffer table. Functioning normally, the automation should clear the buffer entries. It wasn't.
Related