DBA Data[Home] [Help]

APPS.HR_DK_VALIDATE_PKG dependencies on HR_UTILITY

Line 24: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

20: BEGIN
21: --
22: -- Added for GSI Bug 5472781
23: --
24: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
25: --
26: l_type := NULL;
27: OPEN c_type;
28: FETCH c_type INTO l_type;

Line 59: hr_utility.raise_error;

55: /*Added an additional check fnd_profile.value('PER_NATIONAL_IDENTIFIER_VALIDATION')IN ('ERROR','WARN')*/
56: IF l_field IS NOT NULL AND fnd_profile.value('PER_NATIONAL_IDENTIFIER_VALIDATION')IN ('ERROR','WARN') THEN
57: fnd_message.set_name('PER', 'HR_377002_DK_MANDATORY_MSG');
58: fnd_message.set_token('NAME',l_field, translate => true );
59: hr_utility.raise_error;
60: END IF;
61: --
62: END IF;
63: --

Line 76: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

72: BEGIN
73: --
74: -- Added for GSI Bug 5472781
75: --
76: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
77: --
78: validate
79: (p_person_type_id => p_person_type_id
80: ,p_first_name => p_first_name

Line 121: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

117: BEGIN
118: --
119: -- Added for GSI Bug 5472781
120: --
121: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
122: --
123: per_per_bus.chk_person_type
124: (p_person_type_id => l_person_type_id
125: ,p_business_group_id => p_business_group_id

Line 149: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

145: BEGIN
146: --
147: -- Added for GSI Bug 5472781
148: --
149: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
150: --
151: per_per_bus.chk_person_type
152: (p_person_type_id => l_person_type_id
153: ,p_business_group_id => p_business_group_id

Line 217: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

213: BEGIN
214: --
215: -- Added for GSI Bug 5472781
216: --
217: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
218: --
219: open getbgid;
220: fetch getbgid into l_business_group_id;
221: close getbgid;

Line 353: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

349: BEGIN
350: --
351: -- Added for GSI Bug 5472781
352: --
353: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
354: --
355: open getorgid;
356: fetch getorgid into l_organization_id;
357: close getorgid;

Line 425: --hr_utility.raise_error;--fnd_message.raise_error;

421:
422: IF l_effective_date BETWEEN l_hol_acc_sd AND l_hol_acc_ed THEN
423: NULL;
424: --fnd_message.set_name('PAY','PAY_377105_DK_HOL_ALL_RED_WARN');
425: --hr_utility.raise_error;--fnd_message.raise_error;
426: ELSE
427: fnd_message.set_name('PAY','PAY_377106_DK_HOL_ALL_RED_ERR');
428: fnd_message.raise_error;
429: END IF;

Line 453: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

449: BEGIN
450: --
451: -- Added for GSI Bug 5472781
452: --
453: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
454: --
455: IF p_assignment_status_type_id = 3 THEN
456: IF p_segment6 IS NULL THEN
457: l_field := hr_general.decode_lookup('DK_FORM_LABELS','TR');

Line 460: hr_utility.raise_error;

456: IF p_segment6 IS NULL THEN
457: l_field := hr_general.decode_lookup('DK_FORM_LABELS','TR');
458: fnd_message.set_name('PER', 'HR_377002_DK_MANDATORY_MSG');
459: fnd_message.set_token('NAME',l_field, translate => true );
460: hr_utility.raise_error;
461: END IF;
462:
463: IF p_segment7 IS NULL THEN
464: l_field := hr_general.decode_lookup('DK_FORM_LABELS','ND');

Line 467: hr_utility.raise_error;

463: IF p_segment7 IS NULL THEN
464: l_field := hr_general.decode_lookup('DK_FORM_LABELS','ND');
465: fnd_message.set_name('PER', 'HR_377002_DK_MANDATORY_MSG');
466: fnd_message.set_token('NAME',l_field, translate => true );
467: hr_utility.raise_error;
468: END IF;
469:
470: IF p_segment8 IS NULL THEN
471: l_field := hr_general.decode_lookup('DK_FORM_LABELS','TD');

Line 474: hr_utility.raise_error;

470: IF p_segment8 IS NULL THEN
471: l_field := hr_general.decode_lookup('DK_FORM_LABELS','TD');
472: fnd_message.set_name('PER', 'HR_377002_DK_MANDATORY_MSG');
473: fnd_message.set_token('NAME',l_field, translate => true );
474: hr_utility.raise_error;
475: END IF;
476: IF p_segment9 IS NULL THEN
477: l_field := hr_general.decode_lookup('DK_FORM_LABELS','AD');
478: fnd_message.set_name('PER', 'HR_377002_DK_MANDATORY_MSG');

Line 480: hr_utility.raise_error;

476: IF p_segment9 IS NULL THEN
477: l_field := hr_general.decode_lookup('DK_FORM_LABELS','AD');
478: fnd_message.set_name('PER', 'HR_377002_DK_MANDATORY_MSG');
479: fnd_message.set_token('NAME',l_field, translate => true );
480: hr_utility.raise_error;
481: END IF;
482:
483: ELSE
484: -- GSI Bug 4585094

Line 487: hr_utility.raise_error;

483: ELSE
484: -- GSI Bug 4585094
485: IF p_segment6 <> hr_api.g_varchar2 THEN
486: fnd_message.set_name('PER', 'HR_377009_DK_TR_INVALID');
487: hr_utility.raise_error;
488: END IF;
489: -- GSI Bug 4585094
490: IF p_segment7 <> hr_api.g_varchar2 THEN
491: fnd_message.set_name('PER', 'HR_377010_DK_ND_INVALID');

Line 492: hr_utility.raise_error;

488: END IF;
489: -- GSI Bug 4585094
490: IF p_segment7 <> hr_api.g_varchar2 THEN
491: fnd_message.set_name('PER', 'HR_377010_DK_ND_INVALID');
492: hr_utility.raise_error;
493: END IF;
494: -- GSI Bug 4585094
495: IF p_segment8 <> hr_api.g_varchar2 THEN
496: fnd_message.set_name('PER', 'HR_377011_DK_TD_INVALID');

Line 497: hr_utility.raise_error;

493: END IF;
494: -- GSI Bug 4585094
495: IF p_segment8 <> hr_api.g_varchar2 THEN
496: fnd_message.set_name('PER', 'HR_377011_DK_TD_INVALID');
497: hr_utility.raise_error;
498: END IF;
499:
500: END IF;
501:

Line 516: hr_utility.raise_error;

512: if p_segment7 <> hr_api.g_varchar2 -- GSI Bug 4585094
513: and l_asg_start_date is not NULL then
514: if fnd_date.canonical_to_date(p_segment7) < fnd_date.canonical_to_date(l_asg_start_date) then
515: fnd_message.set_name('PER', 'HR_377006_DK_NOTIFIED_DATE');
516: hr_utility.raise_error;
517: end if;
518: end if;
519: -- Validation rule : Termination date >= notified date --
520: if p_segment8 <> hr_api.g_varchar2 -- GSI Bug 4585094

Line 524: hr_utility.raise_error;

520: if p_segment8 <> hr_api.g_varchar2 -- GSI Bug 4585094
521: and p_segment7 <> hr_api.g_varchar2 then
522: if fnd_date.canonical_to_date(p_segment8) < fnd_date.canonical_to_date(p_segment7) then
523: fnd_message.set_name('PER', 'HR_377007_DK_TERM_DATE_ERR');
524: hr_utility.raise_error;
525: end if;
526: end if;
527: -- Validation rule : Adjusted seniority date < notified date --
528: if p_segment9 <> hr_api.g_varchar2 -- GSI Bug 4585094

Line 532: hr_utility.raise_error;

528: if p_segment9 <> hr_api.g_varchar2 -- GSI Bug 4585094
529: and p_segment7 <> hr_api.g_varchar2 then
530: if fnd_date.canonical_to_date(p_segment9) >= fnd_date.canonical_to_date(p_segment7) then
531: fnd_message.set_name('PER', 'HR_377008_DK_ASD_ERR');
532: hr_utility.raise_error;
533: end if;
534: end if;
535:
536: END IF;

Line 586: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN

582: BEGIN
583: --
584: -- Added for GSI Bug 5472781
585: --
586: IF hr_utility.chk_product_install('Oracle Human Resources', 'DK') THEN
587: --
588: IF p_org_information1 = 'DK_PENSION_PROVIDER' THEN
589:
590: open orgtype;