DBA Data[Home] [Help]

APPS.PAY_KR_YEA_MAGTAPE_PKG dependencies on PAY_KR_FF_FUNCTIONS_PKG

Line 268: 'NATIONALITY=P', decode(pay_kr_ff_functions_pkg.ni_nationality(asg.assignment_id,p_effective_date),'K','1','9') nationality,

264: ) is
265: -- Bug 5654127
266: -- Bug 7661820
267: select 'CONTACT_TYPE=P', '0' contact_type,
268: 'NATIONALITY=P', decode(pay_kr_ff_functions_pkg.ni_nationality(asg.assignment_id,p_effective_date),'K','1','9') nationality,
269: 'BASIC_FLAG=P', '1' basic_exem_flag,
270: 'DISABLE_FLAG=P', decode(pay_kr_ff_functions_pkg.disabled_flag(per.person_id,p_effective_date),'Y','1',' ') disabled_exem_flag,
271: 'RAISING_CHILD=P', ' ' child_raising_exem,
272: 'INS_PREM_NTS=P', '0' ins_prem_nts,

Line 270: 'DISABLE_FLAG=P', decode(pay_kr_ff_functions_pkg.disabled_flag(per.person_id,p_effective_date),'Y','1',' ') disabled_exem_flag,

266: -- Bug 7661820
267: select 'CONTACT_TYPE=P', '0' contact_type,
268: 'NATIONALITY=P', decode(pay_kr_ff_functions_pkg.ni_nationality(asg.assignment_id,p_effective_date),'K','1','9') nationality,
269: 'BASIC_FLAG=P', '1' basic_exem_flag,
270: 'DISABLE_FLAG=P', decode(pay_kr_ff_functions_pkg.disabled_flag(per.person_id,p_effective_date),'Y','1',' ') disabled_exem_flag,
271: 'RAISING_CHILD=P', ' ' child_raising_exem,
272: 'INS_PREM_NTS=P', '0' ins_prem_nts,
273: 'INS_PREM_OTH=P', '0' ins_prem_oth,
274: 'MED_EXP_NTS=P', '0' med_exp_nts,

Line 292: 'SNR_FLAG=P', pay_kr_ff_functions_pkg.aged_flag(per.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr')) snr_flag,

288: 'CONT_NAME=P', 'Y' full_name,
289: 'CONT_NI=P', per.national_identifier national_identifier,
290: 'NEW_BORN_ADOPTED=P', ' ' new_born_adopted, -- Bug 7799077
291: /* Bug 6622876 */
292: 'SNR_FLAG=P', pay_kr_ff_functions_pkg.aged_flag(per.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr')) snr_flag,
293: 'SUPER_AGED_FLAG=P', pay_kr_ff_functions_pkg.super_aged_flag(per.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr')) super_aged_flag,
294: /* End of Bug 6622876 */
295: '1' l_dummy
296: from per_people_f per,

Line 293: 'SUPER_AGED_FLAG=P', pay_kr_ff_functions_pkg.super_aged_flag(per.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr')) super_aged_flag,

289: 'CONT_NI=P', per.national_identifier national_identifier,
290: 'NEW_BORN_ADOPTED=P', ' ' new_born_adopted, -- Bug 7799077
291: /* Bug 6622876 */
292: 'SNR_FLAG=P', pay_kr_ff_functions_pkg.aged_flag(per.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr')) snr_flag,
293: 'SUPER_AGED_FLAG=P', pay_kr_ff_functions_pkg.super_aged_flag(per.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr')) super_aged_flag,
294: /* End of Bug 6622876 */
295: '1' l_dummy
296: from per_people_f per,
297: per_assignments_f asg

Line 304: select 'CONTACT_TYPE=P', pay_kr_ff_functions_pkg.get_cont_lookup_code(rel_code,

300: and p_effective_date between per.effective_start_date and per.effective_end_date
301: and p_effective_date between asg.effective_start_date and asg.effective_end_date
302: union
303: -- Bug 8644512 : Added code to return correct contact type depending on the year
304: select 'CONTACT_TYPE=P', pay_kr_ff_functions_pkg.get_cont_lookup_code(rel_code,
305: to_number(to_char(p_effective_date,'YYYY'))) contact_type,
306: 'NATIONALITY=P', pkc.cont_nationality nationality,
307: 'BASIC_FLAG=P', decode(pkc.cont_information2,'Y',decode(pay_kr_ff_functions_pkg.dpnt_eligible_for_basic_exem(
308: pkc.contact_type,pkc.cont_information11,pkc.national_identifier, pkc.cont_information2,

Line 307: 'BASIC_FLAG=P', decode(pkc.cont_information2,'Y',decode(pay_kr_ff_functions_pkg.dpnt_eligible_for_basic_exem(

303: -- Bug 8644512 : Added code to return correct contact type depending on the year
304: select 'CONTACT_TYPE=P', pay_kr_ff_functions_pkg.get_cont_lookup_code(rel_code,
305: to_number(to_char(p_effective_date,'YYYY'))) contact_type,
306: 'NATIONALITY=P', pkc.cont_nationality nationality,
307: 'BASIC_FLAG=P', decode(pkc.cont_information2,'Y',decode(pay_kr_ff_functions_pkg.dpnt_eligible_for_basic_exem(
308: pkc.contact_type,pkc.cont_information11,pkc.national_identifier, pkc.cont_information2,
309: pkc.cont_information4,pkc.cont_information8, p_effective_date),'Y','1',' '),' ') basic_exem_flag,
310: 'DISABLE_FLAG=P', decode(pkc.cont_information4,'Y','1',' ') disabled_exem_flag,
311: 'RAISING_CHILD=P', decode(pkc.cont_information7 ,'Y',decode(pay_kr_ff_functions_pkg.child_flag(

Line 311: 'RAISING_CHILD=P', decode(pkc.cont_information7 ,'Y',decode(pay_kr_ff_functions_pkg.child_flag(

307: 'BASIC_FLAG=P', decode(pkc.cont_information2,'Y',decode(pay_kr_ff_functions_pkg.dpnt_eligible_for_basic_exem(
308: pkc.contact_type,pkc.cont_information11,pkc.national_identifier, pkc.cont_information2,
309: pkc.cont_information4,pkc.cont_information8, p_effective_date),'Y','1',' '),' ') basic_exem_flag,
310: 'DISABLE_FLAG=P', decode(pkc.cont_information4,'Y','1',' ') disabled_exem_flag,
311: 'RAISING_CHILD=P', decode(pkc.cont_information7 ,'Y',decode(pay_kr_ff_functions_pkg.child_flag(
312: pkc.cont_information11,pkc.contact_type,
313: pkc.national_identifier,p_effective_date), 'Y', '1', ' '), ' ') child_raising_exem,
314: 'INS_PREM_NTS=P', to_char(nvl(cei.cei_information1, '0')+ nvl(cei.cei_information10, '0')) ins_prem_nts,
315: 'INS_PREM_OTH=P', to_char(nvl(cei.cei_information2, '0')+ nvl(cei.cei_information11, '0')) ins_prem_oth,

Line 334: 'SNR_FLAG=P', decode(pkc.cont_information3,'Y',pay_kr_ff_functions_pkg.aged_flag(pkc.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr'))) snr_flag,

330: 'CONT_NAME=P', pkc.full_name full_name,
331: 'CONT_NI=P', pkc.national_identifier national_identifier,
332: 'NEW_BORN_ADOPTED=P', decode(nvl(cei.cei_information13, 'N'),'Y','1',' ') new_born_adopted, -- Bug 7799077
333: /* Bug 6622876 */
334: 'SNR_FLAG=P', decode(pkc.cont_information3,'Y',pay_kr_ff_functions_pkg.aged_flag(pkc.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr'))) snr_flag,
335: 'SUPER_AGED_FLAG=P', decode(pkc.cont_information3,'Y',pay_kr_ff_functions_pkg.super_aged_flag(pkc.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr'))) super_aged_flag,
336: /* End of Bug 6622876 */
337: '2' l_dummy
338: from pay_kr_cont_details_v pkc,

Line 335: 'SUPER_AGED_FLAG=P', decode(pkc.cont_information3,'Y',pay_kr_ff_functions_pkg.super_aged_flag(pkc.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr'))) super_aged_flag,

331: 'CONT_NI=P', pkc.national_identifier national_identifier,
332: 'NEW_BORN_ADOPTED=P', decode(nvl(cei.cei_information13, 'N'),'Y','1',' ') new_born_adopted, -- Bug 7799077
333: /* Bug 6622876 */
334: 'SNR_FLAG=P', decode(pkc.cont_information3,'Y',pay_kr_ff_functions_pkg.aged_flag(pkc.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr'))) snr_flag,
335: 'SUPER_AGED_FLAG=P', decode(pkc.cont_information3,'Y',pay_kr_ff_functions_pkg.super_aged_flag(pkc.national_identifier,to_date('31-12-'||to_char(p_effective_date,'rrrr'),'dd-mm-rrrr'))) super_aged_flag,
336: /* End of Bug 6622876 */
337: '2' l_dummy
338: from pay_kr_cont_details_v pkc,
339: per_contact_extra_info_f cei -- Bug 5872042

Line 342: and pay_kr_ff_functions_pkg.is_exempted_dependent(pkc.contact_type, pkc.cont_information11,pkc.national_identifier, pkc.cont_information2,

338: from pay_kr_cont_details_v pkc,
339: per_contact_extra_info_f cei -- Bug 5872042
340: where pkc.assignment_id = p_assignment_id
341: and p_effective_date between pkc.emp_start_date and pkc.emp_end_date
342: and pay_kr_ff_functions_pkg.is_exempted_dependent(pkc.contact_type, pkc.cont_information11,pkc.national_identifier, pkc.cont_information2,
343: pkc.cont_information3,
344: pkc.cont_information4,
345: pkc.cont_information7,
346: pkc.cont_information8,