DBA Data[Home] [Help]

APPS.HXC_HAN_BUS dependencies on HR_UTILITY

Line 9: g_debug boolean := hr_utility.debug_enabled;

5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_han_bus.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- The following two global variables are only to be
12: -- used by the return_legislation_code function.
13: --

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

51: --
52: begin
53: --
54: if g_debug then
55: hr_utility.set_location('Entering:'|| l_proc, 10);
56: end if;
57: --
58: -- Ensure that all the mandatory parameter are not null
59: --

Line 104: hr_utility.set_location(' Leaving:'|| l_proc, 20);

100: hr_api.set_legislation_context(l_legislation_code);
101: end if;
102: --
103: if g_debug then
104: hr_utility.set_location(' Leaving:'|| l_proc, 20);
105: end if;
106: --
107: end set_security_group_id;
108: --

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

139: --
140: Begin
141: --
142: if g_debug then
143: hr_utility.set_location('Entering:'|| l_proc, 10);
144: end if;
145: --
146: -- Ensure that all the mandatory parameter are not null
147: --

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

166: -- variable.
167: --
168: l_legislation_code := hxc_han_bus.g_legislation_code;
169: if g_debug then
170: hr_utility.set_location(l_proc, 20);
171: end if;
172: else
173: --
174: -- The ID is different to the last call to this function

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

185: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
186: fnd_message.raise_error;
187: end if;
188: if g_debug then
189: hr_utility.set_location(l_proc,30);
190: end if;
191: --
192: -- Set the global variables so the values are
193: -- available for the next call to this function.

Line 201: hr_utility.set_location(' Leaving:'|| l_proc, 40);

197: hxc_han_bus.g_object_version_number := p_object_version_number;
198: hxc_han_bus.g_legislation_code := l_legislation_code;
199: end if;
200: if g_debug then
201: hr_utility.set_location(' Leaving:'|| l_proc, 40);
202: end if;
203: return l_legislation_code;
204: end return_legislation_code;
205: --

Line 291: hr_utility.set_message (809, 'HXC_RETRIES_NOT_ZERO');

287: )
288: THEN
289: IF (p_notification_number_retries <> 0)
290: THEN
291: hr_utility.set_message (809, 'HXC_RETRIES_NOT_ZERO');
292: hr_utility.raise_error;
293: END IF;
294: ELSE
295: IF ( p_notification_number_retries < 0

Line 292: hr_utility.raise_error;

288: THEN
289: IF (p_notification_number_retries <> 0)
290: THEN
291: hr_utility.set_message (809, 'HXC_RETRIES_NOT_ZERO');
292: hr_utility.raise_error;
293: END IF;
294: ELSE
295: IF ( p_notification_number_retries < 0
296: OR p_notification_number_retries > 999

Line 299: hr_utility.set_message (809, 'HXC_INAVALID_NUM_RETRIES');

295: IF ( p_notification_number_retries < 0
296: OR p_notification_number_retries > 999
297: )
298: THEN
299: hr_utility.set_message (809, 'HXC_INAVALID_NUM_RETRIES');
300: hr_utility.raise_error;
301: END IF;
302: END IF;
303:

Line 300: hr_utility.raise_error;

296: OR p_notification_number_retries > 999
297: )
298: THEN
299: hr_utility.set_message (809, 'HXC_INAVALID_NUM_RETRIES');
300: hr_utility.raise_error;
301: END IF;
302: END IF;
303:
304: END chk_notification_num_retries;

Line 319: hr_utility.set_message (809, 'HXC_TIMEOUT_VALUE');

315: IF ( p_notification_timeout_value < 0
316: OR p_notification_timeout_value > 999999
317: )
318: THEN
319: hr_utility.set_message (809, 'HXC_TIMEOUT_VALUE');
320: hr_utility.raise_error;
321: END IF;
322: END chk_notification_timeout_value;
323:

Line 320: hr_utility.raise_error;

316: OR p_notification_timeout_value > 999999
317: )
318: THEN
319: hr_utility.set_message (809, 'HXC_TIMEOUT_VALUE');
320: hr_utility.raise_error;
321: END IF;
322: END chk_notification_timeout_value;
323:
324: --

Line 346: hr_utility.set_message(809,'HXC_ACTION_CODE');

342: ,hxc_app_comp_notifications_api.C_ACTION_SUBMISSION
343: ,hxc_app_comp_notifications_api.C_ACTION_TRANSFER
344: )
345: then
346: hr_utility.set_message(809,'HXC_ACTION_CODE');
347: hr_utility.raise_error;
348: end if;
349: end chk_notification_action_code;
350: --

Line 347: hr_utility.raise_error;

343: ,hxc_app_comp_notifications_api.C_ACTION_TRANSFER
344: )
345: then
346: hr_utility.set_message(809,'HXC_ACTION_CODE');
347: hr_utility.raise_error;
348: end if;
349: end chk_notification_action_code;
350: --
351: -- ----------------------------------------------------------------------------

Line 370: hr_utility.set_message(809,'HXC_RECIPIENT_CODE');

366: ,hxc_app_comp_notifications_api.C_RECIPIENT_SUPERVISOR
367: ,hxc_app_comp_notifications_api.C_RECIPIENT_WORKER
368: )
369: then
370: hr_utility.set_message(809,'HXC_RECIPIENT_CODE');
371: hr_utility.raise_error;
372: end if;
373: end chk_notification_recip_code;
374:

Line 371: hr_utility.raise_error;

367: ,hxc_app_comp_notifications_api.C_RECIPIENT_WORKER
368: )
369: then
370: hr_utility.set_message(809,'HXC_RECIPIENT_CODE');
371: hr_utility.raise_error;
372: end if;
373: end chk_notification_recip_code;
374:
375:

Line 387: g_debug:=hr_utility.debug_enabled;

383: --
384: l_proc varchar2(72) := g_package||'insert_validate';
385: --
386: Begin
387: g_debug:=hr_utility.debug_enabled;
388: if g_debug then
389: l_proc := g_package||'insert_validate';
390: hr_utility.set_location('Entering:'||l_proc, 5);
391: end if;

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

386: Begin
387: g_debug:=hr_utility.debug_enabled;
388: if g_debug then
389: l_proc := g_package||'insert_validate';
390: hr_utility.set_location('Entering:'||l_proc, 5);
391: end if;
392: --
393: -- Call all supporting business operations
394: --

Line 399: hr_utility.set_location('Processing:'||l_proc, 10);

395: --
396: --Check for notification_number_retries
397: --
398: if g_debug then
399: hr_utility.set_location('Processing:'||l_proc, 10);
400: end if;
401:
402: chk_notification_num_retries
403: ( p_notification_number_retries =>p_rec.notification_number_retries

Line 408: hr_utility.set_location(' Leaving:'||l_proc, 10);

404: ,p_notification_action_code =>p_rec.notification_action_code
405: );
406:
407: if g_debug then
408: hr_utility.set_location(' Leaving:'||l_proc, 10);
409: end if;
410: --
411: --Check for notification_timeout_value
412: --

Line 414: hr_utility.set_location('Processing:'||l_proc, 15);

410: --
411: --Check for notification_timeout_value
412: --
413: if g_debug then
414: hr_utility.set_location('Processing:'||l_proc, 15);
415: end if;
416: --
417:
418:

Line 426: hr_utility.set_location(' Leaving:'||l_proc, 15);

422: );
423:
424: --
425: if g_debug then
426: hr_utility.set_location(' Leaving:'||l_proc, 15);
427: end if;
428: --
429: --Check for notification_action_code
430: --

Line 432: hr_utility.set_location('Processing:'||l_proc, 20);

428: --
429: --Check for notification_action_code
430: --
431: if g_debug then
432: hr_utility.set_location('Processing:'||l_proc, 20);
433: end if;
434: chk_notification_action_code
435: (p_notification_action_code =>p_rec.notification_action_code);
436: if g_debug then

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

433: end if;
434: chk_notification_action_code
435: (p_notification_action_code =>p_rec.notification_action_code);
436: if g_debug then
437: hr_utility.set_location(' Leaving:'||l_proc, 20);
438: end if;
439: --
440: --Check for notification_recipient_code
441: --

Line 443: hr_utility.set_location('Processing:'||l_proc, 25);

439: --
440: --Check for notification_recipient_code
441: --
442: if g_debug then
443: hr_utility.set_location('Processing:'||l_proc, 25);
444: end if;
445: chk_notification_recip_code
446: (p_notification_recipient_code =>p_rec.notification_recipient_code);
447: if g_debug then

Line 448: hr_utility.set_location(' Leaving:'||l_proc, 25);

444: end if;
445: chk_notification_recip_code
446: (p_notification_recipient_code =>p_rec.notification_recipient_code);
447: if g_debug then
448: hr_utility.set_location(' Leaving:'||l_proc, 25);
449: end if;
450:
451:
452: -- Validate Dependent Attributes

Line 456: hr_utility.set_location(' Leaving:'||l_proc, 10);

452: -- Validate Dependent Attributes
453: --
454: --
455: if g_debug then
456: hr_utility.set_location(' Leaving:'||l_proc, 10);
457: end if;
458:
459: End insert_validate;
460: --

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

468: l_proc varchar2(72) := g_package||'update_validate';
469: --
470: Begin
471: if g_debug then
472: hr_utility.set_location('Entering:'||l_proc, 5);
473: end if;
474: --
475: -- Call all supporting business operations
476: --

Line 481: hr_utility.set_location('Processing:'||l_proc, 10);

477: --
478: --Check for notification_number_retries
479: --
480: if g_debug then
481: hr_utility.set_location('Processing:'||l_proc, 10);
482: end if;
483:
484: chk_notification_num_retries
485: ( p_notification_number_retries =>p_rec.notification_number_retries

Line 489: hr_utility.set_location(' Leaving:'||l_proc, 10);

485: ( p_notification_number_retries =>p_rec.notification_number_retries
486: ,p_notification_action_code =>p_rec.notification_action_code
487: );
488: if g_debug then
489: hr_utility.set_location(' Leaving:'||l_proc, 10);
490: end if;
491: --
492: --Check for notification_timeout_value
493: --

Line 495: hr_utility.set_location('Processing:'||l_proc, 15);

491: --
492: --Check for notification_timeout_value
493: --
494: if g_debug then
495: hr_utility.set_location('Processing:'||l_proc, 15);
496: end if;
497: --
498: chk_notification_timeout_value
499: (

Line 504: hr_utility.set_location(' Leaving:'||l_proc, 15);

500: p_notification_timeout_value => p_rec.notification_timeout_value
501: );
502: --
503: if g_debug then
504: hr_utility.set_location(' Leaving:'||l_proc, 15);
505: end if;
506: if g_debug then
507: hr_utility.set_location('Processing:'||l_proc, 20);
508: end if;

Line 507: hr_utility.set_location('Processing:'||l_proc, 20);

503: if g_debug then
504: hr_utility.set_location(' Leaving:'||l_proc, 15);
505: end if;
506: if g_debug then
507: hr_utility.set_location('Processing:'||l_proc, 20);
508: end if;
509: chk_non_updateable_args
510: (p_rec => p_rec
511: );

Line 513: hr_utility.set_location(' Leaving:'||l_proc, 20);

509: chk_non_updateable_args
510: (p_rec => p_rec
511: );
512: if g_debug then
513: hr_utility.set_location(' Leaving:'||l_proc, 20);
514: end if;
515:
516: End update_validate;
517: --

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

525: l_proc varchar2(72) := g_package||'delete_validate';
526: --
527: Begin
528: if g_debug then
529: hr_utility.set_location('Entering:'||l_proc, 5);
530: end if;
531: --
532: -- Call all supporting business operations
533: --

Line 535: hr_utility.set_location(' Leaving:'||l_proc, 10);

531: --
532: -- Call all supporting business operations
533: --
534: if g_debug then
535: hr_utility.set_location(' Leaving:'||l_proc, 10);
536: end if;
537: End delete_validate;
538: --
539: end hxc_han_bus;