DBA Data[Home] [Help]

APPS.HR_PSF_UPD dependencies on HR_PSF_BUS

Line 539: hr_psf_bus.DE_Update_properties(

535: if p_datetrack_mode ='CORRECTION' then
536: if g_debug then
537: hr_utility.set_location('datetrack mode correction '||l_proc,20);
538: end if;
539: hr_psf_bus.DE_Update_properties(
540: p_position_id => p_rec.position_id,
541: p_effective_Start_Date => hr_psf_shd.g_old_rec.effective_start_date,
542: p_updateable => l_updateable,
543: p_lower_limit => l_ll,

Line 556: if hr_psf_bus.all_proposed_only_position(p_rec.position_id) then

552: update hr_all_positions_f
553: set date_effective = p_rec.date_effective
554: where current of pos_all ;
555: end loop;
556: if hr_psf_bus.all_proposed_only_position(p_rec.position_id) then
557: if g_debug then
558: hr_utility.set_location('all_proposed only_position '||l_proc,40);
559: end if;
560: open pos_min_esd;

Line 576: elsif hr_psf_bus.first_active_position_row(p_rec.position_id,p_validation_start_date) then

572: set effective_start_date = p_rec.date_effective
573: where current of pos_first_row;
574: close pos_first_row;
575: end if;
576: elsif hr_psf_bus.first_active_position_row(p_rec.position_id,p_validation_start_date) then
577: -- change effective end_date of previous row
578: if g_debug then
579: hr_utility.set_location('first_active_position_row '||l_proc,50);
580: end if;

Line 630: hr_psf_bus.chk_availability_status_id(p_position_id => p_rec.position_id

626: -- user has changed availability_status_id in this record
627: if g_debug then
628: hr_utility.set_location('Avail_stat changed '||l_proc,60);
629: end if;
630: hr_psf_bus.chk_availability_status_id(p_position_id => p_rec.position_id
631: ,p_business_group_id => p_rec.business_group_id
632: ,p_datetrack_mode => p_datetrack_mode
633: ,p_validation_start_date => p_validation_start_date
634: ,p_availability_status_id => p_rec.availability_status_id

Line 648: if (hr_psf_bus.all_proposed_only_position(p_rec.position_id))

644: p_rec.business_group_id);
645: l_prev_stat := hr_psf_shd.get_availability_status(
646: hr_psf_shd.g_old_rec.availability_status_id,
647: p_rec.business_group_id);
648: if (hr_psf_bus.all_proposed_only_position(p_rec.position_id))
649: and l_present_stat = 'ACTIVE' then
650: if g_debug then
651: hr_utility.set_location('all_proposed_position'||l_proc, 90);
652: end if;

Line 676: elsif (hr_psf_bus.first_active_position_row(p_rec.position_id,hr_psf_shd.g_old_rec.effective_start_date)) then

672: hr_utility.set_message(800,'PER_DE_EQ_ED_UPD');
673: hr_utility.raise_error;
674: end if;
675: end if;
676: elsif (hr_psf_bus.first_active_position_row(p_rec.position_id,hr_psf_shd.g_old_rec.effective_start_date)) then
677: -- find out the ESD of next active row and make that as Date_effective and the same
678: -- is to be done for all the records of that position
679: if g_debug then
680: hr_utility.set_location('first_active_position'||l_proc, 80);

Line 890: l_proposed := hr_psf_bus.all_proposed_only_position(p_rec.position_id);

886: -- If the current position is all_proposed then no change in
887: -- start date or end date is performed while first record's start
888: -- is to be changed which is outside the condition
889:
890: l_proposed := hr_psf_bus.all_proposed_only_position(p_rec.position_id);
891:
892: if l_proposed = false then
893: l_current_row_stat := hr_psf_shd.get_availability_status(p_rec.availability_status_id
894: ,p_rec.business_group_id ) ;

Line 1953: hr_psf_bus.update_validate

1949: end if;
1950: --
1951: -- validations are performed based on the new date effective
1952: --
1953: hr_psf_bus.update_validate
1954: (p_rec => p_rec,
1955: p_effective_date => p_effective_date,
1956: p_datetrack_mode => p_datetrack_mode,
1957: p_validation_start_date => l_validation_start_date,