DBA Data[Home] [Help]

APPS.BEN_PD_COPY_TO_BEN_FIVE dependencies on BEN_DSGNTR_ENRLD_CVG_F

Line 9858: l_DSGNTR_CRNTLY_ENRLD_FLAG ben_dsgntr_enrld_cvg_f.dsgntr_crntly_enrld_flag%type;

9854: ,p_prefix_suffix_cd in varchar2 default null
9855: ) is
9856: --
9857: l_DPNT_CVG_ELIGY_PRFL_ID number;
9858: l_DSGNTR_CRNTLY_ENRLD_FLAG ben_dsgntr_enrld_cvg_f.dsgntr_crntly_enrld_flag%type;
9859: cursor c_unique_DEC(l_table_alias varchar2) is
9860: select distinct cpe.information1,
9861: cpe.information2,
9862: cpe.information3,

Line 9870: -- and tr.where_clause = l_BEN_DSGNTR_ENRLD_CVG_F

9866: from ben_copy_entity_results cpe,
9867: pqh_table_route tr
9868: where cpe.copy_entity_txn_id = p_copy_entity_txn_id
9869: and cpe.table_route_id = tr.table_route_id
9870: -- and tr.where_clause = l_BEN_DSGNTR_ENRLD_CVG_F
9871: and tr.table_alias = l_table_alias
9872: and cpe.number_of_copies = 1 -- ADDITION
9873: group by cpe.information1,cpe.information2,cpe.information3,cpe.table_route_id,cpe.dml_operation,cpe.datetrack_mode
9874: order by information1, information2; --added for bug: 5151945

Line 9908: from BEN_DSGNTR_ENRLD_CVG_F DEC

9904: c_business_group_id number,
9905: c_new_pk_id number) is
9906: select
9907: DEC.dsgntr_enrld_cvg_id new_value
9908: from BEN_DSGNTR_ENRLD_CVG_F DEC
9909: where
9910: nvl(DEC.DPNT_CVG_ELIGY_PRFL_ID,-999) = nvl(l_DPNT_CVG_ELIGY_PRFL_ID,-999) and
9911: DEC.DSGNTR_CRNTLY_ENRLD_FLAG = l_DSGNTR_CRNTLY_ENRLD_FLAG and
9912: DEC.business_group_id = c_business_group_id

Line 9920: from BEN_DSGNTR_ENRLD_CVG_F DEC1

9916: and effective_end_date ;
9917: --END TEMPIK
9918: /*TEMPIK
9919: and exists ( select null
9920: from BEN_DSGNTR_ENRLD_CVG_F DEC1
9921: where
9922: nvl(DEC1.DPNT_CVG_ELIGY_PRFL_ID,-999) = nvl(l_DPNT_CVG_ELIGY_PRFL_ID,-999) and
9923: DEC1.DSGNTR_CRNTLY_ENRLD_FLAG = l_DSGNTR_CRNTLY_ENRLD_FLAG and
9924: DEC1.business_group_id = c_business_group_id

Line 9927: from BEN_DSGNTR_ENRLD_CVG_F DEC2

9923: DEC1.DSGNTR_CRNTLY_ENRLD_FLAG = l_DSGNTR_CRNTLY_ENRLD_FLAG and
9924: DEC1.business_group_id = c_business_group_id
9925: and DEC1.effective_start_date <= c_effective_start_date )
9926: and exists ( select null
9927: from BEN_DSGNTR_ENRLD_CVG_F DEC2
9928: where
9929: nvl(DEC2.DPNT_CVG_ELIGY_PRFL_ID,-999) = nvl(l_DPNT_CVG_ELIGY_PRFL_ID,-999) and
9930: DEC2.DSGNTR_CRNTLY_ENRLD_FLAG = l_DSGNTR_CRNTLY_ENRLD_FLAG and
9931: DEC2.business_group_id = c_business_group_id

Line 10074: (p_base_table_name => 'BEN_DSGNTR_ENRLD_CVG_F',

10070: if c_find_DEC_in_target%found then
10071: --
10072: --TEMPIK
10073: l_dt_rec_found := dt_api.check_min_max_dates
10074: (p_base_table_name => 'BEN_DSGNTR_ENRLD_CVG_F',
10075: p_base_key_column => 'DSGNTR_ENRLD_CVG_ID',
10076: p_base_key_value => l_new_value,
10077: p_from_date => l_min_esd,
10078: p_to_date => l_max_eed );

Line 10138: hr_utility.set_location(' BEN_DSGNTR_ENRLD_CVG_F CREATE_DSGNTR_ENRLD_CVG ',20);

10134: --if l_first_rec then
10135: if l_first_rec and not l_update then
10136:
10137: -- Call Create routine.
10138: hr_utility.set_location(' BEN_DSGNTR_ENRLD_CVG_F CREATE_DSGNTR_ENRLD_CVG ',20);
10139: BEN_DSGNTR_ENRLD_CVG_API.CREATE_DSGNTR_ENRLD_CVG(
10140: --
10141: P_VALIDATE => false
10142: ,P_EFFECTIVE_DATE => l_effective_date

Line 10203: hr_utility.set_location(' BEN_DSGNTR_ENRLD_CVG_F UPDATE_DSGNTR_ENRLD_CVG ',30);

10199: else
10200: --
10201: -- Call Update routine for the pk_id created in prev run .
10202: -- insert the table_name,old_pk_id,new_pk_id into a plsql record
10203: hr_utility.set_location(' BEN_DSGNTR_ENRLD_CVG_F UPDATE_DSGNTR_ENRLD_CVG ',30);
10204: --UPD START
10205: hr_utility.set_location('Before call to get_dt_modes l_dt_mode'||l_datetrack_mode,5);
10206: --
10207: if l_update then