At present, my organization using the territories(tm 1.0) for sharing accounts. If user want to manual share account to specific territory he can do that in UI.
But we need to feature to account share history tracking so I create the account share history custom object and a batch. Batch runs every day and add records to that object, but there's a problem with deleting shared record. The record from AccountSharing (when user clicks deselect and save from UI) is deleted completely(not transferred to the trash). So I'm not able to get information about who deleted the given sharing.
The question is whether there is an option that I do not know and would help solve the problem?