A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master- Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?

QuestionsCategory: CRT-450A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master- Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?
Admin Staff asked 4 months ago
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-
Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?

A. A Visualforce page that calculates the total number of hours for a timecard and displays it on the page

B. A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard

C. A Process Builder process that updates a field on the timecard when a timecard entry is created

D. An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field








 

Suggested Answer: B

Community Answer: B



This question is in CRT-450 Salesforce Certified Platform Developer I Exam
For getting Salesforce Certified Platform Developer I











Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.