278: END; return (TRUE);
279: end;
280:
281: FUNCTION get_company_name RETURN BOOLEAN IS
282: l_chart_of_accounts_id gl_sets_of_books.chart_of_accounts_id%TYPE;
283: l_name gl_sets_of_books.name%TYPE;
284: l_sob_id number;
285: BEGIN
286:
279: end;
280:
281: FUNCTION get_company_name RETURN BOOLEAN IS
282: l_chart_of_accounts_id gl_sets_of_books.chart_of_accounts_id%TYPE;
283: l_name gl_sets_of_books.name%TYPE;
284: l_sob_id number;
285: BEGIN
286:
287: if P_SET_OF_BOOKS_ID is not null then
289: SELECT name,
290: chart_of_accounts_id
291: INTO l_name,
292: l_chart_of_accounts_id
293: FROM gl_sets_of_books
294: WHERE set_of_books_id = l_sob_id;
295:
296: c_company_name_header := l_name;
297: c_chart_of_accounts_id := l_chart_of_accounts_id;