Update an assignment's primary flag errors with FRM-40735: POST-Uate trigger raised unhanded exception ORA-04091

(Doc ID 1684748.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle Human Resources - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Person / Assignment Issues

When attempting to update an assignment's primary flag so a different assignment is the primary one, the following error occurs.


FRM-40735: POST-UPDATE trigger raised unhanded exception ORA-04091

ORA-04091: table XX.XXXXXX is mutating

APP-PER-52156: You cannot update this assignment with these details. To correct the original problem please query this assignment and reapply your change.

 

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Query employee -> Assignment
2. create a new assignment for the same employee
3. Check Primary flag on new assignment
4. Save

Cause

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