79: end if;
80: hxc_approval_wf_helper.set_notif_attribute_values
81: (p_itemtype,
82: p_itemkey,
83: hxc_app_comp_notifications_api.c_action_transfer,
84: hxc_app_comp_notifications_api.c_recipient_preparer
85: );
86:
87: --Bug 5361995.
80: hxc_approval_wf_helper.set_notif_attribute_values
81: (p_itemtype,
82: p_itemkey,
83: hxc_app_comp_notifications_api.c_action_transfer,
84: hxc_app_comp_notifications_api.c_recipient_preparer
85: );
86:
87: --Bug 5361995.
88: if p_result = 'COMPLETE:Y' and l_label = 'APPROVAL_NOTIFICATION:APPROVED_BY_APR_INACTION' then
297: wf_engine.SetItemAttrText(
298: itemtype => p_itemtype,
299: itemkey => p_itemkey,
300: aname => hxc_approval_wf_helper.c_recipient_code_attribute,
301: avalue => hxc_app_comp_notifications_api.c_recipient_approver);
302:
303:
304: p_result := 'COMPLETE:Y';
305: else
413:
414: l_admin_full_name := hxc_approval_wf_helper.find_full_name_from_role(l_admin_role,l_tc_start_date);
415:
416:
417: if l_current_recipient = hxc_app_comp_notifications_api.c_recipient_approver then
418:
419: if g_debug then
420: hr_utility.set_location(l_proc, 20);
421: end if;
468: wf_engine.SetItemAttrText(
469: itemtype => p_itemtype,
470: itemkey => p_itemkey,
471: aname => hxc_approval_wf_helper.c_recipient_code_attribute,
472: avalue => hxc_app_comp_notifications_api.c_recipient_preparer);
473:
474:
475: elsif l_current_recipient = hxc_app_comp_notifications_api.c_recipient_preparer then
476: --set the attibutes for the ADMIN
471: aname => hxc_approval_wf_helper.c_recipient_code_attribute,
472: avalue => hxc_app_comp_notifications_api.c_recipient_preparer);
473:
474:
475: elsif l_current_recipient = hxc_app_comp_notifications_api.c_recipient_preparer then
476: --set the attibutes for the ADMIN
477:
478: if g_debug then
479: hr_utility.set_location(l_proc, 30);
533: wf_engine.SetItemAttrText(
534: itemtype => p_itemtype,
535: itemkey => p_itemkey,
536: aname => hxc_approval_wf_helper.c_recipient_code_attribute,
537: avalue => hxc_app_comp_notifications_api.c_recipient_admin);
538:
539: elsif l_current_recipient = hxc_app_comp_notifications_api.c_recipient_admin then
540:
541: --In this case all the attributes were already set in the l_current_recipient = 'PREPARER' section.
535: itemkey => p_itemkey,
536: aname => hxc_approval_wf_helper.c_recipient_code_attribute,
537: avalue => hxc_app_comp_notifications_api.c_recipient_admin);
538:
539: elsif l_current_recipient = hxc_app_comp_notifications_api.c_recipient_admin then
540:
541: --In this case all the attributes were already set in the l_current_recipient = 'PREPARER' section.
542:
543: if g_debug then