This section lists common Payrun related errors that may appear in Audit log when you running payroll from XCD.
Message (on Click Log):
Update failed. First exception on row 0 with id a0b7U000000oZP7QAM; first error: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record or 1 records: a0b7U000000oZP7QAM: []
User message description:
An error has occured while initiating Retro pay run batch.
This error may occur during the initial draft or running retro and it normally means there are two processes were trying to access the payrun at the same time.
We recommend you wait if other user were processing payrun at the same time, if not, please try running retro or draft again.
Message (on Click Log):
Argument cannot be null
User message description:
An Exception has occurred while processing Payroll Utility
We recommend you check the following:
From employee's record → Job role → Check 'Available days' field is populated correctly→ this should be set to All days for irregular employee
Note: Please contact support if you do not see this field on the job role page layout
Message (on Click Log):
Blank
User message description:
Update process failed for the following record : salesforce record ID. Please review the record and do correction before repeat the process.
(1)unable to obtain exclusive access to this record or 1 records: a0b09000005FMALAA4)
This error means there are two processes were trying to access the employee record at the same time
We recommend you wait if other user were processing payrun at the same time, if not, please try running draft again.
Message (on Click Log):
You have uncommitted work pending. Please commit or rollback before calling out
User message description:
Exception occurred while setting up pay run list views
This error may occur when the system was making some other changes which had not completed at the same time the list view was created
We recommend you go to the Eligible Employees view:
If it works as expected, you can ignore the error and proceed as normal
Please wait for few minutes and try again if you are unable to view Eligible Employees
Message (on Click Log):
Web service callout failed: WebService returned a SOAP Fault: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session faultcode=sf:INVALID_SESSION_ID faultactor=
User message description:
Exception occurred while deleting previous pay run list views
When deleting or creating, preparing the list views the system calls an external API. If this message is seen the API may not have been configured correctly
We recommend you go to the Eligible Employees view:
If it works as expected, you can ignore the error and proceed as normal
Please wait for few minutes and try re-prepare payrun again if you are unable to view Eligible Employees
Check external API setup - for support only
Message (on Click Log):
Update failed. First exception on row 0 with id salesforce record ID; first error: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record or 28 records: salesforce record ID
User message description:
An error has occured while updating Leave requests
Detail message within the error states system is trying to update a record after the Leave Request is processed. This may occur when another process is running at the same time.
We recommend you to check the following before re-draft employee:
Enter salesforce ID in URL to locate Leave request record
Check you have the sufficient permission to access the leave record
Check the payments are calculated correctly and leave payment schedule opens with correct value