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
Shubham SengarShubham Sengar 

contact Fee detail by trigger

How to write a trigger to calculate all contact fee by particular class wise ...
like we have 5 class then first search how many student in every clsss particularly   (salesforce student =?)
 then give all fee detail 
Fee Paid Details = First Installment + Second Installment or Paid Full Fee
 ​where Fee Paid  Details is class object's field and remaning three like First Installment ,Second Installment , Paid Full Fee is Contact object's field..??

contact object connect with lookup with class object