DBA Data[Home] [Help]

APPS.PER_BPD_BUS dependencies on HR_UTILITY

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

37: l_proc varchar2(72) := g_package||'set_security_group_id';
38: --
39: begin
40: --
41: hr_utility.set_location('Entering:'|| l_proc, 10);
42: --
43: -- Ensure that all the mandatory parameter are not null
44: --
45: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

66: hr_api.set_security_group_id
67: (p_security_group_id => l_security_group_id
68: );
69: --
70: hr_utility.set_location(' Leaving:'|| l_proc, 20);
71: --
72: end set_security_group_id;
73: --
74: -- ---------------------------------------------------------------------------

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

93: l_proc varchar2(72) := g_package||'return_legislation_code';
94: --
95: begin
96: --
97: hr_utility.set_location('Entering:'|| l_proc, 10);
98: --
99: -- Ensure that all the mandatory parameter are not null
100: --
101: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

109: -- call to this function. Just return the value in the global
110: -- variable.
111: --
112: l_legislation_code := g_legislation_code;
113: hr_utility.set_location(l_proc, 20);
114: else
115: --
116: -- The ID is different to the last call to this function
117: -- or this is the first call to this function.

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

126: close csr_leg_code;
127: fnd_message.set_name('PER','HR_7220_INVALID_PRIMARY_KEY');
128: fnd_message.raise_error;
129: end if;
130: hr_utility.set_location(l_proc,30);
131: --
132: -- Set the global variables so the values are
133: -- available for the next call to this function.
134: --

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

135: close csr_leg_code;
136: g_payment_detail_id := p_payment_detail_id;
137: g_legislation_code := l_legislation_code;
138: end if;
139: hr_utility.set_location(' Leaving:'|| l_proc, 40);
140: return l_legislation_code;
141: end return_legislation_code;
142: --
143: -- ----------------------------------------------------------------------------

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

174: --
175: l_proc varchar2(72) := g_package || 'chk_df';
176: --
177: begin
178: hr_utility.set_location('Entering:'||l_proc,10);
179: --
180: if ((p_rec.payment_detail_id is not null) and (
181: nvl(per_bpd_shd.g_old_rec.bpd_attribute_category, hr_api.g_varchar2) <>
182: nvl(p_rec.bpd_attribute_category, hr_api.g_varchar2) or

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

314:
315: );
316: end if;
317: --
318: hr_utility.set_location(' Leaving:'||l_proc,20);
319: end chk_df;
320: -- ----------------------------------------------------------------------------
321: -- |----------------------< check_non_updateable_args >-----------------------|
322: -- ----------------------------------------------------------------------------

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

350: l_error EXCEPTION;
351: l_argument varchar2(30);
352: --
353: Begin
354: hr_utility.set_location('Entering:'||l_proc,5);
355: --
356: -- Only proceed with the validation if a row exists for the current
357: -- record in the HR Schema.
358: --

Line 363: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');

359: IF NOT per_bpd_shd.api_updating
360: (p_payment_detail_id => p_rec.payment_detail_id
361: ,p_object_version_number => p_rec.object_version_number
362: ) THEN
363: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
364: hr_utility.set_message_token('PROCEDURE ', l_proc);
365: hr_utility.set_message_token('STEP ', '5');
366: END IF;
367: --

Line 364: hr_utility.set_message_token('PROCEDURE ', l_proc);

360: (p_payment_detail_id => p_rec.payment_detail_id
361: ,p_object_version_number => p_rec.object_version_number
362: ) THEN
363: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
364: hr_utility.set_message_token('PROCEDURE ', l_proc);
365: hr_utility.set_message_token('STEP ', '5');
366: END IF;
367: --
368: hr_utility.set_location(l_proc,10);

Line 365: hr_utility.set_message_token('STEP ', '5');

361: ,p_object_version_number => p_rec.object_version_number
362: ) THEN
363: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
364: hr_utility.set_message_token('PROCEDURE ', l_proc);
365: hr_utility.set_message_token('STEP ', '5');
366: END IF;
367: --
368: hr_utility.set_location(l_proc,10);
369: --

Line 368: hr_utility.set_location(l_proc,10);

364: hr_utility.set_message_token('PROCEDURE ', l_proc);
365: hr_utility.set_message_token('STEP ', '5');
366: END IF;
367: --
368: hr_utility.set_location(l_proc,10);
369: --
370: IF nvl(p_rec.processed_assignment_id, hr_api.g_number) <>
371: per_bpd_shd.g_old_rec.processed_assignment_id then
372: l_argument:='processed_assignment_id';

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

371: per_bpd_shd.g_old_rec.processed_assignment_id then
372: l_argument:='processed_assignment_id';
373: raise l_error;
374: END IF;
375: hr_utility.set_location(l_proc,20);
376: --
377: IF nvl(p_rec.personal_payment_method_id, hr_api.g_number) <>
378: per_bpd_shd.g_old_rec.personal_payment_method_id then
379: l_argument:='personal_payment_method_id';

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

378: per_bpd_shd.g_old_rec.personal_payment_method_id then
379: l_argument:='personal_payment_method_id';
380: raise l_error;
381: END IF;
382: hr_utility.set_location(l_proc,30);
383: --
384: IF nvl(p_rec.business_group_id, hr_api.g_number) <>
385: per_bpd_shd.g_old_rec.business_group_id then
386: l_argument:='business_group_id';

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

385: per_bpd_shd.g_old_rec.business_group_id then
386: l_argument:='business_group_id';
387: raise l_error;
388: END IF;
389: hr_utility.set_location(l_proc,40);
390: --
391: EXCEPTION
392: WHEN l_error THEN
393: hr_api.argument_changed_error

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

394: (p_api_name => l_proc
395: ,p_argument => l_argument);
396: WHEN OTHERS THEN
397: RAISE;
398: hr_utility.set_location(' Leaving:'||l_proc,20);
399: End chk_non_updateable_args;
400: --
401: -- ----------------------------------------------------------------------------
402: -- |----------------------< chk_payment_method_id >---------------------------|

Line 445: hr_utility.set_message(800,'HR_52947_INVALID_PPM_ID');

441: --
442: -- There isn't a payment_method with the id passed in which is in the
443: -- same business group so error
444: --
445: hr_utility.set_message(800,'HR_52947_INVALID_PPM_ID');
446: hr_utility.raise_error;
447: --
448: END IF;
449: CLOSE csr_get_method_details;

Line 446: hr_utility.raise_error;

442: -- There isn't a payment_method with the id passed in which is in the
443: -- same business group so error
444: --
445: hr_utility.set_message(800,'HR_52947_INVALID_PPM_ID');
446: hr_utility.raise_error;
447: --
448: END IF;
449: CLOSE csr_get_method_details;
450: END CHK_PAYMENT_METHOD_ID;

Line 493: hr_utility.set_message(800,'HR_52948_BAD_PROCESSED_ASG_ID');

489: CLOSE csr_chk_processed_asg_id;
490: --
491: -- The ID hasn't been found, so error
492: --
493: hr_utility.set_message(800,'HR_52948_BAD_PROCESSED_ASG_ID');
494: hr_utility.raise_error;
495: --
496: END IF;
497: CLOSE csr_chk_processed_asg_id;

Line 494: hr_utility.raise_error;

490: --
491: -- The ID hasn't been found, so error
492: --
493: hr_utility.set_message(800,'HR_52948_BAD_PROCESSED_ASG_ID');
494: hr_utility.raise_error;
495: --
496: END IF;
497: CLOSE csr_chk_processed_asg_id;
498: --

Line 560: hr_utility.set_message(800, 'HR_52949_CT_NOT_EXIST');

556: --
557: -- The lookup code entered doesn't exist in hr_lookups
558: -- so error.
559: --
560: hr_utility.set_message(800, 'HR_52949_CT_NOT_EXIST');
561: hr_utility.raise_error;
562: --
563: END IF;
564: --

Line 561: hr_utility.raise_error;

557: -- The lookup code entered doesn't exist in hr_lookups
558: -- so error.
559: --
560: hr_utility.set_message(800, 'HR_52949_CT_NOT_EXIST');
561: hr_utility.raise_error;
562: --
563: END IF;
564: --
565: IF p_effective_date not between NVL (l_start_date, hr_api.g_sot)

Line 571: hr_utility.set_message(800,'HR_52351_CT_NOT_VALID');

567: --
568: -- The lookup exists, but it isn't valid for the effective date
569: -- so error.
570: --
571: hr_utility.set_message(800,'HR_52351_CT_NOT_VALID');
572: hr_utility.raise_error;
573: --
574: END IF;
575: --

Line 572: hr_utility.raise_error;

568: -- The lookup exists, but it isn't valid for the effective date
569: -- so error.
570: --
571: hr_utility.set_message(800,'HR_52351_CT_NOT_VALID');
572: hr_utility.raise_error;
573: --
574: END IF;
575: --
576: END IF;

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

596: where processed_assignment_id = p_processed_assignment_id
597: and personal_payment_method_id = p_personal_payment_method_id;
598: --
599: begin
600: hr_utility.set_location('Entering: '||l_proc, 10);
601: --
602: hr_api.mandatory_arg_error(p_api_name => l_proc
603: ,p_argument => 'PROCESSED_ASSIGNMENT_ID'
604: ,p_argument_value => p_processed_assignment_id);

Line 619: hr_utility.set_location(' Leaving: '||l_proc, 50);

615: per_bpd_shd.constraint_error('PER_BF_PAYMENT_DETAILS_UK1');
616: end if;
617: close csr_unique_ids;
618: --
619: hr_utility.set_location(' Leaving: '||l_proc, 50);
620: --
621: end chk_ids_unique;
622: -- ----------------------------------------------------------------------------
623: -- |---------------------------< insert_validate >----------------------------|

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

628: --
629: l_proc varchar2(72) := g_package||'insert_validate';
630: --
631: Begin
632: hr_utility.set_location('Entering:'||l_proc, 5);
633: --
634: -- Call all supporting business operations
635: --
636: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

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

658: -- Validate flexfields
659: -- ===================
660: chk_df(p_rec => p_rec);
661: --
662: hr_utility.set_location(' Leaving:'||l_proc, 10);
663: End insert_validate;
664: --
665: -- ----------------------------------------------------------------------------
666: -- |---------------------------< update_validate >----------------------------|

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

671: --
672: l_proc varchar2(72) := g_package||'update_validate';
673: --
674: Begin
675: hr_utility.set_location('Entering:'||l_proc, 5);
676: --
677: -- Call all supporting business operations
678: --
679: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

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

690: -- Validate flexfields
691: -- ===================
692: chk_df(p_rec => p_rec);
693: --
694: hr_utility.set_location(' Leaving:'||l_proc, 10);
695: End update_validate;
696: --
697: -- ----------------------------------------------------------------------------
698: -- |---------------------------< delete_validate >----------------------------|

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

701: --
702: l_proc varchar2(72) := g_package||'delete_validate';
703: --
704: Begin
705: hr_utility.set_location('Entering:'||l_proc, 5);
706: --
707: -- Call all supporting business operations
708: --
709: hr_utility.set_location(' Leaving:'||l_proc, 10);

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

705: hr_utility.set_location('Entering:'||l_proc, 5);
706: --
707: -- Call all supporting business operations
708: --
709: hr_utility.set_location(' Leaving:'||l_proc, 10);
710: End delete_validate;
711: --
712: end per_bpd_bus;