DBA Data[Home] [Help]

APPS.BEN_PREM_PRTT_CREDITS_MO dependencies on HR_API

Line 460: l_datetrack_mode := hr_api.g_correction;

456: if l_val > 0 then
457: -- found a premium paid for this month, credit them.
458: -- Do not write negative credits!
459: if p_effective_date = l_prem_by_mo.effective_start_date then
460: l_datetrack_mode := hr_api.g_correction;
461: else
462: l_datetrack_mode := hr_api.g_update;
463: end if;
464: if l_interim = 'Y' then

Line 462: l_datetrack_mode := hr_api.g_update;

458: -- Do not write negative credits!
459: if p_effective_date = l_prem_by_mo.effective_start_date then
460: l_datetrack_mode := hr_api.g_correction;
461: else
462: l_datetrack_mode := hr_api.g_update;
463: end if;
464: if l_interim = 'Y' then
465: -- if we are running with an ended interim, we can't update
466: -- on the end-of-month date because the record was end-dated

Line 469: l_datetrack_mode := hr_api.g_correction;

465: -- if we are running with an ended interim, we can't update
466: -- on the end-of-month date because the record was end-dated
467: -- sometime this month.
468: l_effective_date := l_results.effective_end_date;
469: l_datetrack_mode := hr_api.g_correction;
470: else
471: l_effective_date := p_effective_date;
472: end if;
473: -- bug#2823935 -

Line 474: if l_datetrack_mode = hr_api.g_update then

470: else
471: l_effective_date := p_effective_date;
472: end if;
473: -- bug#2823935 -
474: if l_datetrack_mode = hr_api.g_update then
475: l_prem_val := null;
476: else
477: l_prem_val := l_prem_by_mo.val;
478: end if;