DBA Data[Home] [Help]

APPS.BEN_PYD_BUS dependencies on HR_API

Line 55: and nvl(p_ptip_dpnt_cvg_ctfn_id,hr_api.g_number)

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

Line 131: nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)

127: from ben_ptip_dpnt_cvg_ctfn_f
128: where nvl(dpnt_cvg_ctfn_typ_cd,0) = nvl(p_dpnt_cvg_ctfn_typ_cd,0)
129: and nvl(rlshp_typ_cd,0) = nvl(p_rlshp_typ_cd,0)
130: and ptip_dpnt_cvg_ctfn_id <>
131: nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)
132: and ptip_id = p_ptip_id
133: and business_group_id + 0 = p_business_group_id
134: and p_validation_start_date <= effective_end_date
135: and p_validation_end_date >= effective_start_date;

Line 148: <> nvl(ben_pyd_shd.g_old_rec.dpnt_cvg_ctfn_typ_cd,hr_api.g_varchar2)

144: p_object_version_number => p_object_version_number);
145: --
146: if (l_api_updating
147: and p_dpnt_cvg_ctfn_typ_cd
148: <> nvl(ben_pyd_shd.g_old_rec.dpnt_cvg_ctfn_typ_cd,hr_api.g_varchar2)
149: or not l_api_updating) then
150: --
151: -- check if value of lookup falls within lookup type.
152: --

Line 154: if hr_api.not_exists_in_hr_lookups

150: --
151: -- check if value of lookup falls within lookup type.
152: --
153: --
154: if hr_api.not_exists_in_hr_lookups
155: (p_lookup_type => 'BEN_DPNT_CVG_CTFN_TYP',
156: p_lookup_code => p_dpnt_cvg_ctfn_typ_cd,
157: p_effective_date => p_effective_date) then
158: --

Line 237: nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)

233: select null
234: from ben_ptip_dpnt_cvg_ctfn_f
235: where rlshp_typ_cd = p_rlshp_typ_cd
236: and ptip_dpnt_cvg_ctfn_id <>
237: nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)
238: and ptip_id = p_ptip_id
239: and business_group_id + 0 = p_business_group_id
240: and p_validation_start_date <= effective_end_date
241: and p_validation_end_date >= effective_start_date;

Line 254: <> nvl(ben_pyd_shd.g_old_rec.rlshp_typ_cd,hr_api.g_varchar2)

250: p_object_version_number => p_object_version_number);
251: --
252: if (l_api_updating
253: and p_rlshp_typ_cd
254: <> nvl(ben_pyd_shd.g_old_rec.rlshp_typ_cd,hr_api.g_varchar2)
255: or not l_api_updating) then
256: --
257: -- check if value of lookup falls within lookup type.
258: --

Line 260: if hr_api.not_exists_in_hr_lookups

256: --
257: -- check if value of lookup falls within lookup type.
258: --
259: --
260: if hr_api.not_exists_in_hr_lookups
261: (p_lookup_type => 'CONTACT',
262: p_lookup_code => p_rlshp_typ_cd,
263: p_effective_date => p_effective_date) then
264: --

Line 357: and nvl(p_ctfn_rqd_when_rl,hr_api.g_number)

353: p_effective_date => p_effective_date,
354: p_object_version_number => p_object_version_number);
355: --
356: if (l_api_updating
357: and nvl(p_ctfn_rqd_when_rl,hr_api.g_number)
358: <> ben_pyd_shd.g_old_rec.ctfn_rqd_when_rl
359: or not l_api_updating)
360: and p_ctfn_rqd_when_rl is not null then
361: --

Line 435: <> nvl(ben_pyd_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag,hr_api.g_varchar2)

431: p_object_version_number => p_object_version_number);
432: --
433: if (l_api_updating
434: and p_lack_ctfn_sspnd_enrt_flag
435: <> nvl(ben_pyd_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag,hr_api.g_varchar2)
436: or not l_api_updating)
437: and p_lack_ctfn_sspnd_enrt_flag is not null then
438: --
439: -- check if value of lookup falls within lookup type.

Line 441: if hr_api.not_exists_in_hr_lookups

437: and p_lack_ctfn_sspnd_enrt_flag is not null then
438: --
439: -- check if value of lookup falls within lookup type.
440: --
441: if hr_api.not_exists_in_hr_lookups
442: (p_lookup_type => 'YES_NO',
443: p_lookup_code => p_lack_ctfn_sspnd_enrt_flag,
444: p_effective_date => p_effective_date) then
445: --

Line 506: nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)

502: from ben_ptip_dpnt_cvg_ctfn_f
503: where pfd_flag = p_pfd_flag
504: and pfd_flag = 'Y'
505: and ptip_dpnt_cvg_ctfn_id <>
506: nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)
507: and ptip_id = p_ptip_id
508: and business_group_id + 0 = p_business_group_id
509: and p_validation_start_date <= effective_end_date
510: and p_validation_end_date >= effective_start_date;

Line 523: <> nvl(ben_pyd_shd.g_old_rec.pfd_flag,hr_api.g_varchar2)

519: p_object_version_number => p_object_version_number);
520: --
521: if (l_api_updating
522: and p_pfd_flag
523: <> nvl(ben_pyd_shd.g_old_rec.pfd_flag,hr_api.g_varchar2)
524: or not l_api_updating)
525: and p_pfd_flag is not null then
526: --
527: -- check if value of lookup falls within lookup type.

Line 529: if hr_api.not_exists_in_hr_lookups

525: and p_pfd_flag is not null then
526: --
527: -- check if value of lookup falls within lookup type.
528: --
529: if hr_api.not_exists_in_hr_lookups
530: (p_lookup_type => 'YES_NO',
531: p_lookup_code => p_pfd_flag,
532: p_effective_date => p_effective_date) then
533: --

Line 594: (p_ctfn_rqd_when_rl in number default hr_api.g_number,

590: --
591: -- {End Of Comments}
592: -- ----------------------------------------------------------------------------
593: Procedure dt_update_validate
594: (p_ctfn_rqd_when_rl in number default hr_api.g_number,
595: p_ptip_id in number default hr_api.g_number,
596: p_datetrack_mode in varchar2,
597: p_validation_start_date in date,
598: p_validation_end_date in date) Is

Line 595: p_ptip_id in number default hr_api.g_number,

591: -- {End Of Comments}
592: -- ----------------------------------------------------------------------------
593: Procedure dt_update_validate
594: (p_ctfn_rqd_when_rl in number default hr_api.g_number,
595: p_ptip_id in number default hr_api.g_number,
596: p_datetrack_mode in varchar2,
597: p_validation_start_date in date,
598: p_validation_end_date in date) Is
599: --

Line 609: hr_api.mandatory_arg_error

605: hr_utility.set_location('Entering:'||l_proc, 5);
606: --
607: -- Ensure that the p_datetrack_mode argument is not null
608: --
609: hr_api.mandatory_arg_error
610: (p_api_name => l_proc,
611: p_argument => 'datetrack_mode',
612: p_argument_value => p_datetrack_mode);
613: --

Line 621: hr_api.mandatory_arg_error

617: --
618: --
619: -- Ensure the arguments are not null
620: --
621: hr_api.mandatory_arg_error
622: (p_api_name => l_proc,
623: p_argument => 'validation_start_date',
624: p_argument_value => p_validation_start_date);
625: --

Line 626: hr_api.mandatory_arg_error

622: (p_api_name => l_proc,
623: p_argument => 'validation_start_date',
624: p_argument_value => p_validation_start_date);
625: --
626: hr_api.mandatory_arg_error
627: (p_api_name => l_proc,
628: p_argument => 'validation_end_date',
629: p_argument_value => p_validation_end_date);
630: --

Line 631: If ((nvl(p_ctfn_rqd_when_rl, hr_api.g_number) <> hr_api.g_number) and

627: (p_api_name => l_proc,
628: p_argument => 'validation_end_date',
629: p_argument_value => p_validation_end_date);
630: --
631: If ((nvl(p_ctfn_rqd_when_rl, hr_api.g_number) <> hr_api.g_number) and
632: NOT (dt_api.check_min_max_dates
633: (p_base_table_name => 'ff_formulas_f',
634: p_base_key_column => 'formula_id',
635: p_base_key_value => p_ctfn_rqd_when_rl,

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

637: p_to_date => p_validation_end_date))) Then
638: l_table_name := 'ff_formulas_f';
639: Raise l_integrity_error;
640: End If;
641: If ((nvl(p_ptip_id, hr_api.g_number) <> hr_api.g_number) and
642: NOT (dt_api.check_min_max_dates
643: (p_base_table_name => 'ben_ptip_f',
644: p_base_key_column => 'ptip_id',
645: p_base_key_value => p_ptip_id,

Line 723: hr_api.mandatory_arg_error

719: hr_utility.set_location('Entering:'||l_proc, 5);
720: --
721: -- Ensure that the p_datetrack_mode argument is not null
722: --
723: hr_api.mandatory_arg_error
724: (p_api_name => l_proc,
725: p_argument => 'datetrack_mode',
726: p_argument_value => p_datetrack_mode);
727: --

Line 737: hr_api.mandatory_arg_error

733: --
734: --
735: -- Ensure the arguments are not null
736: --
737: hr_api.mandatory_arg_error
738: (p_api_name => l_proc,
739: p_argument => 'validation_start_date',
740: p_argument_value => p_validation_start_date);
741: --

Line 742: hr_api.mandatory_arg_error

738: (p_api_name => l_proc,
739: p_argument => 'validation_start_date',
740: p_argument_value => p_validation_start_date);
741: --
742: hr_api.mandatory_arg_error
743: (p_api_name => l_proc,
744: p_argument => 'validation_end_date',
745: p_argument_value => p_validation_end_date);
746: --

Line 747: hr_api.mandatory_arg_error

743: (p_api_name => l_proc,
744: p_argument => 'validation_end_date',
745: p_argument_value => p_validation_end_date);
746: --
747: hr_api.mandatory_arg_error
748: (p_api_name => l_proc,
749: p_argument => 'ptip_dpnt_cvg_ctfn_id',
750: p_argument_value => p_ptip_dpnt_cvg_ctfn_id);
751: --

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

789: --
790: -- Call all supporting business operations
791: --
792: --
793: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
794: --
795: chk_ptip_dpnt_cvg_ctfn_id
796: (p_ptip_dpnt_cvg_ctfn_id => p_rec.ptip_dpnt_cvg_ctfn_id,
797: p_effective_date => p_effective_date,

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

851: --
852: -- Call all supporting business operations
853: --
854: --
855: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
856: --
857: chk_ptip_dpnt_cvg_ctfn_id
858: (p_ptip_dpnt_cvg_ctfn_id => p_rec.ptip_dpnt_cvg_ctfn_id,
859: p_effective_date => p_effective_date,

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

958: hr_utility.set_location('Entering:'|| l_proc, 10);
959: --
960: -- Ensure that all the mandatory parameter are not null
961: --
962: hr_api.mandatory_arg_error(p_api_name => l_proc,
963: p_argument => 'ptip_dpnt_cvg_ctfn_id',
964: p_argument_value => p_ptip_dpnt_cvg_ctfn_id);
965: --
966: open csr_leg_code;