633: END IF;
634: END IF;
635: --Bug# 14803503
636:
637: OKL_STREAM_GENERATOR_PVT.get_next_billing_date(
638: p_api_version => l_api_version,
639: p_init_msg_list => l_init_msg_list,
640: p_khr_id => p_khr_id,
641: --Bug# 14803503
656: RAISE OKL_API.G_EXCEPTION_ERROR;
657: END IF;
658: END IF;
659:
660: -- If the next due date returned by okl_stream_generator_pvt.get_next_billing_date is null,
661: -- it is assumed that this is the last period for the contract. Verify if the streams are
662: -- all accrued and pass the result to the caller.. racheruv Bug 6274870.
663:
664: IF l_next_int_calc_date IS NULL THEN