357: begin
358: update per_periods_of_service
359: set actual_termination_date = X_termination_date
360: , final_process_date = X_termination_date
361: , last_standard_process_date = X_termination_date
362: where period_of_service_id = X_period_of_service_id;
363: end;
364: --
365: open assignment;
625: fetch period into l_dummy_date;
626: exit when period%NOTFOUND;
627: update per_periods_of_service
628: set actual_termination_date = null
629: , last_standard_process_date = null
630: , final_process_date = null
631: where current of period;
632: end loop;
633: close period;