DBA Data[Home] [Help]

APPS.BEN_PD_COPY_TO_BEN_TWO dependencies on BEN_LER_ENRT_CTFN_F

Line 3103: -- and tr.where_clause = l_BEN_LER_ENRT_CTFN_F

3099: cpe.table_route_id
3100: ,cpe.dml_operation,cpe.datetrack_mode from ben_copy_entity_results cpe, pqh_table_route tr
3101: where cpe.copy_entity_txn_id = p_copy_entity_txn_id
3102: and cpe.table_route_id = tr.table_route_id
3103: -- and tr.where_clause = l_BEN_LER_ENRT_CTFN_F
3104: and tr.table_alias = l_table_alias
3105: and cpe.number_of_copies = 1 --ADDITION
3106: group by cpe.information1,cpe.information2,cpe.information3, cpe.table_route_id,cpe.dml_operation,cpe.datetrack_mode
3107: order by information1, information2; --added for bug: 5151945

Line 3141: from BEN_LER_ENRT_CTFN_F LNC

3137: c_business_group_id number,
3138: c_new_pk_id number) is
3139: select
3140: LNC.ler_enrt_ctfn_id new_value
3141: from BEN_LER_ENRT_CTFN_F LNC
3142: where
3143: nvl(LNC.LER_RQRS_ENRT_CTFN_ID,-999) = nvl(l_LER_RQRS_ENRT_CTFN_ID,-999) and
3144: nvl(LNC.ENRT_CTFN_TYP_CD,'XXX') = nvl(l_ENRT_CTFN_TYP_CD,'XXX') and
3145: LNC.business_group_id = c_business_group_id

Line 3153: from BEN_LER_ENRT_CTFN_F LNC1

3149: and effective_end_date ;
3150: --END TEMPIK
3151: /*TEMPIK
3152: and exists ( select null
3153: from BEN_LER_ENRT_CTFN_F LNC1
3154: where
3155: nvl(LNC1.LER_RQRS_ENRT_CTFN_ID,-999) = nvl(l_LER_RQRS_ENRT_CTFN_ID,-999) and
3156: LNC1.ENRT_CTFN_TYP_CD = l_ENRT_CTFN_TYP_CD and
3157: LNC1.business_group_id = c_business_group_id

Line 3160: from BEN_LER_ENRT_CTFN_F LNC2

3156: LNC1.ENRT_CTFN_TYP_CD = l_ENRT_CTFN_TYP_CD and
3157: LNC1.business_group_id = c_business_group_id
3158: and LNC1.effective_start_date <= c_effective_start_date )
3159: and exists ( select null
3160: from BEN_LER_ENRT_CTFN_F LNC2
3161: where
3162: nvl(LNC2.LER_RQRS_ENRT_CTFN_ID,-999) = nvl(l_LER_RQRS_ENRT_CTFN_ID,-999) and
3163: LNC2.ENRT_CTFN_TYP_CD = l_ENRT_CTFN_TYP_CD and
3164: LNC2.business_group_id = c_business_group_id

Line 3309: (p_base_table_name => 'BEN_LER_ENRT_CTFN_F',

3305: if c_find_LNC_in_target%found then
3306: --
3307: --TEMPIK
3308: l_dt_rec_found := dt_api.check_min_max_dates
3309: (p_base_table_name => 'BEN_LER_ENRT_CTFN_F',
3310: p_base_key_column => 'LER_ENRT_CTFN_ID',
3311: p_base_key_value => l_new_value,
3312: p_from_date => l_min_esd,
3313: p_to_date => l_max_eed );

Line 3369: hr_utility.set_location(' BEN_LER_ENRT_CTFN_F CREATE_LER_ENRT_CTFN ',20);

3365: end if;
3366:
3367: if l_first_rec and not l_update then
3368: -- Call Create routine.
3369: hr_utility.set_location(' BEN_LER_ENRT_CTFN_F CREATE_LER_ENRT_CTFN ',20);
3370: BEN_LER_ENRT_CTFN_API.CREATE_LER_ENRT_CTFN(
3371: --
3372: P_VALIDATE => false
3373: ,P_EFFECTIVE_DATE => l_effective_date

Line 3436: hr_utility.set_location(' BEN_LER_ENRT_CTFN_F UPDATE_LER_ENRT_CTFN ',30);

3432: else
3433: --
3434: -- Call Update routine for the pk_id created in prev run .
3435: -- insert the table_name,old_pk_id,new_pk_id into a plsql record
3436: hr_utility.set_location(' BEN_LER_ENRT_CTFN_F UPDATE_LER_ENRT_CTFN ',30);
3437: --UPD START
3438: hr_utility.set_location('Before call to get_dt_modes l_dt_mode'||l_datetrack_mode,5);
3439: --
3440: if l_update then