Skip to content

Commit

Permalink
Performence of tracked deleted records (Bertverbeek4PS#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertverbeek4PS authored Nov 18, 2024
2 parents 7ff79dd + bd894ce commit 6a89127
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions businessCentral/app/src/ClearTrackedDeletions.Codeunit.al
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ codeunit 82573 "ADLSE Clear Tracked Deletions"
ADLSEDeletedRecord.DeleteAll(false);

ADLSETableLastTimestamp.SaveDeletedLastEntryNo(ADLSETable."Table ID", 0);

Commit(); //Because of very large numbers of records, we commit after each table.
until ADLSETable.Next() = 0;
Message(TrackedDeletedRecordsRemovedMsg);
end;
Expand Down

0 comments on commit 6a89127

Please sign in to comment.