Change or remove the delete action

I have developed a contact management application with a mysql backend. The records in this database are later used to create contact accounts in our Windows Active Directory domain. I have a Windows Powershell script that queries the database periodically for all records that are flagged (create_this=1) for processing then create the AD contact accounts accordingly.
At the moment, deleting a contact record in the database has no impact on the related account in AD. What I would like is for all Xataface delete actions to simply "flag" the record for deletion instead of removing it entirely. Is there a way to customize the delete action so that the affected records are flagged, i.e. set the delete_this field to 1 then hidden the record from the list view? The Powershell script will be updated to find these records then remove the corresponding AD accounts.

At the moment, deleting a contact record in the database has no impact on the related account in AD. What I would like is for all Xataface delete actions to simply "flag" the record for deletion instead of removing it entirely. Is there a way to customize the delete action so that the affected records are flagged, i.e. set the delete_this field to 1 then hidden the record from the list view? The Powershell script will be updated to find these records then remove the corresponding AD accounts.
