261:
262: /*
263: cursor coa is
264: select 'X'
265: from fnd_id_flex_structures
266: where application_id = 101
267: and id_flex_code = 'GL#'
268: and id_flex_num = p_chart_of_accounts_id;
269: */
312: close coa;
313: */
314: begin
315: select 'X' into l_x
316: from fnd_id_flex_structures
317: where application_id = 101
318: and id_flex_code = 'GL#'
319: and id_flex_num = p_chart_of_accounts_id
320: and ROWNUM = 1;