9 Replies Latest reply: Feb 22, 2013 12:41 PM by myinception RSS

    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?