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
Abhishek chauhan 20Abhishek chauhan 20 

hi i want to add two field of child obj an put sum in a parent obj || name of child obj = " Object_2__c " field name = " Amount_Paid__c & Amount_Due__c " result in parent obj name = " Object_2__c " field name = " Sum__c"

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Abhishek,

Do you want to add all the child objects  two field sum in parent object.

Thanks,
 
Abhishek chauhan 20Abhishek chauhan 20
yes only value of these two field in a parent field; like this " Sum__c =   Amount_Paid__c + Amount_Due__c ";
Amount_Paid__c + Amount_Due__c these fields are in child obj
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Abhishek,

If parent has 5 childs. Do you want to sum up all those five record values?

Thanks,
 
Abhishek chauhan 20Abhishek chauhan 20
yes correct