Created
July 17, 2015 16:24
-
-
Save miragedeb/0ef8f887bd6c14f678bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger MasterContactTrigger on Contact( | |
before insert, after insert, | |
before update, after update, | |
before delete, after delete) { | |
if (Trigger.isBefore) { | |
if (Trigger.isInsert) { | |
//Transfer all newly created contacts to SFDC99 Account | |
TransferContact tfc = new TransferContact(Trigger.new); | |
tfc.assignToAccount(); | |
} | |
if (Trigger.isUpdate) { } | |
if (Trigger.isDelete) { } | |
} | |
if (Trigger.IsAfter) { | |
if (Trigger.isInsert) { } | |
if (Trigger.isUpdate) { } | |
if (Trigger.isDelete) { } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment