Skip to Main Content

APEX

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!

Issue with default value from pl/sql function for the column

bkjainJun 18 2020 — edited Jun 22 2020

Hi

I have column called "Request_number" in the IG. For this column I have set the default value from the pl/sql function.

From pl/sql function I'm returning a numeric which is concatenation of "Database sequence and specific prefix value " value back. When I create new row using (add row) the request number generates from the pl/sql function after saving the record when i create theĀ  another row the same request number is returned as per the previous row.

Only if I refresh the page then the new number is returned.

On analysis what i found is that at the time second row the call pl/sql function is not invoked.

Any pointers as to why it behaves this way and how I can overcome the issue.

Thanks in advance.

Bharat

Comments
Post Details
Added on Jun 18 2020
3 comments
439 views