DBA Data[Home] [Help]

APPS.PAY_CFT_BUS dependencies on PAY_CFT_SHD

Line 48: l_api_updating := pay_cft_shd.api_updating

44: Begin
45: --
46: hr_utility.set_location('Entering:'||l_proc, 5);
47: --
48: l_api_updating := pay_cft_shd.api_updating
49: (p_effective_date => p_effective_date,
50: p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
51: p_object_version_number => p_object_version_number);
52: --

Line 55: <> pay_cft_shd.g_old_rec.emp_fed_tax_inf_id) then

51: p_object_version_number => p_object_version_number);
52: --
53: if (l_api_updating
54: and nvl(p_emp_fed_tax_inf_id,hr_api.g_number)
55: <> pay_cft_shd.g_old_rec.emp_fed_tax_inf_id) then
56: --
57: -- raise error as PK has changed
58: --
59: pay_cft_shd.constraint_error('PAY_CA_EMP_FED_TAX_RULES_PK');

Line 59: pay_cft_shd.constraint_error('PAY_CA_EMP_FED_TAX_RULES_PK');

55: <> pay_cft_shd.g_old_rec.emp_fed_tax_inf_id) then
56: --
57: -- raise error as PK has changed
58: --
59: pay_cft_shd.constraint_error('PAY_CA_EMP_FED_TAX_RULES_PK');
60: --
61: elsif not l_api_updating then
62: --
63: -- check if PK is null

Line 69: pay_cft_shd.constraint_error('PAY_CA_EMP_FED_TAX_RULES_PK');

65: if p_emp_fed_tax_inf_id is not null then
66: --
67: -- raise error as PK is not null
68: --
69: pay_cft_shd.constraint_error('PAY_CA_EMP_FED_TAX_RULES_PK');
70: --
71: end if;
72: --
73: end if;

Line 117: l_api_updating := pay_cft_shd.api_updating

113: Begin
114: --
115: hr_utility.set_location('Entering:'||l_proc, 5);
116: --
117: l_api_updating := pay_cft_shd.api_updating
118: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
119: p_effective_date => p_effective_date,
120: p_object_version_number => p_object_version_number);
121: --

Line 124: <> nvl(pay_cft_shd.g_old_rec.legislation_code,hr_api.g_varchar2)

120: p_object_version_number => p_object_version_number);
121: --
122: if l_api_updating
123: and p_legislation_code
124: <> nvl(pay_cft_shd.g_old_rec.legislation_code,hr_api.g_varchar2)
125: or not l_api_updating then
126: ---
127: if p_legislation_code is null then
128: -- raise error as legislation_code is NULL

Line 208: l_api_updating := pay_cft_shd.api_updating

204: ,p_argument_value => p_effective_date
205: );
206: --
207: --dbms_output.put_line('in assignment_id 4');
208: l_api_updating := pay_cft_shd.api_updating
209: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
210: p_effective_date => p_effective_date,
211: p_object_version_number => p_object_version_number);
212: --

Line 217: if p_assignment_id <> pay_cft_shd.g_old_rec.assignment_id then

213: -- Since assignment_id cannot be updated, the case of
214: -- l_api_updating = TRUE is not considered
215: --
216: if (l_api_updating ) then
217: if p_assignment_id <> pay_cft_shd.g_old_rec.assignment_id then
218: --dbms_output.put_line('cannot change assignment_id');
219: hr_utility.set_message(800, 'HR_74027_ASSIGNMENT_ID_CHANGED');
220: hr_utility.raise_error;
221: end if;

Line 315: l_api_updating := pay_cft_shd.api_updating

311: Begin
312: --
313: hr_utility.set_location('Entering:'||l_proc, 5);
314: --
315: l_api_updating := pay_cft_shd.api_updating
316: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
317: p_effective_date => p_effective_date,
318: p_object_version_number => p_object_version_number);
319: --

Line 322: <> nvl(pay_cft_shd.g_old_rec.employment_province,hr_api.g_varchar2)

318: p_object_version_number => p_object_version_number);
319: --
320: if (l_api_updating
321: and p_employment_province
322: <> nvl(pay_cft_shd.g_old_rec.employment_province,hr_api.g_varchar2)
323: or not l_api_updating)
324: and p_employment_province is not null then
325: --
326: -- check if value of lookup falls within lookup type.

Line 383: l_api_updating := pay_cft_shd.api_updating

379: Begin
380: --
381: hr_utility.set_location('Entering:'||l_proc, 5);
382: --
383: l_api_updating := pay_cft_shd.api_updating
384: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
385: p_effective_date => p_effective_date,
386: p_object_version_number => p_object_version_number);
387: --

Line 390: <> nvl(pay_cft_shd.g_old_rec.ei_exempt_flag,hr_api.g_varchar2)

386: p_object_version_number => p_object_version_number);
387: --
388: if (l_api_updating
389: and p_ei_exempt_flag
390: <> nvl(pay_cft_shd.g_old_rec.ei_exempt_flag,hr_api.g_varchar2)
391: or not l_api_updating)
392: and p_ei_exempt_flag is not null then
393: --
394: -- check if value of lookup falls within lookup type.

Line 452: l_api_updating := pay_cft_shd.api_updating

448: Begin
449: --
450: hr_utility.set_location('Entering:'||l_proc, 5);
451: --
452: l_api_updating := pay_cft_shd.api_updating
453: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
454: p_effective_date => p_effective_date,
455: p_object_version_number => p_object_version_number);
456: --

Line 459: <> nvl(pay_cft_shd.g_old_rec.fed_exempt_flag,hr_api.g_varchar2)

455: p_object_version_number => p_object_version_number);
456: --
457: if (l_api_updating
458: and p_fed_exempt_flag
459: <> nvl(pay_cft_shd.g_old_rec.fed_exempt_flag,hr_api.g_varchar2)
460: or not l_api_updating)
461: and p_fed_exempt_flag is not null then
462: --
463: -- check if value of lookup falls within lookup type.

Line 521: l_api_updating := pay_cft_shd.api_updating

517: Begin
518: --
519: hr_utility.set_location('Entering:'||l_proc, 5);
520: --
521: l_api_updating := pay_cft_shd.api_updating
522: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
523: p_effective_date => p_effective_date,
524: p_object_version_number => p_object_version_number);
525: --

Line 528: <> nvl(pay_cft_shd.g_old_rec.cpp_qpp_exempt_flag,hr_api.g_varchar2)

524: p_object_version_number => p_object_version_number);
525: --
526: if (l_api_updating
527: and p_cpp_qpp_exempt_flag
528: <> nvl(pay_cft_shd.g_old_rec.cpp_qpp_exempt_flag,hr_api.g_varchar2)
529: or not l_api_updating)
530: and p_cpp_qpp_exempt_flag is not null then
531: --
532: -- check if value of lookup falls within lookup type.

Line 591: l_api_updating := pay_cft_shd.api_updating

587: Begin
588: --
589: hr_utility.set_location('Entering:'||l_proc, 5);
590: --
591: l_api_updating := pay_cft_shd.api_updating
592: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
593: p_effective_date => p_effective_date,
594: p_object_version_number => p_object_version_number);
595: --

Line 598: <> nvl(pay_cft_shd.g_old_rec.basic_exemption_flag,hr_api.g_varchar2)

594: p_object_version_number => p_object_version_number);
595: --
596: if (l_api_updating
597: and p_basic_exemption_flag
598: <> nvl(pay_cft_shd.g_old_rec.basic_exemption_flag,hr_api.g_varchar2)
599: or not l_api_updating)
600: and p_basic_exemption_flag is not null then
601: --
602: -- check if value of lookup falls within lookup type.

Line 675: l_api_updating := pay_cft_shd.api_updating

671: Begin
672: --
673: hr_utility.set_location('Entering:'||l_proc, 5);
674: --
675: l_api_updating := pay_cft_shd.api_updating
676: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
677: p_effective_date => p_effective_date,
678: p_object_version_number => p_object_version_number);
679: --

Line 682: <> nvl(pay_cft_shd.g_old_rec.tax_calc_method,hr_api.g_varchar2)

678: p_object_version_number => p_object_version_number);
679: --
680: if (l_api_updating
681: and p_tax_calc_method
682: <> nvl(pay_cft_shd.g_old_rec.tax_calc_method,hr_api.g_varchar2)
683: or not l_api_updating)
684: and p_tax_calc_method is not null then
685: --
686: -- check if value of lookup falls within lookup type.

Line 913: (p_rec in pay_cft_shd.g_rec_type,

909: -- ----------------------------------------------------------------------------
910: -- |---------------------------< insert_validate >----------------------------|
911: -- ----------------------------------------------------------------------------
912: Procedure insert_validate
913: (p_rec in pay_cft_shd.g_rec_type,
914: p_effective_date in date,
915: p_datetrack_mode in varchar2,
916: p_validation_start_date in date,
917: p_validation_end_date in date) is

Line 1002: (p_rec in pay_cft_shd.g_rec_type,

998: -- ----------------------------------------------------------------------------
999: -- |---------------------------< update_validate >----------------------------|
1000: -- ----------------------------------------------------------------------------
1001: Procedure update_validate
1002: (p_rec in pay_cft_shd.g_rec_type,
1003: p_effective_date in date,
1004: p_datetrack_mode in varchar2,
1005: p_validation_start_date in date,
1006: p_validation_end_date in date) is

Line 1089: (p_rec in pay_cft_shd.g_rec_type,

1085: -- ----------------------------------------------------------------------------
1086: -- |---------------------------< delete_validate >----------------------------|
1087: -- ----------------------------------------------------------------------------
1088: Procedure delete_validate
1089: (p_rec in pay_cft_shd.g_rec_type,
1090: p_effective_date in date,
1091: p_datetrack_mode in varchar2,
1092: p_validation_start_date in date,
1093: p_validation_end_date in date) is