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!

Help : Ajax call returned server error ORA-01403: no data found for Execute PL/SQL Code.

RunrigOct 17 2017 — edited Oct 17 2017

I am using Dan McGhan’s article http://www.danielmcghan.us/2016/03/tutorial-creating-component-similar-to.html to pull back values from a modal dialog. It is working nicely.

But now I want to do something with that data. A simple select. However when I add the pl/sql to the dialog closed dynamic action I get the ORA-0143 error

pastedImage_0.png

The Java script dynamic action

$s('P8001_CUSTOMER_DISPLAY', this.data.P8002_DISPLAY);

$s('P8001_CUSTOMER_ID', this.data.P8002_ID);

If I stop at this point all is well and the value of P8001_CUSTOMER_ID is populated.

Followed by the PL/SQL dynamic action

SELECT

product\_nm,

product\_type

into

:P8001\_product\_nm,

:P8001\_product\_type

FROM

product\_v

where

customer\_id = :P8001\_CUSTOMER\_ID;

This results in ORA-01403

This post has been answered by fac586 on Oct 17 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2017
Added on Oct 17 2017
2 comments
1,674 views