問題文
A logistics company stores Shipment records in a custom object that has a lookup relationship to Account. Finance wants every Account record to display the total freight cost of all of its shipments, kept current automatically whenever a shipment amount changes. The team prefers to stay declarative. Which statement correctly describes what is achievable?
選択肢
- A roll-up summary field needs a master-detail relationship, so either the lookup is converted to master-detail or a record-triggered flow maintains the total.
- A cross-object formula field on Account can sum the freight cost of every related Shipment record as long as the lookup field on Shipment is marked as required, so no change to the relationship type is needed at all.
- A roll-up summary field works on any lookup relationship.
- Only Apex code can maintain a total on a parent record, and declarative automation is unable to write to a related record.