[Home] [Help]
12569: ---------------------------------------------------------------
12570: -- END OF BEN_ELIG_PSTL_CD_R_RNG_CVG_F ----------------------
12571: ---------------------------------------------------------------
12572: ---------------------------------------------------------------
12573: -- START OF BEN_ELIG_STDNT_STAT_CVG_F ----------------------
12574: ---------------------------------------------------------------
12575: cursor c_esc_from_parent(c_DPNT_CVG_ELIGY_PRFL_ID number) is
12576: select elig_stdnt_stat_cvg_id
12577: from BEN_ELIG_STDNT_STAT_CVG_F
12573: -- START OF BEN_ELIG_STDNT_STAT_CVG_F ----------------------
12574: ---------------------------------------------------------------
12575: cursor c_esc_from_parent(c_DPNT_CVG_ELIGY_PRFL_ID number) is
12576: select elig_stdnt_stat_cvg_id
12577: from BEN_ELIG_STDNT_STAT_CVG_F
12578: where DPNT_CVG_ELIGY_PRFL_ID = c_DPNT_CVG_ELIGY_PRFL_ID ;
12579: --
12580: cursor c_esc(c_elig_stdnt_stat_cvg_id number,c_mirror_src_entity_result_id number ,
12581: c_table_alias varchar2 ) is
12579: --
12580: cursor c_esc(c_elig_stdnt_stat_cvg_id number,c_mirror_src_entity_result_id number ,
12581: c_table_alias varchar2 ) is
12582: select esc.*
12583: from BEN_ELIG_STDNT_STAT_CVG_F esc
12584: where esc.elig_stdnt_stat_cvg_id = c_elig_stdnt_stat_cvg_id
12585: -- and esc.business_group_id = p_business_group_id
12586: and not exists (
12587: select /* */ null
12590: where copy_entity_txn_id = p_copy_entity_txn_id
12591: -- and trt.table_route_id = cpe.table_route_id
12592: and ( -- c_mirror_src_entity_result_id is null or
12593: mirror_src_entity_result_id = c_mirror_src_entity_result_id )
12594: -- and trt.where_clause = 'BEN_ELIG_STDNT_STAT_CVG_F'
12595: and cpe.table_alias = c_table_alias
12596: and information1 = c_elig_stdnt_stat_cvg_id
12597: -- and information4 = esc.business_group_id
12598: and information2 = esc.effective_start_date
12600: );
12601: l_elig_stdnt_stat_cvg_id number(15);
12602: l_out_esc_result_id number(15);
12603: ---------------------------------------------------------------
12604: -- END OF BEN_ELIG_STDNT_STAT_CVG_F ----------------------
12605: ---------------------------------------------------------------
12606:
12607: cursor c_object_exists(c_pk_id number,
12608: c_table_alias varchar2) is
13747: ---------------------------------------------------------------
13748: -- END OF BEN_ELIG_PSTL_CD_R_RNG_CVG_F ----------------------
13749: ---------------------------------------------------------------
13750: ---------------------------------------------------------------
13751: -- START OF BEN_ELIG_STDNT_STAT_CVG_F ----------------------
13752: ---------------------------------------------------------------
13753: --
13754: for l_parent_rec in c_esc_from_parent(l_DPNT_CVG_ELIGY_PRFL_ID) loop
13755: --
13873: end loop;
13874: --
13875: end loop;
13876: ---------------------------------------------------------------
13877: -- END OF BEN_ELIG_STDNT_STAT_CVG_F ----------------------
13878: ---------------------------------------------------------------
13879: --
13880: end if;
13881: ---------------------------------------------------------------