Merge event fires after delete triggers for the losing records and before update triggers for the winning record only - is this correct ?
Are there other before/after events for which trigger is fired ?
Merge events do not fire their own trigger events. Instead, they fire delete and update events as follows: Deletion of losing records
Update of the winning record
The following is the order of events when a merge occurs:
The before delete trigger fires.
The system deletes the necessary records due to the merge, assigns new parent records to the child records, and sets the MasterRecordId field on the deleted records.
The after delete trigger fires.
The system does the specific updates required for the master record. Normal update triggers apply.
Source : http://goo.gl/9IZyi
Discussion : http://goo.gl/iMcraj
A trigger is Apex code that executes before or after the following types of operations: