DBA Data[Home] [Help]

APPS.HXC_WF_ERROR_HELPER dependencies on HR_UTILITY

Line 5: g_debug BOOLEAN :=hr_utility.debug_enabled;

1: Package Body HXC_WF_ERROR_HELPER as
2: /* $Header: hxcwferrhelper.pkb 120.3.12010000.2 2008/08/05 12:09:27 ubhat ship $ */
3:
4: g_pkg constant varchar2(30) := 'hxc_wf_error_helper.';
5: g_debug BOOLEAN :=hr_utility.debug_enabled;
6:
7: procedure prepare_error(
8: itemtype IN varchar2,
9: itemkey IN varchar2,

Line 81: g_debug:=hr_utility.debug_enabled;

77: where item_key = itemkey;
78:
79: BEGIN
80:
81: g_debug:=hr_utility.debug_enabled;
82: if g_debug then
83: hr_utility.set_location(l_proc, 10);
84: end if;
85:

Line 83: hr_utility.set_location(l_proc, 10);

79: BEGIN
80:
81: g_debug:=hr_utility.debug_enabled;
82: if g_debug then
83: hr_utility.set_location(l_proc, 10);
84: end if;
85:
86: --The itemkey passed to this procedure is not the itemkey assoicated with application period id. This is entirely --a different item key(error item key). The parent to this error item key is the item key in App bb id.
87:

Line 146: hr_utility.set_location(l_proc, 20);

142:
143: l_error_admin_role := hxc_approval_wf_helper.find_role_for_recipient(hxc_app_comp_notifications_api.c_recipient_error_admin,l_timecard_id,l_timecard_ovn);
144:
145: if g_debug then
146: hr_utility.set_location(l_proc, 20);
147: end if;
148: wf_engine.SetItemAttrText(itemtype => itemtype,
149: itemkey => itemkey,
150: aname => 'TC_FROM_ROLE',

Line 244: hr_utility.set_location(l_proc, 30);

240: aname => 'ERROR_BODY',
241: avalue =>l_error_body);
242:
243: if g_debug then
244: hr_utility.set_location(l_proc, 30);
245: end if;
246:
247:
248: result := 'COMPLETE';

Line 256: hr_utility.set_location(l_proc, 999);

252: -- The line below records this function call in the error system
253: -- in the case of an exception.
254: --
255: if g_debug then
256: hr_utility.set_location(l_proc, 999);
257: end if;
258:
259: wf_core.context('HXCERRORHELPER', 'HXC_WF_ERROR_HELPER.prepare_error',
260: itemtype, itemkey, to_char(actid), funcmode);