ADM-201 · Question #314
AW Computing wants to prevent users from updating the Account Annual Revenue field to be a negative value or an amount more than SI00 billion. How should an administrator accomplish this request?
The correct answer is C. Create a validation rule that displays an error if Account Revenue is below 0 or greater than 100. To restrict the 'Account Annual Revenue' field to a specific range (0 to $100 billion), an administrator should create a validation rule that triggers an error when the entered value falls outside this range.
Question
AW Computing wants to prevent users from updating the Account Annual Revenue field to be a negative value or an amount more than SI00 billion. How should an administrator accomplish this request?
Options
- AEnable Account Revenue limits in Setup, with 0 as the minimum and 100 billion as the maximum.
- BBuild a scheduled report displaying Accounts with Account Revenue that is negative or greater
- CCreate a validation rule that displays an error if Account Revenue is below 0 or greater than 100
- DMake the Account Revenue field required on the page layout.
How the community answered
(34 responses)- A6% (2)
- B3% (1)
- C82% (28)
- D9% (3)
Why each option
To restrict the 'Account Annual Revenue' field to a specific range (0 to $100 billion), an administrator should create a validation rule that triggers an error when the entered value falls outside this range.
There is no standard Salesforce feature to 'Enable Account Revenue limits in Setup' with custom minimum and maximum values in the way described.
A scheduled report can *identify* records that violate criteria after they've been saved, but it does not *prevent* users from entering invalid data in the first place.
A validation rule is specifically designed to prevent users from saving records that do not meet defined criteria, such as ensuring a numeric field like Annual Revenue falls within a specific range (e.g., greater than or equal to 0 and less than or equal to 100 billion). When the rule's criteria are met (i.e., the value is invalid), an error message is displayed, preventing the record from being saved until corrected.
Making the Account Revenue field required on the page layout only ensures that a value is entered, but it does not validate that the entered value falls within a specific numeric range.
Concept tested: Data Validation (Validation Rules)
Source: https://help.salesforce.com/s/articleView?id=sf.validation_rules.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.