1576: hr_utility.set_message_token('TABLE','PER_ALL_ASSIGNMENTS_F');
1577: hr_utility.raise_error;
1578: end if;
1579:
1580: if per_otherbg_apl_api.isMultiRegVac(l_assignment_id) then
1581: per_otherbg_apl_api.open_otherbg_applications(l_assignment_id,p_old_start_date - 1,'CANCEL_HIRE');
1582: per_otherbg_apl_api.close_otherbg_applications(l_assignment_id,p_new_start_date - 1,'HIRE_CLOSE');
1583: end if;
1584:
1577: hr_utility.raise_error;
1578: end if;
1579:
1580: if per_otherbg_apl_api.isMultiRegVac(l_assignment_id) then
1581: per_otherbg_apl_api.open_otherbg_applications(l_assignment_id,p_old_start_date - 1,'CANCEL_HIRE');
1582: per_otherbg_apl_api.close_otherbg_applications(l_assignment_id,p_new_start_date - 1,'HIRE_CLOSE');
1583: end if;
1584:
1585:
1578: end if;
1579:
1580: if per_otherbg_apl_api.isMultiRegVac(l_assignment_id) then
1581: per_otherbg_apl_api.open_otherbg_applications(l_assignment_id,p_old_start_date - 1,'CANCEL_HIRE');
1582: per_otherbg_apl_api.close_otherbg_applications(l_assignment_id,p_new_start_date - 1,'HIRE_CLOSE');
1583: end if;
1584:
1585:
1586: end loop;