3CS:
Concern: After deselecting all user type, User name still shown.
Cause: code implementation not exist to handle this case.
Coŕrection: After deselecting all user type this will display as empty and validation will not shown for username section but when we click on preview it will shown select username validation.
While working on this we found below four problems:
1. If user select employee role then it was always showing atleast one employee should select.
2. If user select employee role user type along with other role types then it was not showing result of employees.
3. If selected user type will not have list of users then it was showing select user.
4. If user list is more than 1000 characters then it was throwing data-source error.
Now we have resolved above both problems as follows.
1. If user select only employee then it will show all employee in user name section and will not fire validation.
2. If user select employee role type with combination of other roles then we have added "All Employee" as option in user name section. All we will get result based on the selection of user names.
3. If selected user types not have any users to selection then it will show empty box of usernames. If employee selected in user type then will All employee will appear into section.
4. Now we have extened limit of charactes and set to max so it will work for any number of users.
Affected files:
\OnlineEnrollment\04_Stored Procedures\dbo.OES_SP_GetSystemUtilizationInformation.StoredProcedure.sql
\OnlineEnrollment\04_Stored Procedures\dbo.OES_SP_SystemUtilization.StoredProcedure.sql
\Web Projects\BenAdmin\Areas\Report\Views\Report\DashboardReports\SystemUtilizationReport.cshtml
Affected Areas: Quick link system utilization report.
Tested Scenarios:
1. Verified validations on different combinatios os select and deselect.
2. Verified report output through preview report with different usernames and usertypes combinations.
3. Verified list of usernames appering or not in case of selection of employee with other user types.
4. Verified list of populated usernames in case of selection of multiple user roles.
CC: Prasanna Karlekar
CC: Rakesh Roy Prasad Pise Hrishikesh Deshpande Sachin Hingole