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
shivangi shailesh 8shivangi shailesh 8 

Need to wirte for fetching list view values and use the values for calculation and display the result on the list view

Hi ,
On list view i have to write the trigger to get the value in the field Result__c which is a field on SLA_SNAPSHOT__C object (child).Parent object has field A__c,B__c  AND FORMULA__c so here in list view if suppose previously A__c value is 23 and B__c value 45 then according to the formula which is dynamic so can be anything for eg.(A/B)*100 .Now i want if i have update these values of A and b in list view then according to the formula ,result value should also get changed.I am writng trigger for this but not able to getting issues in converting formula.  

Thanks in advance.