Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mutating Error

DimpyFeb 12 2018 — edited Feb 13 2018

ERROR: Table is Mutating, Trigger or Function cannot see it.

pastedImage_2.png

On pressing both the highlighted (yellow) save button, insertion in table ANL_OI_DEFEKT is happening. (With Insert Statements).

On pressing below save buttons (checked with red pen), one procedure is getting called which merge the records (insert if it already doesn’t exist otherwise update the record) in table ANL_OI_DEFEKT.

Now in database, I have created a before insert trigger (ANL_OI_DEFEKT_TRIG) which is populating a col in table ANL_OI_DEFEKT with a DB sequence based on some conditions.

Above yellow highlighted save buttons working fine, but below Red checked saved buttons throwing below error:

pastedImage_1.png

How should i handle this?

Regards

Dimpy

This post has been answered by Zlatko Sirotic on Feb 12 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2018
Added on Feb 12 2018
1 comment
288 views