594: p_end_date => l_end_date,
595: x_loading_status => l_loading_status
596: );
597:
598: IF (l_return_status <> fnd_api.g_ret_sts_success)
599: THEN
600: RAISE fnd_api.g_exc_error;
601: END IF;
602: END LOOP;
596: );
597:
598: IF (l_return_status <> fnd_api.g_ret_sts_success)
599: THEN
600: RAISE fnd_api.g_exc_error;
601: END IF;
602: END LOOP;
603: END IF;
604:
610: END IF;
611: END IF;
612:
613: IF (TRUNC (x_start_date) <> TRUNC (recinfo.start_date))
614: OR (NVL (x_end_date, fnd_api.g_miss_date) <> NVL (recinfo.end_date, fnd_api.g_miss_date))
615: THEN
616: -- start_date remanin unchanged
617: IF TRUNC (x_start_date) = TRUNC (recinfo.start_date)
618: THEN