+ Start a Discussion
vivek ravivivek ravi 

hi i need add task fields and want to update in the custom record fields

i have custom object name milestone and i have fields in tha called percentage
i have created custom fields in task name has percentage
now what i need is when ever im creating the task for particular milestone  record. the milestone record fields percentage has to be update with the sum of the percentage field in the task, when ever im creating new task the milestone record percentage fields has to be change

can any suggest me any code for this are any blogs  
Hi Vivek, I just came across one of the posts that has the solution to your request. It is almost similar request but with few changes.

Below is the link to the post

In the above post in the code part, change the whoid to whatid as we are not dealing with contact or leads.

Hope it helps !!