QuestionQ31

VerifiedExtending Custom Objects and Applications

AW Computers wants to enhance Salesforce to track conference rooms and IT equipment. An administrator created a custom object named Room and a custom object named Equipment. Equipment has two fields: a currency field, Price, and a lookup relationship to Room.

During user acceptance testing, management asked to total all Price values and show the result on the related Room record.

How should an administrator accomplish this?

Explanation

A standard roll-up summary field requires a master-detail relationship, whereas Equipment has a lookup relationship to Room. A record-triggered flow on Equipment can calculate the aggregate Price for the related Room and update it whenever an Equipment record is created, updated, or deleted.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!