DBA Data[Home] [Help]

APPS.BEN_EXT_PERSON dependencies on HR_API

Line 93: if l_from_date is not null and l_from_date <> hr_api.g_sot then

89: if i.crit_typ_cd = 'CAD' then
90: l_cad_exist := 'Y' ;
91: -- calc the cad from and to date
92: -- get the lowest from date and highetst to date excluding eof and bof
93: if l_from_date is not null and l_from_date <> hr_api.g_sot then
94: if nvl(l_act_from_dt,hr_api.g_eot) > l_from_date then
95: l_act_from_dt := l_from_date ;
96: end if ;
97:

Line 94: if nvl(l_act_from_dt,hr_api.g_eot) > l_from_date then

90: l_cad_exist := 'Y' ;
91: -- calc the cad from and to date
92: -- get the lowest from date and highetst to date excluding eof and bof
93: if l_from_date is not null and l_from_date <> hr_api.g_sot then
94: if nvl(l_act_from_dt,hr_api.g_eot) > l_from_date then
95: l_act_from_dt := l_from_date ;
96: end if ;
97:
98: end if ;

Line 101: if l_to_date is not null and l_to_date <> hr_api.g_eot then

97:
98: end if ;
99:
100:
101: if l_to_date is not null and l_to_date <> hr_api.g_eot then
102: if nvl(l_act_to_dt,hr_api.g_sot) < l_to_date then
103: l_act_to_dt := l_to_date ;
104: end if ;
105: end if ;

Line 102: if nvl(l_act_to_dt,hr_api.g_sot) < l_to_date then

98: end if ;
99:
100:
101: if l_to_date is not null and l_to_date <> hr_api.g_eot then
102: if nvl(l_act_to_dt,hr_api.g_sot) < l_to_date then
103: l_act_to_dt := l_to_date ;
104: end if ;
105: end if ;
106:

Line 114: if l_from_date is not null and l_from_date <> hr_api.g_sot then

110: else
111: l_ced_exist := 'Y' ;
112: -- calc the cad from and to date
113: -- get the lowest from date and highetst to date excluding eof and bof
114: if l_from_date is not null and l_from_date <> hr_api.g_sot then
115: if nvl(l_eff_from_dt,hr_api.g_eot) > l_from_date then
116: l_eff_from_dt := l_from_date ;
117: end if ;
118:

Line 115: if nvl(l_eff_from_dt,hr_api.g_eot) > l_from_date then

111: l_ced_exist := 'Y' ;
112: -- calc the cad from and to date
113: -- get the lowest from date and highetst to date excluding eof and bof
114: if l_from_date is not null and l_from_date <> hr_api.g_sot then
115: if nvl(l_eff_from_dt,hr_api.g_eot) > l_from_date then
116: l_eff_from_dt := l_from_date ;
117: end if ;
118:
119: end if ;

Line 122: if l_to_date is not null and l_to_date <> hr_api.g_eot then

118:
119: end if ;
120:
121:
122: if l_to_date is not null and l_to_date <> hr_api.g_eot then
123: if nvl(l_eff_to_dt,hr_api.g_sot) < l_to_date then
124: l_eff_to_dt := l_to_date ;
125: end if ;
126: end if ;

Line 123: if nvl(l_eff_to_dt,hr_api.g_sot) < l_to_date then

119: end if ;
120:
121:
122: if l_to_date is not null and l_to_date <> hr_api.g_eot then
123: if nvl(l_eff_to_dt,hr_api.g_sot) < l_to_date then
124: l_eff_to_dt := l_to_date ;
125: end if ;
126: end if ;
127:

Line 137: l_act_from_dt := hr_api.g_sot ;

133: --- if the dates are bot and eot return there is not point in
134: --- executing the interpreter twice when one more is bot and eot
135: if l_cad_exist = 'Y' then
136: if l_act_from_dt is null then
137: l_act_from_dt := hr_api.g_sot ;
138: end if ;
139:
140: if l_act_to_dt is null then
141: l_act_to_dt := hr_api.g_eot ;

Line 141: l_act_to_dt := hr_api.g_eot ;

137: l_act_from_dt := hr_api.g_sot ;
138: end if ;
139:
140: if l_act_to_dt is null then
141: l_act_to_dt := hr_api.g_eot ;
142: end if ;
143:
144: if l_act_from_dt = hr_api.g_sot and l_act_to_dt = hr_api.g_eot then
145: p_act_from_dt := l_act_from_dt;

Line 144: if l_act_from_dt = hr_api.g_sot and l_act_to_dt = hr_api.g_eot then

140: if l_act_to_dt is null then
141: l_act_to_dt := hr_api.g_eot ;
142: end if ;
143:
144: if l_act_from_dt = hr_api.g_sot and l_act_to_dt = hr_api.g_eot then
145: p_act_from_dt := l_act_from_dt;
146: p_act_to_dt := l_act_to_dt ;
147: p_date_mode := 'C' ;
148:

Line 175: l_eff_from_dt := hr_api.g_sot ;

171:
172: if l_ced_exist = 'Y' then
173:
174: if l_eff_from_dt is null then
175: l_eff_from_dt := hr_api.g_sot ;
176: end if ;
177:
178: if l_eff_to_dt is null then
179: l_eff_to_dt := hr_api.g_eot ;

Line 179: l_eff_to_dt := hr_api.g_eot ;

175: l_eff_from_dt := hr_api.g_sot ;
176: end if ;
177:
178: if l_eff_to_dt is null then
179: l_eff_to_dt := hr_api.g_eot ;
180: end if ;
181:
182: if l_eff_from_dt = hr_api.g_sot and l_eff_to_dt = hr_api.g_eot then
183: p_eff_from_dt := l_eff_from_dt;

Line 182: if l_eff_from_dt = hr_api.g_sot and l_eff_to_dt = hr_api.g_eot then

178: if l_eff_to_dt is null then
179: l_eff_to_dt := hr_api.g_eot ;
180: end if ;
181:
182: if l_eff_from_dt = hr_api.g_sot and l_eff_to_dt = hr_api.g_eot then
183: p_eff_from_dt := l_eff_from_dt;
184: p_eff_to_dt := l_eff_to_dt ;
185: p_date_mode := 'E' ;
186:

Line 2656: and trunc(a.chg_actl_dt) between nvl(p_chg_actl_strt_dt, hr_api.g_sot)

2652: , 'BEN' chg_evt_source
2653: from ben_ext_chg_evt_log a
2654: where
2655: a.person_id = p_person_id
2656: and trunc(a.chg_actl_dt) between nvl(p_chg_actl_strt_dt, hr_api.g_sot)
2657: and nvl(p_chg_actl_end_dt, hr_api.g_eot)
2658: and a.chg_eff_dt between nvl(p_chg_eff_strt_dt, hr_api.g_sot)
2659: and nvl(p_chg_eff_end_dt, hr_api.g_eot)
2660: order by a.chg_eff_dt;

Line 2657: and nvl(p_chg_actl_end_dt, hr_api.g_eot)

2653: from ben_ext_chg_evt_log a
2654: where
2655: a.person_id = p_person_id
2656: and trunc(a.chg_actl_dt) between nvl(p_chg_actl_strt_dt, hr_api.g_sot)
2657: and nvl(p_chg_actl_end_dt, hr_api.g_eot)
2658: and a.chg_eff_dt between nvl(p_chg_eff_strt_dt, hr_api.g_sot)
2659: and nvl(p_chg_eff_end_dt, hr_api.g_eot)
2660: order by a.chg_eff_dt;
2661:

Line 2658: and a.chg_eff_dt between nvl(p_chg_eff_strt_dt, hr_api.g_sot)

2654: where
2655: a.person_id = p_person_id
2656: and trunc(a.chg_actl_dt) between nvl(p_chg_actl_strt_dt, hr_api.g_sot)
2657: and nvl(p_chg_actl_end_dt, hr_api.g_eot)
2658: and a.chg_eff_dt between nvl(p_chg_eff_strt_dt, hr_api.g_sot)
2659: and nvl(p_chg_eff_end_dt, hr_api.g_eot)
2660: order by a.chg_eff_dt;
2661:
2662:

Line 2659: and nvl(p_chg_eff_end_dt, hr_api.g_eot)

2655: a.person_id = p_person_id
2656: and trunc(a.chg_actl_dt) between nvl(p_chg_actl_strt_dt, hr_api.g_sot)
2657: and nvl(p_chg_actl_end_dt, hr_api.g_eot)
2658: and a.chg_eff_dt between nvl(p_chg_eff_strt_dt, hr_api.g_sot)
2659: and nvl(p_chg_eff_end_dt, hr_api.g_eot)
2660: order by a.chg_eff_dt;
2661:
2662:
2663:

Line 2739: and nvl(b.to_be_sent_dt,hr_api.g_sot) between nvl(p_to_be_sent_strt_dt, hr_api.g_sot)

2735: and a.per_in_ler_id = p.per_in_ler_id(+)
2736: and p.ler_id = l.ler_id(+)
2737: and b.per_cm_prvdd_stat_cd = 'ACTIVE' -- this should be inclusion criteria.
2738: -- the following line of code was put here for performance.
2739: and nvl(b.to_be_sent_dt,hr_api.g_sot) between nvl(p_to_be_sent_strt_dt, hr_api.g_sot)
2740: and nvl(p_to_be_sent_end_dt, hr_api.g_eot)
2741: and p_effective_date between b.effective_start_date
2742: and b.effective_end_date
2743: and b.effective_start_date between a.effective_start_date

Line 2740: and nvl(p_to_be_sent_end_dt, hr_api.g_eot)

2736: and p.ler_id = l.ler_id(+)
2737: and b.per_cm_prvdd_stat_cd = 'ACTIVE' -- this should be inclusion criteria.
2738: -- the following line of code was put here for performance.
2739: and nvl(b.to_be_sent_dt,hr_api.g_sot) between nvl(p_to_be_sent_strt_dt, hr_api.g_sot)
2740: and nvl(p_to_be_sent_end_dt, hr_api.g_eot)
2741: and p_effective_date between b.effective_start_date
2742: and b.effective_end_date
2743: and b.effective_start_date between a.effective_start_date
2744: and a.effective_end_date

Line 2800: and nvl(b.to_be_sent_dt,hr_api.g_sot) between nvl(p_to_be_sent_strt_dt, hr_api.g_sot)

2796: a.person_id = p_person_id
2797: and a.per_cm_id = b.per_cm_id
2798: and b.per_cm_prvdd_stat_cd = 'ACTIVE' -- this should be inclusion criteria.
2799: -- the following line of code was put here for performance.
2800: and nvl(b.to_be_sent_dt,hr_api.g_sot) between nvl(p_to_be_sent_strt_dt, hr_api.g_sot)
2801: and nvl(p_to_be_sent_end_dt, hr_api.g_eot)
2802: and p_effective_date between b.effective_start_date
2803: and b.effective_end_date
2804: and b.effective_start_date between a.effective_start_date

Line 2801: and nvl(p_to_be_sent_end_dt, hr_api.g_eot)

2797: and a.per_cm_id = b.per_cm_id
2798: and b.per_cm_prvdd_stat_cd = 'ACTIVE' -- this should be inclusion criteria.
2799: -- the following line of code was put here for performance.
2800: and nvl(b.to_be_sent_dt,hr_api.g_sot) between nvl(p_to_be_sent_strt_dt, hr_api.g_sot)
2801: and nvl(p_to_be_sent_end_dt, hr_api.g_eot)
2802: and p_effective_date between b.effective_start_date
2803: and b.effective_end_date
2804: and b.effective_start_date between a.effective_start_date
2805: and a.effective_end_date