In the Clarity PPM MUX (UX), you are able to submit 0 hours of time for a task even though the Global Delivery (GD) Timesheet Hook Adaptor is installed. This issue happens if you have one or more tasks on the timesheet with hours entered. If there are no hours submitted for any task, it works correctly where you are unable to submit the timesheet.
Steps to Reproduce:
Important: Have the latest Global Delivery (GD) hook adaptor installed. Also, ensure when testing that at least one task has hours submitted. If you submit a timesheet with no hours, the issue doesn’t happen, you get the expected error message based on the rule in the GD hook.
1. Navigate to New UX Timesheets in PPM
2. Click on an open timesheet (in this example, time period Nov 4-10 that has 4 working days)
3. Ensure at least 2 tasks are on the timesheet
4. For the first task, enter 12 hours per day of work
5. For the second task, leave the hours blank (0 hours)
6. Click Submit
Expected Results: The timesheet is not submitted and you receive an error stating: “(rule 3) Error: Your timesheet submission was not successful. Your timesheet contains a task with 0 hours submitted. Your timesheet will remain in unsubmitted status until you make the necessary correction(s) and resubmit your timesheet. Thank You”
Actual Results: No error appears, and the timesheet is submitted for approval successfully