Why is fnd_profile.value('CONC_REQUEST_ID') giving wrong value in OPP?
I have a VPD rule function on table fnd_printer to limit the printers shown for a particular user based on the responsibility the request was submitted from.
When it is a standard output without XML Publisher the rule works fine and the use of fnd_profile.value gives correct values.
When the request is using a XML publisher template and the printing is handled by OPP the rule is of course the same and I expected it to behave the same but after adding som logging I see that the fnd_profile.value's the function receives in this case are for another request then the one I am running. For example the CONC_REQUEST_ID is not giving my request_id but some other random request_id, the same for CONC_PROGRAM_ID.