oracleoracle-apexoracle-apex-18.2oracle-apex-19.2

Oracle apex - item value doe not sent on submit


I have an item :P3015_VOL (NUMBER field), when I click "save" button I'm doing two things:

  1. Dynamic action that sets the item value to 33. Then in debug message I can see that the item does have the value 33.

enter image description here

enter image description here

  1. in the submit page processing I print again the item's value in debug message:

enter image description here

Now the Value is NULL

Why is this happening? How can I get the correct value in the processing?

Thanks


Solution

  • If an item value is calculated on page submit, the best way to do this is to submit the page and perform a computation on submit. There should not be any need for a dynamic action here. Steps:

    1. Create a Computation on P3015_VOL with point After Submit, type Static Value, value 33
    2. Set the SAVE button action to Submit Page