266: END; return (TRUE);
267: end;
268:
269: FUNCTION get_company_name RETURN BOOLEAN IS
270: l_chart_of_accounts_id gl_sets_of_books.chart_of_accounts_id%TYPE;
271: l_name gl_sets_of_books.name%TYPE;
272: l_sob_id number;
273: BEGIN
274:
267: end;
268:
269: FUNCTION get_company_name RETURN BOOLEAN IS
270: l_chart_of_accounts_id gl_sets_of_books.chart_of_accounts_id%TYPE;
271: l_name gl_sets_of_books.name%TYPE;
272: l_sob_id number;
273: BEGIN
274:
275: if P_SET_OF_BOOKS_ID is not null then
277: SELECT name,
278: chart_of_accounts_id
279: INTO l_name,
280: l_chart_of_accounts_id
281: FROM gl_sets_of_books
282: WHERE set_of_books_id = l_sob_id;
283:
284: c_company_name_header := l_name;
285: c_chart_of_accounts_id := l_chart_of_accounts_id;