OIA - Oracle Fusion Service - SR Number cannot be retrieved in OIA after Submit Evenet
We are currently working on an OIA project where a SR record is created in Fusion using standard data mapping when the user clicks the Submit button.
As part of our requirement, we need to retrieve the SR number value after submission from the OPA form using JavaScript. The SrNumber attribute is exposed on the final screen and is correctly mapped to the SR number. On clicking the Submit button, the SR value is displayed on the screen as expected.
However, when we try to access the same value using the onSubmit event, it returns undefined. Below is the script we have tried: