9 Replies Latest reply on Feb 22, 2013 6:41 PM by myinception

    Validation Rule: Department cannot have more than 5 employees

      Say there is a LOV of departments. User will select one department, and employees connected with that department will be displayed in the table below.

      Then there will be a button to create an employee. Once entering the data, the user will press Save button. Now there is a validation where the application will check that a department cannot have more than 5 employees.

      I want to know how to create, and where to create such a validation rule, and how?