238: l_resp_appl_id := fnd_profile.value('RESP_APPL_ID');
239: l_security_group_id := fnd_profile.value('SECURITY_GROUP_ID');
240: */
241:
242: -- Added for bugfix 6501679 . Used fnd_global package to get the
243: -- user information.
244:
245: l_user_id := fnd_global.user_id ;
246: l_resp_id := fnd_global.resp_id ;
241:
242: -- Added for bugfix 6501679 . Used fnd_global package to get the
243: -- user information.
244:
245: l_user_id := fnd_global.user_id ;
246: l_resp_id := fnd_global.resp_id ;
247: l_resp_appl_id := fnd_global.resp_appl_id ;
248: l_security_group_id := fnd_global.security_group_id ;
249:
242: -- Added for bugfix 6501679 . Used fnd_global package to get the
243: -- user information.
244:
245: l_user_id := fnd_global.user_id ;
246: l_resp_id := fnd_global.resp_id ;
247: l_resp_appl_id := fnd_global.resp_appl_id ;
248: l_security_group_id := fnd_global.security_group_id ;
249:
250:
243: -- user information.
244:
245: l_user_id := fnd_global.user_id ;
246: l_resp_id := fnd_global.resp_id ;
247: l_resp_appl_id := fnd_global.resp_appl_id ;
248: l_security_group_id := fnd_global.security_group_id ;
249:
250:
251: if p_itemkey is null then
244:
245: l_user_id := fnd_global.user_id ;
246: l_resp_id := fnd_global.resp_id ;
247: l_resp_appl_id := fnd_global.resp_appl_id ;
248: l_security_group_id := fnd_global.security_group_id ;
249:
250:
251: if p_itemkey is null then
252: select to_char(wip_workflow_s.nextval)
395: wf_engine.GetItemAttrNumber( itemtype
396: , itemkey
397: , 'SECURITY_GROUP_ID');
398:
399: fnd_global.apps_initialize (
400: user_id => l_user_id,
401: resp_id => l_resp_id,
402: resp_appl_id => l_resp_appl_id ,
403: security_group_id => l_security_group_id);
1673: wf_engine.GetItemAttrNumber( itemtype
1674: , itemkey
1675: , 'SECURITY_GROUP_ID');
1676:
1677: fnd_global.apps_initialize (
1678: user_id => l_user_id,
1679: resp_id => l_resp_id,
1680: resp_appl_id => l_resp_appl_id ,
1681: security_group_id => l_security_group_id);
1757: wf_engine.GetItemAttrNumber( itemtype
1758: , itemkey
1759: , 'SECURITY_GROUP_ID');
1760:
1761: fnd_global.apps_initialize (
1762: user_id => l_user_id,
1763: resp_id => l_resp_id,
1764: resp_appl_id => l_resp_appl_id ,
1765: security_group_id => l_security_group_id);