I'm trying to update table rows without leaving the page after a button press. I found this example:
javascript:{
var vGet = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=update_adressen',18);
vGet.add('P18_ADRESSEN', document.getElementById('P18_ADRESSEN').value);
vGet.get();
vGet = null;
};
On this website: How To: APEX - Run a PL/SQL procedure from a button
The PL/SQL code I'm trying to run works 100% and doesn't need any parameters at the moment:
update orderregels set leveradressen_id = 3 where status='W';
The javascript is executing too.
At first I tried to run the javascript code at page 0 like the tutorial but this didn't work. This error actually showed in my debug window (Page 0 not found).
After that I switched the page to 18 where my process is located. No debug rows showed up after that so I have no clue whats going wrong.
My process is located at this location (page 18):
I'm not sure if this is the right place.
What am I doing wrong? And why are there no debug messages showing up?