CRT-101 practice question 7 of 30

The VP of sales at Universal Containers wants to prevent members of the sales team from changing an opportunity to a date in the past. What should an administrator configure to meet this requirement?

Full set: 248 questions
Answer options
A: Assignment Rule
B: Validation Rule Correct answer
C: Field-Level Security
D: Approval Process
Correct Answer:
B. Validation Rule
Explanation

A validation rule is the appropriate tool to enforce data integrity standards before a record is saved. An administrator can create a validation rule on the Opportunity object with a formula that checks if the date field being modified is less than the current date (TODAY()). If this condition is true, the rule triggers an error message, preventing the user from saving the record with a date in the past. This directly meets the VP of Sales' requirement to prevent invalid data entry.

Why Incorrect

A. Assignment Rule: This feature automatically assigns leads or cases to specific users or queues based on defined criteria; it does not validate the data within a record's fields.
C. Field-Level Security: This controls a user's ability to view or edit a field. It cannot conditionally prevent a save based on the specific value being entered into the field.
D. Approval Process: This automates the process for approving records after they have been submitted. It does not prevent a user from entering specific data values initially. ---

References

1. Salesforce Help Documentation, "Validation Rules": "Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record. A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value of 'True' or 'False'. Validation rules also include an error message to display to the user when the rule returns a value of 'True' due to an invalid value." This document confirms that validation rules are the mechanism for enforcing data standards upon saving a record.

2. Salesforce Help Documentation, "Examples of Validation Rules": This document provides numerous examples of validation rule formulas. A relevant example for this scenario would be a formula like CloseDate < TODAY(). This formula checks if the Opportunity Close Date is before the current date, which is precisely the logic required to solve the problem.

3. Trailhead, "Formulas and Validations" Module, "Validation Rules" Unit: "Validation rules are a great way to enforce conditional business logic... When a user saves a record, all validation rules are run. If any validation rule evaluates to true, the record is not saved, and a user-friendly error message is displayed." This official training material explicitly states that validation rules are the tool for preventing a record save based on conditional logic.

Scroll to Top