55: hr_utility.set_location('l_proc',5);
56: wf_engine.SetItemAttrText( itemtype => l_itemtype,
57: itemkey => l_itemkey,
58: aname => 'FORWARD_FROM_DISPLAY_NAME',
59: avalue => FND_GLOBAL.USER_NAME() );
60: -- Bug # 8597583 modified parameters to pass with out double quotes
61:
62: hr_utility.set_location('l_proc',6);
63: l_load_form := 'GHRWS52L:p_pa_request_id=' || l_Itemkey
1055: itemkey => p_pa_request_id,
1056: aname => 'FORWARD_FROM_DISPLAY_NAME'
1057: );
1058:
1059: IF l_forward_from_display_name <> FND_GLOBAL.USER_NAME() THEN
1060: wf_engine.SetItemAttrText(itemtype => 'GHR_SF52',
1061: itemkey => p_pa_request_id,
1062: aname => 'FORWARD_FROM_DISPLAY_NAME',
1063: avalue => FND_GLOBAL.USER_NAME() );
1059: IF l_forward_from_display_name <> FND_GLOBAL.USER_NAME() THEN
1060: wf_engine.SetItemAttrText(itemtype => 'GHR_SF52',
1061: itemkey => p_pa_request_id,
1062: aname => 'FORWARD_FROM_DISPLAY_NAME',
1063: avalue => FND_GLOBAL.USER_NAME() );
1064: END IF;
1065:
1066: wf_engine.CompleteActivity('GHR_SF52', p_pa_request_id, 'GH_NOTIFY_SF52','COMPLETE');
1067: end;
1447: --
1448: IF itemtype = 'GHR_SF52' THEN
1449: IF (funcmode in ('FORWARD','TRANSFER')) then
1450: -- Get the current user name
1451: l_current_user_name := FND_GLOBAL.USER_NAME();
1452: -- Get the Forward To Information
1453: l_forward_to_name := WF_ENGINE.context_text;
1454: -- Validate the username
1455: -- a) Get the routing group id