This section lists common Absence related errors that may appear in Audit log when you running payroll from XCD.
Message (on Click Log):
Attempt to de-reference a null object
User message description:
An Exception has occurred while calculating Statutory/occupational rates and dates for :Employee name for Leave request LR-xxxxx
Line number may appear: 134, 198, 378, 889,1089, 1096
This error means system failed to calculate leave request due to missing information. i.e. Compensation is required when calculating salary deductions on leave request.
We recommend you check the following then try re-draft employee:
On the leave request record, check if is linked to the correct compensation, i.e. the compensation is current which is eligible for the current payrun
On the linked compensation record, check if the Effective from date is correct
On the Employee record, check the First XCD pay date is correct
Message (on Click Log):
Attempt to de-reference a null object
User message description:
An Exception has occurred while updating Statutory payments on Leave request salesforce ID for :salesforce ID or Employee's name and leave request record
Line number may appear: 115, 130, 194, 218
This error means system failed to calculate leave request due to missing information. i.e. start date or end date on SSP
We recommend you check the following then try re-draft employee:
On the leave request record, check if the start date or end date are entered correctly
Message (on Click Log):
Blank
User message description:
Leave Request LR-xxxxx does not have a related Compensation record, so payments have not been made
This error means the Leave Request has not linked successfully to a Compensation record - this is required to process Salary deduction for absence
We recommend you check the following then try re-draft employee:
Check if the Leave Request field Financial Control (Compensation) is populated. If not, link it to the current Compensation record
Message (on Click Log):
Blank
User message description:
Insertion process failed for the following instance : 1)Occupational rate: bad value for restricted picklist field: Normal
This error occurs when a picklist field value is missing from configuration
We recommend you check the following then try re-draft employee:
On the Leave request record, check if all the values are listed under Occupational rate field.
Contact support team to amend the configuration
Message (on Click Log):
Blank
User message description:
Deletion process failed for the following record : salesforce ID. Please review the record and do correction before repeat the process. (1)entity is deleted
We recommend you check the following then try re-draft employee:
On the leave request record, check if the start date or end date are entered correctly
Message (on Click Log):
Argument cannot be null
User message description:
An Exception has occurred while creating Leave Payment Schedules for Employee: Employee name for Leave request: LR-xxxxx
Error Line number may appear: 110, 424, 437, 455, 628, 653, 671,719
This error means some critical information are missing so the system can not create the Leave payment schedule.
We recommend you check the following then try re-draft employee:
Check if the Leave Request has Job role and Financial Control (Compensation) populated. If not, link it to the current correct job role and Compensation record
On the leave request record, check if is linked to the correct compensation, i.e. the compensation is current which is eligible for the current payrun
On the leave request record, check if is linked to the correct job role
On the linked job role record, check if contract number ,available days, working pattern, working cycle are setup correctly
Message (on Click Log):
No relevant Compensations have been found for Leave Request: salesforce ID, so no calculations have been possible where no Compensation has been found. Please check the linking of Job Roles and Compensations within this contract to ensure that relevant Compensations exist for the entire period of the Leave Request
User message description:
Leave Payment Schedules not calculated
This error means the Leave Request has not linked successfully to a Compensation record - this is required to create leave payment schedule
We recommend you check the following then try re-draft employee:
Check if the Leave Request field Financial Control (Compensation) is populated. If not, link it to the current Compensation record or contact Support
Message (on Click Log):
Invalid field Employee_Details__c for xcdhcm__Payroll_Event__c
User message description:
An Exception has occurred while processing DML.
This error may occur during retro if there are critical information are missing on the payroll events
We recommend you check the following then try re-draft employee:
Locate any payroll events were created from Leave request
Check employee detail is populated on the payroll event
Message (on Click Log):
Update failed. First exception on row 1 with id salesforce record ID; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, You have indicated that you have taken a half day at the start or end of the absence, the total number of days should include a half day: []
User message description:
An error has occured while updating Leave requests.
This error means the total days on the leave request record were incorrect
We recommend you check the following then try re-draft employee:
Locate the leave request record by search salesforce ID in URL
Check the total days on the leave request record and ensure the information is correct