Bug 19000

Summary: In the "Total Accrued Hours Available for Use" field, the value displays incorrectly whenever a deleted check has an applicable carryover limit. The scenario is explained below.
Product: Salesforce Payroll Reporter: Balaji <saibalaji>
Component: Employee SetupAssignee: Jyothi <jdevi>
Status: CLOSED ---    
Severity: Medium CC: btadepalli, cpavankumar
Priority: Medium    
Version: Build-44   
Hardware: Windows   
OS: Browser - Chrome   

Description Balaji 2026-04-06 11:03:08 IST
In the "Total Accrued Hours Available for Use" field, the value displays incorrectly whenever a deleted check has an applicable carryover limit. The scenario is explained below.

Steps to Reproduce
Set Carry-Over Hours Limit to 20.00.

Set Carry-Over Date to 03/30/2026.

Set accrual to earn 10 hours per check.

Generate 4 paychecks on different dates before the carry-over date. Observe: Total Accrued Hours = 40 (expected).

Generate one paycheck after 03/30/2026. Observe: Total Accrued Hours = 30 (per carry-over logic).

Delete the last generated paycheck (the one after the carry-over date).

Check the Total Accrued Hours.

Actual Result:
Total Accrued Hours shows 20.

Expected Result:
Total Accrued Hours should revert to 40 after deleting the last paycheck.
Comment 1 Bhavya 2026-04-07 15:37:48 IST
After publishing the code, the bug is resolved and working fine.
Comment 2 pavan 2026-05-14 14:24:36 IST
Now working fine as expected.