This section lists common Pension related errors that may appear in Audit log when you running payroll from XCD.
Message (on Click Log):
Divide by 0
User message description:
An Exception has occurred while creating Pay detail for Compensation, Regular pension contributions or Pension salary sacrifice for employee: Employee name. Please check compensation record is set correctly. Exception occurred during retro processing of Payrun month/week
Error line number may appear: 66, 70, 75,79
This error occurs if Pension scheme is missing on the compensation but pension contribution basis is populated.
We recommend you check the following then try re-draft employee:
On the compensation record, check if there is pension scheme
If no pension scheme should be populated, remove pension contribution basis and ensure all contribution are set to 0 (Employee and employer - percentage and fixed)
Message (on Click Log):
Blank
User message description:
A Pay Detail is marked as pensionable, but has not been linked to any Compensation. It has not been included in pension calculations. If you would like it included, please ensure that a Compensation link is provided :Employee name
This error means one of employee's pensionable payment has not linked successfully to a Compensation record - this is required to calculate pension.
We recommend you check the following then try re-draft employee:
Check employee's pay summary and identify any payments are marked as pensionable, this maybe an one-off, regular, overtime or absence payment
Open the payment record and check if Financial Control (Compensation) is populated. If not, link it to the current Compensation record or contact Support
Message (on Click Log):
SObject row was retrieved via SOQL without querying the requested field: xcdhcm__Compensation__c.xcdhcm__First_payment_made__c
User message description:
An Exception has occurred while calculating variable pension payments for employee : Employee's name
This error means system failed to create pension pay detail from a compensation.
We recommend you check the following then try re-draft employee:
On the employee's compensation record, check the first period payment is populated with a correct value
Please contact support team to run further check if first payment made link is populated correctly
Message (on Click Log):
Attempt to de-reference a null object
User message description:
An Exception has occurred while calculating variable pension payments for employee : Employee's name
Line number may appear: 66, 69
This error may occur during additional run for one-off pay element
We recommend you check the following then try re-draft employee:
On the employee's compensation record, check the pension scheme is linked cprrectly
Message (on Click Log):
Attempt to de-reference a null object
User message description:
An Exception has occurred while calculating auto enrolment pension payments for employee : Employee's name. Please check auto enrolment pension details are set correctly.
Line number may appear: 289, 309
This error may caused by various reasons:
One or more pensionable payments are processed with £0 value
A compensation was deleted that created a payroll event which generated this error
We recommend you check the following then try re-draft employee:
On employee's pay summary, locate any compensation records which are linked to timesheet and overtime records
Check if there any confirmed timesheet with 0 payment amount and cancel those timesheet
If error occurs during retro run, check if there is payroll event created from deleting a Compensation and cancel the event