DBA Data[Home] [Help]

APPS.PSP_ENC_ASSIGNMENT_CHANGES dependencies on PER_ALL_PEOPLE_F

Line 612: FROM per_all_people_f where person_id = p_old_person_id

608: -- Bug 5526742
609:
610: CURSOR chk_asg_count is
611: SELECT count(CURRENT_EMPLOYEE_FLAG)
612: FROM per_all_people_f where person_id = p_old_person_id
613: AND current_employee_flag = 'Y'
614: and effective_start_date = (select max(effective_start_date)
615: FROM per_all_people_f
616: where effective_start_date < p_old_effective_start_date

Line 615: FROM per_all_people_f

611: SELECT count(CURRENT_EMPLOYEE_FLAG)
612: FROM per_all_people_f where person_id = p_old_person_id
613: AND current_employee_flag = 'Y'
614: and effective_start_date = (select max(effective_start_date)
615: FROM per_all_people_f
616: where effective_start_date < p_old_effective_start_date
617: and person_id = p_old_person_id);
618:
619: l_count number;