Submitting Leave from Self-Service, Error's: ORA-20001 Current row is Locked (Doc ID 1514078.1)

Last updated on JULY 18, 2016

Applies to:

Oracle Self-Service Human Resources - Version 12.1.2 to 12.2.1 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Goal

When a user is updating an assignment though PUI and another user tries to enter a leave of absence through self-service, that SSHR user gets the following error:

ORA-20001: The current row is locked Cause: You are trying to lock a row in the PER_ALL_ASSIGNMENTS_F table which is currently being locked by another user.

Action: Re-query and attempt to lock the row again.

 

Can you explain why and how to avoid this issue?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms