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 526: l_api_updating := pay_cft_shd.api_updating

522: Begin
523: --
524: hr_utility.set_location('Entering:'||l_proc, 5);
525: --
526: l_api_updating := pay_cft_shd.api_updating
527: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
528: p_effective_date => p_effective_date,
529: p_object_version_number => p_object_version_number);
530: --

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

529: p_object_version_number => p_object_version_number);
530: --
531: if (l_api_updating
532: and p_cpp_qpp_exempt_flag
533: <> nvl(pay_cft_shd.g_old_rec.cpp_qpp_exempt_flag,hr_api.g_varchar2)
534: or not l_api_updating)
535: and p_cpp_qpp_exempt_flag is not null then
536: --
537: -- check if value of lookup falls within lookup type.

Line 608: l_api_updating := pay_cft_shd.api_updating

604: Begin
605: --
606: hr_utility.set_location('Entering:'||l_proc, 5);
607: --
608: l_api_updating := pay_cft_shd.api_updating
609: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
610: p_effective_date => p_effective_date,
611: p_object_version_number => p_object_version_number);
612: --

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

611: p_object_version_number => p_object_version_number);
612: --
613: if (l_api_updating
614: and p_basic_exemption_flag
615: <> nvl(pay_cft_shd.g_old_rec.basic_exemption_flag,hr_api.g_varchar2)
616: or not l_api_updating)
617: and p_basic_exemption_flag is not null then
618: --
619: -- check if value of lookup falls within lookup type.

Line 692: l_api_updating := pay_cft_shd.api_updating

688: Begin
689: --
690: hr_utility.set_location('Entering:'||l_proc, 5);
691: --
692: l_api_updating := pay_cft_shd.api_updating
693: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
694: p_effective_date => p_effective_date,
695: p_object_version_number => p_object_version_number);
696: --

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

695: p_object_version_number => p_object_version_number);
696: --
697: if (l_api_updating
698: and p_tax_calc_method
699: <> nvl(pay_cft_shd.g_old_rec.tax_calc_method,hr_api.g_varchar2)
700: or not l_api_updating)
701: and p_tax_calc_method is not null then
702: --
703: -- check if value of lookup falls within lookup type.

Line 772: l_api_updating := pay_cft_shd.api_updating

768: --
769: hr_utility.set_location('Entering:'||l_proc, 5);
770: p_cpp_election_warning:=FALSE;
771: --
772: l_api_updating := pay_cft_shd.api_updating
773: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
774: p_effective_date => p_effective_date,
775: p_object_version_number => p_object_version_number);
776: --

Line 777: if ((l_api_updating and nvl(pay_cft_shd.g_old_rec.cpp_election_date,

773: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
774: p_effective_date => p_effective_date,
775: p_object_version_number => p_object_version_number);
776: --
777: if ((l_api_updating and nvl(pay_cft_shd.g_old_rec.cpp_election_date,
778: hr_api.g_date)
779: <> nvl(p_cpp_election_date,hr_api.g_date))
780: or (not l_api_updating))
781: then

Line 866: l_api_updating := pay_cft_shd.api_updating

862:
863: hr_utility.set_location('Entering:'||l_proc, 5);
864: p_cpp_revocation_warning:=FALSE;
865: --
866: l_api_updating := pay_cft_shd.api_updating
867: (p_emp_fed_tax_inf_id => p_emp_fed_tax_inf_id,
868: p_effective_date => p_effective_date,
869: p_object_version_number => p_object_version_number);
870: --

Line 872: if ((l_api_updating and nvl(pay_cft_shd.g_old_rec.cpp_revocation_date,

868: p_effective_date => p_effective_date,
869: p_object_version_number => p_object_version_number);
870: --
871: --
872: if ((l_api_updating and nvl(pay_cft_shd.g_old_rec.cpp_revocation_date,
873: hr_api.g_date)
874: <> nvl(p_cpp_revocation_date,hr_api.g_date))
875: or (not l_api_updating)) then
876:

Line 1120: (p_rec in pay_cft_shd.g_rec_type,

1116: -- ----------------------------------------------------------------------------
1117: -- |---------------------------< insert_validate >----------------------------|
1118: -- ----------------------------------------------------------------------------
1119: Procedure insert_validate
1120: (p_rec in pay_cft_shd.g_rec_type,
1121: p_effective_date in date,
1122: p_datetrack_mode in varchar2,
1123: p_validation_start_date in date,
1124: p_validation_end_date in date) is

Line 1211: (p_rec in pay_cft_shd.g_rec_type,

1207: -- ----------------------------------------------------------------------------
1208: -- |---------------------------< update_validate >----------------------------|
1209: -- ----------------------------------------------------------------------------
1210: Procedure update_validate
1211: (p_rec in pay_cft_shd.g_rec_type,
1212: p_effective_date in date,
1213: p_datetrack_mode in varchar2,
1214: p_validation_start_date in date,
1215: p_validation_end_date in date) is

Line 1320: (p_rec in pay_cft_shd.g_rec_type,

1316: -- ----------------------------------------------------------------------------
1317: -- |---------------------------< delete_validate >----------------------------|
1318: -- ----------------------------------------------------------------------------
1319: Procedure delete_validate
1320: (p_rec in pay_cft_shd.g_rec_type,
1321: p_effective_date in date,
1322: p_datetrack_mode in varchar2,
1323: p_validation_start_date in date,
1324: p_validation_end_date in date) is