We have customer invoices that come across to D365 FO and create a general journal. Due to certain errors, I occasionally have to delete the entire journal before posting it. These are usually large, 5,000 - 10,000 lines. If I try to delete the journal itself, it times out. So I have to delete groups of lines at a time. I filter on specific criteria (e.g. customer number beginning with 1) and delete that group of lines, then filter on another criteria (e.g. customer number beginning with 2) and delete that group, and so on. Each group takes 10-60 minutes to delete.
I'm looking for suggestions on ways to speed up this process. Or another method to delete the lines?
We’re on version 10.0.24 PU48.