You need to sign in to do that
Don't have an account?

child records update to parent object and also count all the records?
hi floks
i have one requirment .in child object we create a record it ill update to parent record also
and it has to count all the records ..
pls help how to slove this ...
i have one requirment .in child object we create a record it ill update to parent record also
and it has to count all the records ..
pls help how to slove this ...
https://developer.salesforce.com/forums?id=906F00000008ugtIAA
It has sample code which can customize as per your requiement.
thank u for quick rply.
i have count all the records how to do this ?
If yes, you can count the contacts related to the Parent by using the SOQL query by filtering the Child contacts using the Account ID as filter in AccountID field