Timesheet - Leave Requests for partial days do not always adjust correctly
Description
Environment
Attachments
Activity

Lamia Bedjou last week
Testing Successful:
✅Create a Timesheet period and shift for a position.
Create a Timesheet for that position.
✅Create a single day leave request that “splits” one of the Timesheet line items. For example, say the Timesheet has a line item that is on 4/14 from 8 am to 4 pm. To split this line item, create a single day leave request on 4/14 from 9 am to 3 pm.
✅Approve the create request from the escalated approval view.
✅After the request has been approved, view the previously create Timesheet. On the day the request was created, there should now be 3 line items. There should be 2 timesheet line items, with a leave request line item separating them. So, using the previous example, there should be a Timesheet line item on 4/14 from 8-9, then a Leave Request line item on 4/14 from 9-3, and finally another Timesheet line item on 4/14 from 3-4.
✅After confirming the split worked correctly, go to the Leave Request view and cancel the Leave Request you created.
✅Go back to the Timesheet. Now, the Leave Request line item should be gone, and the two Timesheet line items should have combined back into one Timesheet line item
Note :
If you change the activity type of one of the Timesheet line items before cancelling the request, they will not combine. Cancelling the request will simply remove the Leave Request lien item in this case.

Sam Jones last weekEdited
Testing - https://ess-1283-ess.ssdt-ohio.org/
Create a Timesheet period and shift for a position.
Create a Timesheet for that position.
Create a single day leave request that “splits” one of the Timesheet line items. For example, say the Timesheet has a line item that is on 4/14 from 8 am to 4 pm. To split this line item, create a single day leave request on 4/14 from 9 am to 3 pm.
Approve the create request from the escalated approval view.
After the request has been approved, view the previously create Timesheet. On the day the request was created, there should now be 3 line items. There should be 2 timesheet line items, with a leave request line item separating them. So, using the previous example, there should be a Timesheet line item on 4/14 from 8-9, then a Leave Request line item on 4/14 from 9-3, and finally another Timesheet line item on 4/14 from 3-4.
After confirming the split worked correctly, go to the Leave Request view and cancel the Leave Request you created. Go back to the Timesheet.
Now, the Leave Request line item should be gone, and the two Timesheet line items should have combined back into one Timesheet line item. Note that if you change the activity type of one of the Timesheet line items before cancelling the request, they will not combine. Cancelling the request will simply remove the Leave Request lien item in this case.
Details
Assignee
Sam JonesSam JonesReporter
Marc DavisMarc DavisQA Reviewed
Apr 10, 2025QA Reviewers
Lamia BedjouStory Points
2Sprint
Fix versions
Priority
Low
Details
Details
Assignee

Reporter
QA Reviewed
QA Reviewers

If a leave request was taken for 2 hours in the middle of the day the timesheet line items do not adjust as users expect
Line Item 1 - 8 - 10am
LR Line Item - 10-12pm
Line item 2 - 12-4pm