Who has dealt with merges in triggers? I know a merge operation (specifically Account merges) fires a delete trigger on the loser, and an update on the winner. To what degree can I, programmatically, detect or interfere with this process? Can I:
React to the content of the record being deleted, and prevent the merge from happening?
Always copy certain fields from the loser to the winner, no matter what the user selects?
Inspect the content of the winner AND the loser, and through some logic, decide to let the merge go through or not?
Within the delete or update triggers, differentiate between a regular update or delete, and one that is fired as a result of a merge?