function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pratik MungalparaPratik Mungalpara 

Is it possible to automatically update Contact Hierarchies

Org is using Contact Hierarchies. It's generated automatically based on report to field which is standard functionality. let say contact A is on top. Contact B is reporting to contact A and Contact C is reporting to Contact B. We are using custom field "inactive" on contact object. 
So let say when we mark Contact B Inactive then it should be either replace it with new person who has been assigned to that role. If i simply remove "report to" filed from contact B then it will be removed from contact hierarchies but in that case Contact C will be also not show up in contact hierarchies since it report to contact B which is inactive. 
So is there any work around to keep Contact Hierarchies up to date automatically whenever any contact mark inactive?
ShirishaShirisha (Salesforce Developers) 
Hi Pratik,

Greetings!

Seems like you can update the Contact Hierarchies automatically using the Trigger to fire whenever the Contact is marked as inactive and change the Report To field to the next field as suggested here (https://trailblazers.salesforce.com/answers?id=9064S000000DR4mQAG).

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri

 
terry ade 3terry ade 3
ORDER YOUR DOCUMENT THROUGH CALL OR TEXT OR WHATSAPP +1 (202) 570-4495

ORDER YOUR DOCUMENT NOW ( Website ; http://www.idocsglobal.com/ )

Buy Registered Passports, License Driver, IELTS & TOEFL, ESOL Certificates No Assist TEST (steveningate@gmail.com (mailto:steveningate@gmail.com" target="_blank))


CONTACT

Website ; http://www.idocsglobal.com/

  Whatsapp: +1 (202) 570-4495

USA / CANADA CALLED OR TEXT ----- + 1 (202) 570-4495

  Contact us on=========steveningate@gmail.com (mailto:steveningate@gmail.com" target="_blank)

General Support ======== terryadn@gmail.com (mailto:terryadn@gmail.com" target="_blank)



Buy Now Passports, Driving Letter, Identification Cards, Visa, Diploma, IELTS, TOEFL, GRE, GMAT, SAT etc ... steveningate@gmail.com (mailto:steveningate@gmail.com" target="_blank)

Real registration application Passport, Visa, Driving license, IDENTIFICATION CARDS, marriage certificates, diplomas etc for sale Guaranteed 24-hour passport, citizenship, identity cards, driver's license, diplomas, degrees, service certificates available. Tourist and business visa services available to residents of all 50 states and all nationalities around the world. They are unique producers of authentic high quality passports, Real Genuine registered database and unregistered passports and other citizenship documents. I can guarantee a new identity from a new and clean authentic birth certificate, identity card, driver's license, passports, social security card with SSN, credit and credit card files, school diplomas, school grades in an entirely new name issued and registered in the government's database system. We use high quality equipment and materials to produce authentic and fake documents. They are carefully duplicated for our registered and unregistered documents. we are the sole producer of false and true quality documents. We offer only high quality original registered and unregistered passports, driver's licenses, ID cards, stamps, visa, school diplomas and other products for a number of countries like: United States, Australia, Belgium, Brazil, Canada, Italy, Finland, France, Germany, Israel, Mexico, Netherlands, South Africa, Spain, United Kingdom.

ORDERING ANY UNIVERSAL DOCUMENT YOUR NEED PASSPORTS Identification Card Social Security Card Driver's License Cards Canada Cards United States Cards Student Cards International Cards Private Cards Adoption Certificates Baptism Certificates Birth Certificates Death Certificates Divorce Certificates Marriage Certificates Personalized Certificates Secondary Diplomas GED Diplomas Home School Diplomas University Diplomas University Diplomas Certificates of Trade Skills Validate SSN Number Green Cards of the United States Fake Dollars / Euro Spy Products Voice Changers Listening Devices Invisible Ink DMV Registration Research Research Background Anyone

Registered and unregistered passport of all countries. Visas, biometric passport, grades, driver's license, identification cards. GCSE M Certificates, A-levels, High School Diploma Certificates, GMAT, MCAT and LSAT Test Certificates, Novelty Birth, Marriage, and Death Certificates, Novelty Passports and New Identity Packs, Replicates, Actual Degrees / Diplomas from most post-secondary institutions around the world (we have more than 3000 templates in the archive) designed to look 100% identical to the original. we do not have the template in the file anymore - simply send us a copy by email and we can make any alterations / modifications according to your directions). second, citizenship, identity, identification, documents, diplomat,

BUY REAL DOCUMENTS
 
  Website ; http://www.idocsglobal.com/  

Our contacts include former private investigators, consulates, senior government officials and experienced experienced experts, we have strong connections with superior personnel in all areas of the actual registration documents and the change of passports in these countries that are linked to the passport agency In each of these countries and with the help of your connections, all our clients demanding any citizenship document or passport from any country are guaranteed 100% as well as guaranteed high quality real genuine registered documents that can never be identified as false! Not even an officer or a customs machine of experience can ever dictate the document as false since the document is not different from the actual government published! All our authentic database Real registered citizenship documents have their personal data registered in the database system and 100% readable by machine. Feel free to obtain additional detailed information about our services. I sincerely hope to find a way to cooperate with you. If any of these products interest you, please feel free to contact us. We will give you our best price upon received from your detailed inquiry.email. Call whatsapp or text. If any of these products interest you, please feel free to contact us. We will give you our best price upon received from your detailed inquiry.email. Call whatsapp or text. If any of these products interest you, please feel free to contact us. We will give you our best price upon received from your detailed inquiry.email. Call whatsapp or text.