Codeunit 70666591: OnBeforeDeleteRecordsFromTable(TableId: Integer; var IsHandled: Boolean)
This function can be used to delete records from tables that are protected but not part of the list if suggestions by the record deletion tool. It could for example be that there are extensions installed that are not standard Microsoft extensions that have protected tables. Below is an example of how to accomplish this. Note the Permissions added to the Codeunit.

Codeunit 70666591: OnSuggestRecordsToDelete(var IsHandled: Boolean)
With this function you can add to the list of tables that’s part of the suggestions to delete records from. Below is an example of how to do that.


