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!

Question about order of execution of dynamic actions

Eslam_ElbyalyApr 18 2020 — edited Apr 20 2020

Apex 18.2.

Hi,

Edited:

An ingredient could have many records in STOCK table where expiry date could be null or not.

I am trying to figure out in which order Apex executes dynamic actions. I reproduced the example on 20.1 on apex.oracle.com but the behavior is different.

I have an IG (ingredient_id, expiry_date, qty). There are 3 true actions on ingredient_id,

1- execute javascript > console.log(1);

2- set value > sets expiry_date column's value through a select statement.

3- execute javascript > console.log(2);

Edited:

expiry date is an eneterable popUp lov with "Cascading parent lov = ingredient_id" to retrieve all expiry dates of the selected ingredient from STOCK table and to enable the user to enter expiry dates manually.

and 2 true javascript dynamic actions on expiry_date column,

1- execute javascript > console.log(3);

execute javascript > console.log(4);

In 18.2, when I check out the console, I see

3

4

1

3

4

2

- In 20.1 as you can test,

1

3

4

2

-----------------------

Same configuration on both examples but different results!

Ingredient id's properties:

- Escape Special Characters = no.

- Suppress Change Event = no.

- I need to know the order of execution of the dynamic actions in general, preferably, in both versions. And if the behavior is different with different types of dynamic actions i.e dynamic actions that executes an ajax process(set value with select statement and pl/sql dynamic actions) , etc... .

https://apex.oracle.com/

ws = ESLAM_WS

user = forhelp

pwd = forhelppwd

page = KITCHEN_SHARE_DTL

Comments
Post Details
Added on Apr 18 2020
13 comments
2,235 views