195: l_resp_appl_id := fnd_profile.value('RESP_APPL_ID');
196: l_security_group_id := fnd_profile.value('SECURITY_GROUP_ID');
197: */
198:
199: -- Added for bugfix 6501679 . Used fnd_global package to get the
200: -- user information.
201:
202: l_user_id := fnd_global.user_id ;
203: l_resp_id := fnd_global.resp_id ;
198:
199: -- Added for bugfix 6501679 . Used fnd_global package to get the
200: -- user information.
201:
202: l_user_id := fnd_global.user_id ;
203: l_resp_id := fnd_global.resp_id ;
204: l_resp_appl_id := fnd_global.resp_appl_id ;
205: l_security_group_id := fnd_global.security_group_id ;
206:
199: -- Added for bugfix 6501679 . Used fnd_global package to get the
200: -- user information.
201:
202: l_user_id := fnd_global.user_id ;
203: l_resp_id := fnd_global.resp_id ;
204: l_resp_appl_id := fnd_global.resp_appl_id ;
205: l_security_group_id := fnd_global.security_group_id ;
206:
207:
200: -- user information.
201:
202: l_user_id := fnd_global.user_id ;
203: l_resp_id := fnd_global.resp_id ;
204: l_resp_appl_id := fnd_global.resp_appl_id ;
205: l_security_group_id := fnd_global.security_group_id ;
206:
207:
208: if p_itemkey is null then
201:
202: l_user_id := fnd_global.user_id ;
203: l_resp_id := fnd_global.resp_id ;
204: l_resp_appl_id := fnd_global.resp_appl_id ;
205: l_security_group_id := fnd_global.security_group_id ;
206:
207:
208: if p_itemkey is null then
209: select to_char(wip_workflow_s.nextval)
352: wf_engine.GetItemAttrNumber( itemtype
353: , itemkey
354: , 'SECURITY_GROUP_ID');
355:
356: fnd_global.apps_initialize (
357: user_id => l_user_id,
358: resp_id => l_resp_id,
359: resp_appl_id => l_resp_appl_id ,
360: security_group_id => l_security_group_id);