...
•You can change the construction of the actual Salesforce Account Name with Name Definitions - Accounts
...
Certain actions trigger AQ to update the Account Name :
Drawio | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From AQ
The following actions will cause an update of the Account Name:
Changes to:
Salutation link
Salutation
First Name, Middle name, last name
Suffix
AQB_Suffix
Nickname
Professional Suffix
Inst. Suffix
Inst. Suffix override
Change primary/secondary contact on account
Running Lightning Contact Utility for join/decease/split will update contact names
here is a script to run the update account names by batch. THis need to be running off hours in production
Code Block | ||
---|---|---|
| ||
AQB.AutomatedAccountNamesUpdateBatch clsScheduleAutomatedAccountNamesUpdate = new AQB.AutomatedAccountNamesUpdateBatch();
ID idBatch = database.executeBatch(clsScheduleAutomatedAccountNamesUpdate, 1000); |
Scenarios where Account Name Override is Empty and contacts are directly linked to the account
|
|
|
| |||
---|---|---|---|---|---|---|
| ||||||
Mr Manny Pacquaio | Mr Manny Pacquaio and Mrs Jinky Pacquiao | Mr Manny Pacquaio | Mrs Jinky Pacquiao | Hello World
| ||
Mrs Jinky Pacquiao | ||||||
Scenarios where Account Name Override is Empty and Contacts are set as Primary/Secondary
|
|
| |||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Mr Manny Pacquaio | Hello World
| Mr Manny Pacquaio
| Mrs Jinky Pacquiao
| ||||||
Mrs Jinky Pacquiao | |||||||||
Scenarios where Account Name Override is filled
| |||
---|---|---|---|
| |||
Mr Manny Pacquaio | Hello World
| ||
Mrs Jinky Pacquiao | |||