Skip to main content

Payroll Calculation Failure Troubleshooting

Summary

This page records confirmed payroll calculation failure troubleshooting behavior and marks incomplete boundaries explicitly.

Audience

Payroll users, developers, QA and support engineers, architects, and implementation reviewers.

Symptoms

Calculation cannot load, future period is rejected, rows are missing, save fails, or native calculation reports missing inputs.

Cause

Confirmed causes include invalid period, Frozen run, absent eligible workforce, missing required Attendance projection, incomplete employee identity/compensation inputs, or compatibility dependency failure.

ObservationLikely confirmed boundaryNext evidence
Future period rejected before requestClient/compatibility period validationSelected month/year and UI validation state
Native run already FrozenLifecycle validationTenant/period run status
No employee rowsWorkforce eligibility or compatibility dependencyProjection/read response and route family
Specific employee missing from native resultWorkforce identity or required Attendance snapshotProjection timestamps for that employee/period
Leave/expense value absentOptional projection missing or staleInspect that projection independently; do not block Attendance checks
Save timed outCommit outcome unknownRead run/detail/audit/outbox state before retry

Resolution

Confirm period and lifecycle status, then projection freshness for workforce and Attendance. Check optional inputs independently. Retry only after the source condition is corrected. Do not invent missing Attendance or edit calculated persistence directly.

If native and compatibility results differ, stop treating the issue as a single calculation defect. Capture which route family produced each result and use supported parity evidence. Escalate unresolved formula or rounding differences to Payroll engineering with synthetic reproduction data; do not include compensation values from production.

Validation

Recalculate in an approved test scope and confirm a Calculated run/detail with audit/outbox evidence or a saved compatibility row, depending on the route used.

Source References

  • UI/salary-ui/apps/client-hrms-portal/src/pages/salary/CalculateSalaryPage.tsx
  • microservices/src/payroll-service/Application/PayrollCalculationService.cs
  • microservices/src/payroll-service/Application/PayrollCompatService.cs
  • microservices/src/payroll-service/Messaging/PayrollReadModelConsumer.cs

See Also

Keywords

  • Payroll troubleshooting
  • Payroll Calculation Failure Troubleshooting

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly