You need to sign in to do that
Don't have an account?
kpriya Aggarwal
Please help on this Apex Trigger.
I want to show the no of contacts in Account ilike this:
If I have 5 contacts under an Account then these contacts should be shown in account as 1,2,3,4,5 (This sequence must be show in Text field (Show_Contacts__c) )
If I have 5 contacts under an Account then these contacts should be shown in account as 1,2,3,4,5 (This sequence must be show in Text field (Show_Contacts__c) )
Trigger
Test Class
All Answers
Please find the trigger code which populates the required seqence on account after insert of contact record:
Please mark my answer as a best if you have got your answer.
Thanks,
Rahul
test class
Trigger
Test Class