DBA Data[Home] [Help]

APPS.HR_SE_WORK_INCIDENT_API dependencies on HR_UTILITY

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

134: where pbg.business_group_id = l_business_group_id;
135: --
136: begin
137:
138: hr_utility.set_location('Entering:'|| l_proc, 10);
139: --
140: -- Issue a savepoint if operating in validation only mode
141: --
142: savepoint create_no_work_incident;

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

140: -- Issue a savepoint if operating in validation only mode
141: --
142: savepoint create_no_work_incident;
143: --
144: hr_utility.set_location(l_proc, 20);
145: --
146: -- Process Logic
147: --
148: -- Get person details.

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

152: into l_business_group_id;
153: --
154: if csr_get_business_group_id%NOTFOUND then
155: close csr_get_business_group_id;
156: hr_utility.set_location(l_proc, 30);
157: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
158: hr_utility.raise_error;
159: end if;
160: close csr_get_business_group_id;

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

153: --
154: if csr_get_business_group_id%NOTFOUND then
155: close csr_get_business_group_id;
156: hr_utility.set_location(l_proc, 30);
157: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
158: hr_utility.raise_error;
159: end if;
160: close csr_get_business_group_id;
161: --

Line 158: hr_utility.raise_error;

154: if csr_get_business_group_id%NOTFOUND then
155: close csr_get_business_group_id;
156: hr_utility.set_location(l_proc, 30);
157: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
158: hr_utility.raise_error;
159: end if;
160: close csr_get_business_group_id;
161: --
162: hr_utility.set_location(l_proc, 40);

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

158: hr_utility.raise_error;
159: end if;
160: close csr_get_business_group_id;
161: --
162: hr_utility.set_location(l_proc, 40);
163: --
164: -- Check that the specified business group is valid.
165: --
166: open csr_bg;

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

167: fetch csr_bg
168: into l_legislation_code;
169: if csr_bg%notfound then
170: close csr_bg;
171: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
172: hr_utility.raise_error;
173: end if;
174: close csr_bg;
175: hr_utility.set_location(l_proc, 50);

Line 172: hr_utility.raise_error;

168: into l_legislation_code;
169: if csr_bg%notfound then
170: close csr_bg;
171: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
172: hr_utility.raise_error;
173: end if;
174: close csr_bg;
175: hr_utility.set_location(l_proc, 50);
176: --

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

171: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
172: hr_utility.raise_error;
173: end if;
174: close csr_bg;
175: hr_utility.set_location(l_proc, 50);
176: --
177: -- Check that the legislation of the specified business group is 'SE'.
178: --
179: if l_legislation_code <> 'SE' then

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

176: --
177: -- Check that the legislation of the specified business group is 'SE'.
178: --
179: if l_legislation_code <> 'SE' then
180: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
181: hr_utility.set_message_token('LEG_CODE','SE');
182: hr_utility.raise_error;
183: end if;
184: hr_utility.set_location(l_proc, 60);

Line 181: hr_utility.set_message_token('LEG_CODE','SE');

177: -- Check that the legislation of the specified business group is 'SE'.
178: --
179: if l_legislation_code <> 'SE' then
180: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
181: hr_utility.set_message_token('LEG_CODE','SE');
182: hr_utility.raise_error;
183: end if;
184: hr_utility.set_location(l_proc, 60);
185: --

Line 182: hr_utility.raise_error;

178: --
179: if l_legislation_code <> 'SE' then
180: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
181: hr_utility.set_message_token('LEG_CODE','SE');
182: hr_utility.raise_error;
183: end if;
184: hr_utility.set_location(l_proc, 60);
185: --
186: -- Call the Work Incident business process

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

180: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
181: hr_utility.set_message_token('LEG_CODE','SE');
182: hr_utility.raise_error;
183: end if;
184: hr_utility.set_location(l_proc, 60);
185: --
186: -- Call the Work Incident business process
187: --
188: per_work_incident_api.create_work_incident

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

292: ,p_object_version_number => p_object_version_number
293: );
294:
295: --
296: hr_utility.set_location(' Leaving:'||l_proc, 70);
297: --
298: end create_se_work_incident;
299: --
300: -- ----------------------------------------------------------------------

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

427: where pbg.business_group_id = l_business_group_id;
428: --
429: begin
430: --
431: hr_utility.set_location('Entering:'|| l_proc, 10);
432: --
433: -- Issue a savepoint if operating in validation only mode
434: --
435: savepoint update_no_work_incident;

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

433: -- Issue a savepoint if operating in validation only mode
434: --
435: savepoint update_no_work_incident;
436: --
437: hr_utility.set_location(l_proc, 20);
438: --
439: -- Process Logic
440: --
441: -- Get person details.

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

445: into l_business_group_id;
446: --
447: if csr_get_business_group_id%NOTFOUND then
448: close csr_get_business_group_id;
449: hr_utility.set_location(l_proc, 30);
450: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
451: hr_utility.raise_error;
452: end if;
453: close csr_get_business_group_id;

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

446: --
447: if csr_get_business_group_id%NOTFOUND then
448: close csr_get_business_group_id;
449: hr_utility.set_location(l_proc, 30);
450: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
451: hr_utility.raise_error;
452: end if;
453: close csr_get_business_group_id;
454: --

Line 451: hr_utility.raise_error;

447: if csr_get_business_group_id%NOTFOUND then
448: close csr_get_business_group_id;
449: hr_utility.set_location(l_proc, 30);
450: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
451: hr_utility.raise_error;
452: end if;
453: close csr_get_business_group_id;
454: --
455: hr_utility.set_location(l_proc, 40);

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

451: hr_utility.raise_error;
452: end if;
453: close csr_get_business_group_id;
454: --
455: hr_utility.set_location(l_proc, 40);
456: --
457: -- Check that the specified business group is valid.
458: --
459: open csr_bg;

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

460: fetch csr_bg
461: into l_legislation_code;
462: if csr_bg%notfound then
463: close csr_bg;
464: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
465: hr_utility.raise_error;
466: end if;
467: close csr_bg;
468: --

Line 465: hr_utility.raise_error;

461: into l_legislation_code;
462: if csr_bg%notfound then
463: close csr_bg;
464: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
465: hr_utility.raise_error;
466: end if;
467: close csr_bg;
468: --
469: hr_utility.set_location(l_proc, 50);

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

465: hr_utility.raise_error;
466: end if;
467: close csr_bg;
468: --
469: hr_utility.set_location(l_proc, 50);
470: --
471: -- Check that the legislation of the specified business group is 'NO'.
472: --
473: if l_legislation_code <> 'SE' then

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

470: --
471: -- Check that the legislation of the specified business group is 'NO'.
472: --
473: if l_legislation_code <> 'SE' then
474: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
475: hr_utility.set_message_token('LEG_CODE','SE');
476: hr_utility.raise_error;
477: end if;
478: hr_utility.set_location(l_proc, 60);

Line 475: hr_utility.set_message_token('LEG_CODE','SE');

471: -- Check that the legislation of the specified business group is 'NO'.
472: --
473: if l_legislation_code <> 'SE' then
474: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
475: hr_utility.set_message_token('LEG_CODE','SE');
476: hr_utility.raise_error;
477: end if;
478: hr_utility.set_location(l_proc, 60);
479: --

Line 476: hr_utility.raise_error;

472: --
473: if l_legislation_code <> 'SE' then
474: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
475: hr_utility.set_message_token('LEG_CODE','SE');
476: hr_utility.raise_error;
477: end if;
478: hr_utility.set_location(l_proc, 60);
479: --
480: -- Call the contract business process

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

474: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
475: hr_utility.set_message_token('LEG_CODE','SE');
476: hr_utility.raise_error;
477: end if;
478: hr_utility.set_location(l_proc, 60);
479: --
480: -- Call the contract business process
481: --
482: per_work_incident_api.update_work_incident

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

584: ,p_inc_information19 => p_safety_delegate
585: ,p_inc_information20 => p_reason_not_notify
586: );
587: --
588: hr_utility.set_location(' Leaving:'||l_proc, 70);
589: --
590: end update_se_work_incident;
591: --
592: end hr_se_work_incident_api;