Can You Have A Roll Up Summary Field In Case Of Master-detail Relationship?
Answer»
Yes. You can have a roll-up summary in case of a master-detail relationship. But not in case of a lookup relationship.
A roll-up summary field is used to DISPLAY a value in a master record based on the values of a set of fields in a detail record. The detail record must be RELATED to the master through a master-detail relationship.
There are 4 CALCULATIONS that you can do using roll-up summary field. You can count the number of detail RECORDS related to a master record. Or, you can calculate the sum, MINIMUM value, or maximum value of a field in the detail records.