DBA Data[Home] [Help]

APPS.PER_KW_DISABILITY_API dependencies on HR_UTILITY

Line 91: hr_utility.set_location('Entering:'|| l_proc, 10);

87: where pbg.business_group_id = l_business_group_id;
88: --
89: begin
90:
91: hr_utility.set_location('Entering:'|| l_proc, 10);
92: --
93: -- Issue a savepoint if operating in validation only mode
94: --
95: savepoint create_kw_disability;

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

93: -- Issue a savepoint if operating in validation only mode
94: --
95: savepoint create_kw_disability;
96: --
97: hr_utility.set_location(l_proc, 20);
98: --
99: -- Process Logic
100: --
101: -- Get person details.

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

105: into l_business_group_id;
106: --
107: if csr_get_business_group_id%NOTFOUND then
108: close csr_get_business_group_id;
109: hr_utility.set_location(l_proc, 30);
110: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
111: hr_utility.raise_error;
112: end if;
113: close csr_get_business_group_id;

Line 110: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');

106: --
107: if csr_get_business_group_id%NOTFOUND then
108: close csr_get_business_group_id;
109: hr_utility.set_location(l_proc, 30);
110: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
111: hr_utility.raise_error;
112: end if;
113: close csr_get_business_group_id;
114: --

Line 111: hr_utility.raise_error;

107: if csr_get_business_group_id%NOTFOUND then
108: close csr_get_business_group_id;
109: hr_utility.set_location(l_proc, 30);
110: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
111: hr_utility.raise_error;
112: end if;
113: close csr_get_business_group_id;
114: --
115: hr_utility.set_location(l_proc, 40);

Line 115: hr_utility.set_location(l_proc, 40);

111: hr_utility.raise_error;
112: end if;
113: close csr_get_business_group_id;
114: --
115: hr_utility.set_location(l_proc, 40);
116: --
117: -- Check that the specified business group is valid.
118: --
119: open csr_bg;

Line 124: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');

120: fetch csr_bg
121: into l_legislation_code;
122: if csr_bg%notfound then
123: close csr_bg;
124: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
125: hr_utility.raise_error;
126: end if;
127: close csr_bg;
128: hr_utility.set_location(l_proc, 50);

Line 125: hr_utility.raise_error;

121: into l_legislation_code;
122: if csr_bg%notfound then
123: close csr_bg;
124: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
125: hr_utility.raise_error;
126: end if;
127: close csr_bg;
128: hr_utility.set_location(l_proc, 50);
129: --

Line 128: hr_utility.set_location(l_proc, 50);

124: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
125: hr_utility.raise_error;
126: end if;
127: close csr_bg;
128: hr_utility.set_location(l_proc, 50);
129: --
130: -- Check that the legislation of the specified business group is 'KW'.
131: --
132: if l_legislation_code <> 'KW' then

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

129: --
130: -- Check that the legislation of the specified business group is 'KW'.
131: --
132: if l_legislation_code <> 'KW' then
133: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
134: hr_utility.set_message_token('LEG_CODE','KW');
135: hr_utility.raise_error;
136: end if;
137: hr_utility.set_location(l_proc, 60);

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

130: -- Check that the legislation of the specified business group is 'KW'.
131: --
132: if l_legislation_code <> 'KW' then
133: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
134: hr_utility.set_message_token('LEG_CODE','KW');
135: hr_utility.raise_error;
136: end if;
137: hr_utility.set_location(l_proc, 60);
138: --

Line 135: hr_utility.raise_error;

131: --
132: if l_legislation_code <> 'KW' then
133: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
134: hr_utility.set_message_token('LEG_CODE','KW');
135: hr_utility.raise_error;
136: end if;
137: hr_utility.set_location(l_proc, 60);
138: --
139: -- Call the disability business process

Line 137: hr_utility.set_location(l_proc, 60);

133: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
134: hr_utility.set_message_token('LEG_CODE','KW');
135: hr_utility.raise_error;
136: end if;
137: hr_utility.set_location(l_proc, 60);
138: --
139: -- Call the disability business process
140: --
141: per_disability_api.create_disability

Line 198: hr_utility.set_location(' Leaving:'||l_proc, 70);

194: ,p_object_version_number => p_object_version_number
195: ,p_effective_start_date => p_effective_start_date
196: ,p_effective_end_date => p_effective_end_date);
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 70);
199: --
200: end create_kw_disability;
201: --
202: -- ----------------------------------------------------------------------

Line 287: hr_utility.set_location('Entering:'|| l_proc, 10);

283: where pbg.business_group_id = l_business_group_id;
284: --
285: begin
286: --
287: hr_utility.set_location('Entering:'|| l_proc, 10);
288: --
289: -- Issue a savepoint if operating in validation only mode
290: --
291: savepoint update_kw_disability;

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

289: -- Issue a savepoint if operating in validation only mode
290: --
291: savepoint update_kw_disability;
292: --
293: hr_utility.set_location(l_proc, 20);
294: --
295: -- Process Logic
296: --
297: -- Get person details.

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

301: into l_business_group_id;
302: --
303: if csr_get_business_group_id%NOTFOUND then
304: close csr_get_business_group_id;
305: hr_utility.set_location(l_proc, 30);
306: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
307: hr_utility.raise_error;
308: end if;
309: close csr_get_business_group_id;

Line 306: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');

302: --
303: if csr_get_business_group_id%NOTFOUND then
304: close csr_get_business_group_id;
305: hr_utility.set_location(l_proc, 30);
306: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
307: hr_utility.raise_error;
308: end if;
309: close csr_get_business_group_id;
310: --

Line 307: hr_utility.raise_error;

303: if csr_get_business_group_id%NOTFOUND then
304: close csr_get_business_group_id;
305: hr_utility.set_location(l_proc, 30);
306: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
307: hr_utility.raise_error;
308: end if;
309: close csr_get_business_group_id;
310: --
311: hr_utility.set_location(l_proc, 40);

Line 311: hr_utility.set_location(l_proc, 40);

307: hr_utility.raise_error;
308: end if;
309: close csr_get_business_group_id;
310: --
311: hr_utility.set_location(l_proc, 40);
312: --
313: -- Check that the specified business group is valid.
314: --
315: open csr_bg;

Line 320: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');

316: fetch csr_bg
317: into l_legislation_code;
318: if csr_bg%notfound then
319: close csr_bg;
320: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
321: hr_utility.raise_error;
322: end if;
323: close csr_bg;
324: --

Line 321: hr_utility.raise_error;

317: into l_legislation_code;
318: if csr_bg%notfound then
319: close csr_bg;
320: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
321: hr_utility.raise_error;
322: end if;
323: close csr_bg;
324: --
325: hr_utility.set_location(l_proc, 50);

Line 325: hr_utility.set_location(l_proc, 50);

321: hr_utility.raise_error;
322: end if;
323: close csr_bg;
324: --
325: hr_utility.set_location(l_proc, 50);
326: --
327: -- Check that the legislation of the specified business group is 'KW'.
328: --
329: if l_legislation_code <> 'KW' then

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

326: --
327: -- Check that the legislation of the specified business group is 'KW'.
328: --
329: if l_legislation_code <> 'KW' then
330: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
331: hr_utility.set_message_token('LEG_CODE','KW');
332: hr_utility.raise_error;
333: end if;
334: hr_utility.set_location(l_proc, 60);

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

327: -- Check that the legislation of the specified business group is 'KW'.
328: --
329: if l_legislation_code <> 'KW' then
330: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
331: hr_utility.set_message_token('LEG_CODE','KW');
332: hr_utility.raise_error;
333: end if;
334: hr_utility.set_location(l_proc, 60);
335: --

Line 332: hr_utility.raise_error;

328: --
329: if l_legislation_code <> 'KW' then
330: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
331: hr_utility.set_message_token('LEG_CODE','KW');
332: hr_utility.raise_error;
333: end if;
334: hr_utility.set_location(l_proc, 60);
335: --
336: -- Call the contract business process

Line 334: hr_utility.set_location(l_proc, 60);

330: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
331: hr_utility.set_message_token('LEG_CODE','KW');
332: hr_utility.raise_error;
333: end if;
334: hr_utility.set_location(l_proc, 60);
335: --
336: -- Call the contract business process
337: --
338: per_disability_api.update_disability

Line 395: hr_utility.set_location(' Leaving:'||l_proc, 70);

391: ,p_dis_information2 => p_reporting_description
392: ,p_effective_start_date => p_effective_start_date
393: ,p_effective_end_date => p_effective_end_date);
394: --
395: hr_utility.set_location(' Leaving:'||l_proc, 70);
396: --
397: end update_kw_disability;
398: --
399: end per_kw_disability_api;