DBA Data[Home] [Help]

APPS.HR_KW_CONTINGENT_WORKER_API dependencies on HR_UTILITY

Line 6: g_debug boolean := hr_utility.debug_enabled;

2: /* $Header: pecwkkwi.pkb 120.1 2005/06/22 04:38:09 adevanat noship $ */
3: --
4: -- Package Variables
5: g_package varchar2(33) := ' hr_kw_contingent_worker_api.';
6: g_debug boolean := hr_utility.debug_enabled;
7: --
8: -- ----------------------------------------------------------------------------
9: -- |------------------------------< create_cwk >------------------------------|
10: -- ----------------------------------------------------------------------------

Line 135: hr_utility.set_location('Entering:'|| l_proc, 5);

131:
132: begin
133:
134: if g_debug then
135: hr_utility.set_location('Entering:'|| l_proc, 5);
136: end if;
137: --
138: -- Validation in addition to Row Handlers
139: --

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

141: open check_legislation(p_business_group_id);
142: fetch check_legislation into l_legislation_code;
143: close check_legislation;
144: if g_debug then
145: hr_utility.set_location(l_proc, 20);
146: end if;
147: --
148: -- Check that the legislation of the specified business group is 'KW'.
149: --

Line 151: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');

147: --
148: -- Check that the legislation of the specified business group is 'KW'.
149: --
150: if l_legislation_code <> 'KW' then
151: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
152: hr_utility.set_message_token('LEG_CODE','KW');
153: hr_utility.raise_error;
154: end if;
155: if g_debug then

Line 152: hr_utility.set_message_token('LEG_CODE','KW');

148: -- Check that the legislation of the specified business group is 'KW'.
149: --
150: if l_legislation_code <> 'KW' then
151: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
152: hr_utility.set_message_token('LEG_CODE','KW');
153: hr_utility.raise_error;
154: end if;
155: if g_debug then
156: hr_utility.set_location(l_proc, 30);

Line 153: hr_utility.raise_error;

149: --
150: if l_legislation_code <> 'KW' then
151: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
152: hr_utility.set_message_token('LEG_CODE','KW');
153: hr_utility.raise_error;
154: end if;
155: if g_debug then
156: hr_utility.set_location(l_proc, 30);
157: end if;

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

152: hr_utility.set_message_token('LEG_CODE','KW');
153: hr_utility.raise_error;
154: end if;
155: if g_debug then
156: hr_utility.set_location(l_proc, 30);
157: end if;
158:
159: hr_contingent_worker_api.create_cwk
160: (p_validate => p_validate

Line 270: hr_utility.set_location(' Leaving:'||l_proc, 7);

266: );
267:
268: --
269: if g_debug then
270: hr_utility.set_location(' Leaving:'||l_proc, 7);
271: end if;
272: --
273:
274: end create_kw_cwk;