Hi,
We're having "PayrollCalculatePayStatementTaxes object not initialized" error on AX2012 R2 when generating pay statement via Payroll > Periodic > Generate pay statements.
The error is specifically in PayrollCalculatePayStatementTaxes.initializeTaxEngine() method line 32:
The thing is, this only happens in Production environment. The error randomly disappears after restarting the AOS few times but it keeps resurfacing every month.
We tried to restore Production database to a staging environment but unable to replicate the error.
Everything leading to this error seems like standard code so we have no idea what to do.
Is this a known issue? Or is there any setup we need to check?
Thank you.