Hi experts,
I'm using Apex 20.1 and I have a page (P4) that opens a modal page (P52) passing an Id.
If the page 52 receives this ID, will be open in "Edit" mode or otherwise in "Create mode".
In case of creation, will create a new record and will return the new Id in a Process (Close Dialog) via the "Items to Return" property.
In parent page (P4), I'm capturing the id value which is returned with a D.A. (Dialog Close) attached to the button that opens the modal page with this javascript action:
$s('P4_REQUEST_ID', this.data.P52_REQUEST_ID);
So far, so good, I have in the parent page the ID of the record created in the modal page.
My problem is that, when I press the button to open again the modal page, it seems like the value in P4_REQUEST_ID haven't been properly set into session because the modal page opens in create mode (instead of edit) as P52_REQUEST_ID is received as null.
What am I doing wrong?
Thanks,
Jose.