Oracle Application Express (MOSC)

MOSC Banner

Error while redirecting from one page to another, passing parameters

edited Apr 23, 2021 6:28PM in Oracle Application Express (MOSC) 3 commentsAnswered

Hi. I have Page 20 in my Application, with a Button that executes the following:

Dynamic Action that calls the following 'Execute Javascript Code':

apex.server.process (

  "PROCESAR_DOCUM_AJAX",                

  {

    pageItems: '#P20_ID, #P20_INSTITUTION, #P20_DOCUM, #P20_FECHA, #P20_PROVIDER, #P20_CONCEPTO, #P20_SERVICENAME, #P20_TYPE, #P20_PAYMENT_TYPE, #P20_PAYMENT_REFERENCE, #P20_VALOR'

  },

  {

    dataType:"text",             

    async:false,               

    loadingIndicator:"#P20_CONCEPTO",   

    success:function(pData){         

    console.log('Success');

    $s('P20_ERRORES',pData)         

    }

  }

);

var patientID = $v('P20_ID'); //This value comes from the client not the session!

apex.navigation.redirect('f?p=&APP_ID.:21:&APP_SESSION.::NO::P21_ID:' + patientID);

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center