Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 204 discussion

Actual exam question from Salesforce's CRT-450
Question #: 204
Topic #: 1
[All CRT-450 Questions]

An org tracks customer orders on an Order object and the line items of an Order on the Line Item object. The Line Item object has a Master/Detail relationship to the Order object. A developer has a requirement to calculate the order amount on an Order and the line amount on each Line Item based on quantity and price.
What is the correct implementation?

  • A. Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.
  • B. Write a process on the Line Item that calculates the item amount and order amount and updates the fields on the Line Item and the Order.
  • C. Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.
  • D. Implement the line amount as a currency field and the order amount as a SUM formula field.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Brauliongon
Highly Voted 3 years, 3 months ago
C. Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.
upvoted 14 times
AK112233
2 years, 10 months ago
D is correct. You can't create roll-up summary field on formula fields
upvoted 1 times
noox
2 years, 10 months ago
Yes you can, you can't reference formula fields who uses function like Now(), Today(), etc... Thats it
upvoted 6 times
...
irina_735
1 year, 2 months ago
If a roll-up summary field doesn’t contain cross-object field references or functions that derive values on the fly, such as NOW or TODAY, it can calculate the values of formula fields. https://help.salesforce.com/s/articleView?id=sf.fields_about_roll_up_summary_fields.htm&type=5
upvoted 1 times
...
...
...
irina_735
Most Recent 1 year, 2 months ago
Selected Answer: C
https://help.salesforce.com/s/articleView?id=sf.fields_about_roll_up_summary_fields.htm&type=5
upvoted 1 times
...
smoota
1 year, 10 months ago
Selected Answer: C
There is no Sum formula field
upvoted 3 times
...
Dean5555
2 years, 1 month ago
Selected Answer: C
Answer is C)
upvoted 2 times
...
SpiritualBeing
2 years, 3 months ago
C is the correct answer
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...