612:
613: -- cursor to validate ledger id
614: CURSOR c_is_valid_ledger_id(p_ledger_id OKL_REPORTS_B.LEDGER_ID%TYPE) IS
615: SELECT 1 616: FROM GL_LEDGERS 617: WHERE LEDGER_ID = p_ledger_id;
618:
619: -- cursor to validate uniqueness of name, book classification, chart of accounts id and ledger_id
620: CURSOR c_is_combination_exists(