30: -- Get functional currency using the set of books id.
31:
32: SELECT currency_code
33: INTO f_currency_code 34: FROM GL_SETS_OF_BOOKS 35: WHERE set_of_books_id = p_set_of_books_id;
36:
37: IF f_currency_code is NULL THEN
38: RAISE INVALID_USER_CURRENCY_CODE;