120:
121: DBMS_LOB.createtemporary(l_xml_doc, TRUE);
122:
123: /*Bug 7000786 - This fix ensures that XML data generated here uses the right encoding*/
124: l_encoding := fnd_profile.value('ICX_CLIENT_IANA_ENCODING');
125: l_xml_header := '';
126: DBMS_LOB.writeappend (l_xml_doc, length(l_xml_header), l_xml_header);
127:
128: DBMS_LOB.writeappend (l_xml_doc, 8, '
404: l_stmt_num := 10;
405:
406: -- Get the proile value to determine the aging basis
407:
408: fnd_profile.get('CST_ACCRUAL_AGE_IN_DAYS', l_age_option);
409:
410: -- select the operating unit for which the program is launched.
411:
412: l_stmt_num := 20;
701: AND id_flex_num = gl.chart_of_accounts_id;
702:
703: -- get the proile value to determine the aging basis
704:
705: fnd_profile.get('CST_ACCRUAL_AGE_IN_DAYS', l_age_option);
706:
707: -- to check if the value of agings is not null or zero
708:
709: l_stmt_num := 50;