试过用fnd_profile.value('org_id'),结果只能取出默认的业务组织。
用fnd_profile.value('resp_id')和fnd_profile.value('mfg_resp_id')没值;用fnd_global.RESP_ID得到 -1郁闷!
用fnd_profile.value('resp_id')和fnd_profile.value('mfg_resp_id')没值;用fnd_global.RESP_ID得到 -1郁闷!
The oracle standard report always use srw.user_exit ('FND SRWINIT')
to get the previous session information depend on p_conc_request_id,and set the client session to be the same OU.Because the application is difference session with concurrent program.If you use fnd_profile.value(...) to get the profile.You may get the same OU ,eventhough you change OU.
You can also get the correct OU by using definitoin of parameter to pass in report.