DBA Data[Home] [Help]

APPS.BEN_OPR_BUS dependencies on HR_API

Line 54: and nvl(p_othr_ptip_rt_id,hr_api.g_number)

50: p_othr_ptip_rt_id => p_othr_ptip_rt_id,
51: p_object_version_number => p_object_version_number);
52: --
53: if (l_api_updating
54: and nvl(p_othr_ptip_rt_id,hr_api.g_number)
55: <> ben_opr_shd.g_old_rec.othr_ptip_rt_id) then
56: --
57: -- raise error as PK has changed
58: --

Line 132: and opr.othr_ptip_rt_id <> nvl(p_othr_ptip_rt_id,hr_api.g_number)

128: select null
129: from ben_othr_ptip_rt_f opr
130: where opr.ptip_id = p_ptip_id
131: and opr.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
132: and opr.othr_ptip_rt_id <> nvl(p_othr_ptip_rt_id,hr_api.g_number)
133:
134: and opr.business_group_id + 0 = p_business_group_id
135: and p_validation_start_date <= opr.effective_end_date
136: and p_validation_end_date >= opr.effective_start_date;

Line 148: and nvl(p_ptip_id,hr_api.g_number)

144: p_effective_date => p_effective_date,
145: p_object_version_number => p_object_version_number);
146: --
147: if (l_api_updating
148: and nvl(p_ptip_id,hr_api.g_number)
149: <> nvl(ben_opr_shd.g_old_rec.ptip_id,hr_api.g_number)
150: or not l_api_updating) then
151: --
152: -- check if ptip_id value exists in the plan type in program table

Line 149: <> nvl(ben_opr_shd.g_old_rec.ptip_id,hr_api.g_number)

145: p_object_version_number => p_object_version_number);
146: --
147: if (l_api_updating
148: and nvl(p_ptip_id,hr_api.g_number)
149: <> nvl(ben_opr_shd.g_old_rec.ptip_id,hr_api.g_number)
150: or not l_api_updating) then
151: --
152: -- check if ptip_id value exists in the plan type in program table
153: open c1;

Line 236: <> nvl(ben_opr_shd.g_old_rec.only_pls_subj_cobra_flag,hr_api.g_varchar2)

232: p_object_version_number => p_object_version_number);
233: --
234: if (l_api_updating
235: and p_only_pls_subj_cobra_flag
236: <> nvl(ben_opr_shd.g_old_rec.only_pls_subj_cobra_flag,hr_api.g_varchar2)
237: or not l_api_updating) then
238: --
239: -- check if value of lookup falls within lookup type.
240: --

Line 242: if hr_api.not_exists_in_hr_lookups

238: --
239: -- check if value of lookup falls within lookup type.
240: --
241: --
242: if hr_api.not_exists_in_hr_lookups
243: (p_lookup_type => 'YES_NO',
244: p_lookup_code => p_only_pls_subj_cobra_flag,
245: p_effective_date => p_effective_date) then
246: --

Line 307: <> nvl(ben_opr_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

303: p_object_version_number => p_object_version_number);
304: --
305: if (l_api_updating
306: and p_excld_flag
307: <> nvl(ben_opr_shd.g_old_rec.excld_flag,hr_api.g_varchar2)
308: or not l_api_updating) then
309: --
310: -- check if value of lookup falls within lookup type.
311: --

Line 313: if hr_api.not_exists_in_hr_lookups

309: --
310: -- check if value of lookup falls within lookup type.
311: --
312: --
313: if hr_api.not_exists_in_hr_lookups
314: (p_lookup_type => 'YES_NO',
315: p_lookup_code => p_excld_flag,
316: p_effective_date => p_effective_date) then
317: --

Line 433: (p_vrbl_rt_prfl_id in number default hr_api.g_number,

429: --
430: -- {End Of Comments}
431: -- ----------------------------------------------------------------------------
432: Procedure dt_update_validate
433: (p_vrbl_rt_prfl_id in number default hr_api.g_number,
434: p_ptip_id in number default hr_api.g_number,
435: p_datetrack_mode in varchar2,
436: p_validation_start_date in date,
437: p_validation_end_date in date) Is

Line 434: p_ptip_id in number default hr_api.g_number,

430: -- {End Of Comments}
431: -- ----------------------------------------------------------------------------
432: Procedure dt_update_validate
433: (p_vrbl_rt_prfl_id in number default hr_api.g_number,
434: p_ptip_id in number default hr_api.g_number,
435: p_datetrack_mode in varchar2,
436: p_validation_start_date in date,
437: p_validation_end_date in date) Is
438: --

Line 448: hr_api.mandatory_arg_error

444: hr_utility.set_location('Entering:'||l_proc, 5);
445: --
446: -- Ensure that the p_datetrack_mode argument is not null
447: --
448: hr_api.mandatory_arg_error
449: (p_api_name => l_proc,
450: p_argument => 'datetrack_mode',
451: p_argument_value => p_datetrack_mode);
452: --

Line 460: hr_api.mandatory_arg_error

456: --
457: --
458: -- Ensure the arguments are not null
459: --
460: hr_api.mandatory_arg_error
461: (p_api_name => l_proc,
462: p_argument => 'validation_start_date',
463: p_argument_value => p_validation_start_date);
464: --

Line 465: hr_api.mandatory_arg_error

461: (p_api_name => l_proc,
462: p_argument => 'validation_start_date',
463: p_argument_value => p_validation_start_date);
464: --
465: hr_api.mandatory_arg_error
466: (p_api_name => l_proc,
467: p_argument => 'validation_end_date',
468: p_argument_value => p_validation_end_date);
469: --

Line 470: If ((nvl(p_vrbl_rt_prfl_id, hr_api.g_number) <> hr_api.g_number) and

466: (p_api_name => l_proc,
467: p_argument => 'validation_end_date',
468: p_argument_value => p_validation_end_date);
469: --
470: If ((nvl(p_vrbl_rt_prfl_id, hr_api.g_number) <> hr_api.g_number) and
471: NOT (dt_api.check_min_max_dates
472: (p_base_table_name => 'ben_vrbl_rt_prfl_f',
473: p_base_key_column => 'vrbl_rt_prfl_id',
474: p_base_key_value => p_vrbl_rt_prfl_id,

Line 480: If ((nvl(p_ptip_id, hr_api.g_number) <> hr_api.g_number) and

476: p_to_date => p_validation_end_date))) Then
477: l_table_name := 'ben_vrbl_rt_prfl_f';
478: Raise l_integrity_error;
479: End If;
480: If ((nvl(p_ptip_id, hr_api.g_number) <> hr_api.g_number) and
481: NOT (dt_api.check_min_max_dates
482: (p_base_table_name => 'ben_ptip_f',
483: p_base_key_column => 'ptip_id',
484: p_base_key_value => p_ptip_id,

Line 562: hr_api.mandatory_arg_error

558: hr_utility.set_location('Entering:'||l_proc, 5);
559: --
560: -- Ensure that the p_datetrack_mode argument is not null
561: --
562: hr_api.mandatory_arg_error
563: (p_api_name => l_proc,
564: p_argument => 'datetrack_mode',
565: p_argument_value => p_datetrack_mode);
566: --

Line 576: hr_api.mandatory_arg_error

572: --
573: --
574: -- Ensure the arguments are not null
575: --
576: hr_api.mandatory_arg_error
577: (p_api_name => l_proc,
578: p_argument => 'validation_start_date',
579: p_argument_value => p_validation_start_date);
580: --

Line 581: hr_api.mandatory_arg_error

577: (p_api_name => l_proc,
578: p_argument => 'validation_start_date',
579: p_argument_value => p_validation_start_date);
580: --
581: hr_api.mandatory_arg_error
582: (p_api_name => l_proc,
583: p_argument => 'validation_end_date',
584: p_argument_value => p_validation_end_date);
585: --

Line 586: hr_api.mandatory_arg_error

582: (p_api_name => l_proc,
583: p_argument => 'validation_end_date',
584: p_argument_value => p_validation_end_date);
585: --
586: hr_api.mandatory_arg_error
587: (p_api_name => l_proc,
588: p_argument => 'othr_ptip_rt_id',
589: p_argument_value => p_othr_ptip_rt_id);
590: --

Line 634: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

630: --
631: -- Call all supporting business operations
632: --
633: --
634: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
635: --
636: chk_othr_ptip_rt_id
637: (p_othr_ptip_rt_id => p_rec.othr_ptip_rt_id,
638: p_effective_date => p_effective_date,

Line 694: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp

690: --
691: -- Call all supporting business operations
692: --
693: --
694: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
695: --
696: chk_othr_ptip_rt_id
697: (p_othr_ptip_rt_id => p_rec.othr_ptip_rt_id,
698: p_effective_date => p_effective_date,

Line 799: hr_api.mandatory_arg_error(p_api_name => l_proc,

795: hr_utility.set_location('Entering:'|| l_proc, 10);
796: --
797: -- Ensure that all the mandatory parameter are not null
798: --
799: hr_api.mandatory_arg_error(p_api_name => l_proc,
800: p_argument => 'othr_ptip_rt_id',
801: p_argument_value => p_othr_ptip_rt_id);
802: --
803: open csr_leg_code;