Example validation rule

Use case request: Request is to add a validation check on the Amount field (Opportunity object). If Amount is >10,000 user needs to ensure that it has been entered in USD Millions and not an absolute amount.

Solution

Step 1:

Create a checkbox field (Opportunity Object) and name it “Confirm Amount entered is in USD Million”. Field will be editable and added to the relevant page layout. Update Help Text based on request.

Step 2:

Create validation rule

Test Result: To test the scenario, create an opportunity. Add an amount greater than 10,000 and click on “Save”. Error message we appear.

Leave a comment