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
nagarjuna gurajanagarjuna guraja 

Need Soql and Map Querry

1. Wite an soql to find duplicate contact where ContactLastName= ContactFirstName.
2. Using Map collection, If one field on Account Object is modified,.it should be automatically update same field on Contact.(Note:- We should not use trigger.By using Map we should perform the operation).
AnkaiahAnkaiah (Salesforce Developers) 
Hi Nagarjuna,

When duplicate contacts found, what do you want perform on account?

explain clearly about your issue.

Thanks!!
nagarjuna gurajanagarjuna guraja
Hi Ankaiah, My query was to avoid duplicate contact
AnkaiahAnkaiah (Salesforce Developers) 
When user tries to create new contact same name, you should alert user to not create ?

If yes then you need to use the trigger.

Thanks!!

 
nagarjuna gurajanagarjuna guraja
Hi Ankaiah, Could u please help me with the question 2. Using Map collection, If one field on Account Object is modified,.it should be automatically update same field on Contact.(Note:- We should not use trigger.By using Map we should perform the operation). Best Regards,
AnkaiahAnkaiah (Salesforce Developers) 
Where you use map collection? you have to use this map collection either trigger or apex class(this should call from trigger or VF page/Aura/LWC).

Thanks!!
Roger OsborneRoger Osborne
Coin Master Free Spin is a site where you can get free spins (https://coin-master-free-spins.co/) for the popular game Coin Master. The site is easy to use and you can get as many free spins as you want. There is no limit to the number of free spins you can get, so you can keep playing the game and winning more coins.