-
-
Save arun12209/02c0a12fb9053cb7dbfcb0b2f19ff03b to your computer and use it in GitHub Desktop.
AccountTriggerHelper.cls
This file contains 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
public without sharing class AccountTriggerHelper { | |
//Constructor | |
public AccountTriggerHelper() { | |
system.debug('Inside AccounttriggerHelper Constructor'); | |
} | |
/** | |
* @description updateAccountOwner method updates accounts owner records. | |
* @param accList | |
*/ | |
public void updateAccountOwner(List<Account> accList){ | |
//write logic to update the account owner | |
} | |
/** | |
* @description updateAddresses method updates contact address if account address is changed, | |
* if more than record found with same zipcode then it gets random record. | |
* @param accList | |
*/ | |
public void updateContactAddress(List<Account> accList) { | |
//write update contacts logic below | |
} | |
//Write other methods here as per your requirements | |
/******************** ADD MORE METHODS*************************/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment