• Prakash B 28
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Can anyone tell me how to write trigger for this scenario?

Two objects are in lookup relationship - Department (parent) and Employee . Employee has "Amount" field and Department has "Total Amount ". I need to write trigger to calculate sum of "Amount" of child records and display it on Dept. object.