149: 'binary');
150:
151: l_progress := '070';
152:
153: INSERT INTO fnd_attached_documents (attached_document_id,
154: document_id,
155: creation_date,
156: created_by,
157: last_update_date,
186: attribute14,
187: attribute15,
188: column1)
189: VALUES
190: (fnd_attached_documents_s.nextval,
191: document_id_tmp,
192: sysdate,
193: 1, --NVL(X_created_by,0),
194: sysdate,
248: INTO l_output,l_contenttype
249: FROM
250: (
251: SELECT file_data,file_content_type
252: from fnd_attached_documents fad,
253: fnd_documents fd,
254: fnd_documents_tl fdl,
255: fnd_lobs fl
256: WHERE fdl.document_id = fad.document_id