DBA Data[Home] [Help]

APPS.PER_SA_WORK_INCIDENT_API dependencies on HR_UTILITY

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

126: where pbg.business_group_id = l_business_group_id;
127: --
128: begin
129:
130: hr_utility.set_location('Entering:'|| l_proc, 10);
131: --
132: -- Issue a savepoint if operating in validation only mode
133: --
134: savepoint create_sa_work_incident;

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

132: -- Issue a savepoint if operating in validation only mode
133: --
134: savepoint create_sa_work_incident;
135: --
136: hr_utility.set_location(l_proc, 20);
137: --
138: -- Process Logic
139: --
140: -- Get person details.

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

144: into l_business_group_id;
145: --
146: if csr_get_business_group_id%NOTFOUND then
147: close csr_get_business_group_id;
148: hr_utility.set_location(l_proc, 30);
149: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
150: hr_utility.raise_error;
151: end if;
152: close csr_get_business_group_id;

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

145: --
146: if csr_get_business_group_id%NOTFOUND then
147: close csr_get_business_group_id;
148: hr_utility.set_location(l_proc, 30);
149: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
150: hr_utility.raise_error;
151: end if;
152: close csr_get_business_group_id;
153: --

Line 150: hr_utility.raise_error;

146: if csr_get_business_group_id%NOTFOUND then
147: close csr_get_business_group_id;
148: hr_utility.set_location(l_proc, 30);
149: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
150: hr_utility.raise_error;
151: end if;
152: close csr_get_business_group_id;
153: --
154: hr_utility.set_location(l_proc, 40);

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

150: hr_utility.raise_error;
151: end if;
152: close csr_get_business_group_id;
153: --
154: hr_utility.set_location(l_proc, 40);
155: --
156: -- Check that the specified business group is valid.
157: --
158: open csr_bg;

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

159: fetch csr_bg
160: into l_legislation_code;
161: if csr_bg%notfound then
162: close csr_bg;
163: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
164: hr_utility.raise_error;
165: end if;
166: close csr_bg;
167: hr_utility.set_location(l_proc, 50);

Line 164: hr_utility.raise_error;

160: into l_legislation_code;
161: if csr_bg%notfound then
162: close csr_bg;
163: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
164: hr_utility.raise_error;
165: end if;
166: close csr_bg;
167: hr_utility.set_location(l_proc, 50);
168: --

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

163: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
164: hr_utility.raise_error;
165: end if;
166: close csr_bg;
167: hr_utility.set_location(l_proc, 50);
168: --
169: -- Check that the legislation of the specified business group is 'SA'.
170: --
171: if l_legislation_code <> 'SA' then

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

168: --
169: -- Check that the legislation of the specified business group is 'SA'.
170: --
171: if l_legislation_code <> 'SA' then
172: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
173: hr_utility.set_message_token('LEG_CODE','SA');
174: hr_utility.raise_error;
175: end if;
176: hr_utility.set_location(l_proc, 60);

Line 173: hr_utility.set_message_token('LEG_CODE','SA');

169: -- Check that the legislation of the specified business group is 'SA'.
170: --
171: if l_legislation_code <> 'SA' then
172: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
173: hr_utility.set_message_token('LEG_CODE','SA');
174: hr_utility.raise_error;
175: end if;
176: hr_utility.set_location(l_proc, 60);
177: --

Line 174: hr_utility.raise_error;

170: --
171: if l_legislation_code <> 'SA' then
172: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
173: hr_utility.set_message_token('LEG_CODE','SA');
174: hr_utility.raise_error;
175: end if;
176: hr_utility.set_location(l_proc, 60);
177: --
178: -- Call the Work Incident business process

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

172: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
173: hr_utility.set_message_token('LEG_CODE','SA');
174: hr_utility.raise_error;
175: end if;
176: hr_utility.set_location(l_proc, 60);
177: --
178: -- Call the Work Incident business process
179: --
180: per_work_incident_api.create_work_incident

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

276: ,p_object_version_number => p_object_version_number
277: );
278:
279: --
280: hr_utility.set_location(' Leaving:'||l_proc, 70);
281: --
282: end create_sa_work_incident;
283: --
284: -- ----------------------------------------------------------------------

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

403: where pbg.business_group_id = l_business_group_id;
404: --
405: begin
406: --
407: hr_utility.set_location('Entering:'|| l_proc, 10);
408: --
409: -- Issue a savepoint if operating in validation only mode
410: --
411: savepoint update_sa_work_incident;

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

409: -- Issue a savepoint if operating in validation only mode
410: --
411: savepoint update_sa_work_incident;
412: --
413: hr_utility.set_location(l_proc, 20);
414: --
415: -- Process Logic
416: --
417: -- Get person details.

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

421: into l_business_group_id;
422: --
423: if csr_get_business_group_id%NOTFOUND then
424: close csr_get_business_group_id;
425: hr_utility.set_location(l_proc, 30);
426: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
427: hr_utility.raise_error;
428: end if;
429: close csr_get_business_group_id;

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

422: --
423: if csr_get_business_group_id%NOTFOUND then
424: close csr_get_business_group_id;
425: hr_utility.set_location(l_proc, 30);
426: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
427: hr_utility.raise_error;
428: end if;
429: close csr_get_business_group_id;
430: --

Line 427: hr_utility.raise_error;

423: if csr_get_business_group_id%NOTFOUND then
424: close csr_get_business_group_id;
425: hr_utility.set_location(l_proc, 30);
426: hr_utility.set_message(801,'HR_7432_ASG_INVALID_PERSON');
427: hr_utility.raise_error;
428: end if;
429: close csr_get_business_group_id;
430: --
431: hr_utility.set_location(l_proc, 40);

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

427: hr_utility.raise_error;
428: end if;
429: close csr_get_business_group_id;
430: --
431: hr_utility.set_location(l_proc, 40);
432: --
433: -- Check that the specified business group is valid.
434: --
435: open csr_bg;

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

436: fetch csr_bg
437: into l_legislation_code;
438: if csr_bg%notfound then
439: close csr_bg;
440: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
441: hr_utility.raise_error;
442: end if;
443: close csr_bg;
444: --

Line 441: hr_utility.raise_error;

437: into l_legislation_code;
438: if csr_bg%notfound then
439: close csr_bg;
440: hr_utility.set_message(801, 'HR_7208_API_BUS_GRP_INVALID');
441: hr_utility.raise_error;
442: end if;
443: close csr_bg;
444: --
445: hr_utility.set_location(l_proc, 50);

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

441: hr_utility.raise_error;
442: end if;
443: close csr_bg;
444: --
445: hr_utility.set_location(l_proc, 50);
446: --
447: -- Check that the legislation of the specified business group is 'SA'.
448: --
449: if l_legislation_code <> 'SA' then

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

446: --
447: -- Check that the legislation of the specified business group is 'SA'.
448: --
449: if l_legislation_code <> 'SA' then
450: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
451: hr_utility.set_message_token('LEG_CODE','SA');
452: hr_utility.raise_error;
453: end if;
454: hr_utility.set_location(l_proc, 60);

Line 451: hr_utility.set_message_token('LEG_CODE','SA');

447: -- Check that the legislation of the specified business group is 'SA'.
448: --
449: if l_legislation_code <> 'SA' then
450: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
451: hr_utility.set_message_token('LEG_CODE','SA');
452: hr_utility.raise_error;
453: end if;
454: hr_utility.set_location(l_proc, 60);
455: --

Line 452: hr_utility.raise_error;

448: --
449: if l_legislation_code <> 'SA' then
450: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
451: hr_utility.set_message_token('LEG_CODE','SA');
452: hr_utility.raise_error;
453: end if;
454: hr_utility.set_location(l_proc, 60);
455: --
456: -- Call the contract business process

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

450: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
451: hr_utility.set_message_token('LEG_CODE','SA');
452: hr_utility.raise_error;
453: end if;
454: hr_utility.set_location(l_proc, 60);
455: --
456: -- Call the contract business process
457: --
458: per_work_incident_api.update_work_incident

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

552: ,p_inc_information11 => p_days_escorted
553: ,p_inc_information12 => p_date_commenced
554: );
555: --
556: hr_utility.set_location(' Leaving:'||l_proc, 70);
557: --
558: end update_sa_work_incident;
559: --
560: end per_sa_work_incident_api;