Skip to the content.

FND Attached Documents (Operating Unit Secured) – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Application Object Library · all Application Object Library reports

Overview

Attachments of operating unit striped documents: sales orders and lines, purchase orders, lines, shipments and releases, requisitions, AP invoices, AR transactions, projects and delivery details. Each row shows the document the attachment belongs to, its category, title, file name and a clickable download link for file attachments. Short text, long text and URL attachments are shown inline.

The report is secured by operating unit: only documents of the operating units accessible to the running responsibility (profile options MO: Security Profile or MO: Operating Unit) are returned, so it can be assigned to business users without exposing other organizations’ attachments. Attachments on entities which are not operating unit striped, such as items, work orders, bills of material, journals, employees or payment instructions, are not included; use the report FND Attached Documents for those.

The Sales Order Number, PO Number and Requisition Number parameters return the header and line level attachments of a document. Their lists show only documents with attachments the report can return.

The download link is created with Oracle’s secure file download for the user running the report and expires after the number of minutes set in profile option FND: Security File Download Time Limit. Re-run the report to get fresh links.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Operating Unit, Sales Order Number, PO Number, Requisition Number, Document Entity, Category, Datatype, File Name contains, Short Text contains, Text contains, Creation Date from, Creation Date to, Created within days, Created By

Oracle EBS Tables Used

po_releases_all, po_headers_all, po_lines_all, po_line_locations_all, po_requisition_headers_all, po_requisition_lines_all, oe_order_headers_all, oe_order_lines_all, wsh_delivery_details, ap_invoices_all, ra_customer_trx_all, ra_customer_trx_lines_all, pa_projects_all, fnd_documents, fnd_documents_tl, fnd_document_datatypes_vl, fnd_document_categories_vl, hr_all_organization_units_vl, gl_ledgers, fnd_lobs, fnd_concurrent_programs_vl, fnd_documents_short_text, fnd_documents_long_text, fnd_attached_documents, fnd_document_entities_vl, fnd_dm_nodes, mo_glob_org_access_tmp

Report Categories

Enginatics, R12 only

FND Attached Documents, CAC Interface Error Summary, INV Movement Statistics, ONT Orders and Lines, PPF_WP3_OM_DETAILS, ONT Orders and Lines 11i

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import FND_Attached_Documents_Operating_Unit_Secured.xml
SQL Source FND Attached Documents (Operating Unit Secured).sql
Full Report on Enginatics www.enginatics.com/reports/fnd-attached-documents-operating-unit-secured/

Case Study & Technical Analysis: FND Attached Documents (Operating Unit Secured)

Executive Summary

The FND Attached Documents (Operating Unit Secured) report lists the attachments held on operating unit striped documents, such as sales orders, purchase orders, requisitions, AP invoices, AR transactions, projects and delivery details. Each row shows the document the attachment belongs to, its category, title, file name and, for file attachments, a clickable download link. Short text, long text and URL attachments are shown inline. Procurement, order management and receivables users use it to locate supporting documents for their transactions. The report runs in Excel via Blitz Report.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. FND_DOCUMENTS is joined to FND_DOCUMENTS_TL on document identifier, filtered to the session language.
  2. FND_ATTACHED_DOCUMENTS is joined to FND_DOCUMENTS on document identifier, and limited to the fifteen supported entity names.
  3. A CASE expression on the entity name returns the operating unit of the attached record, and the result is joined to HR_ALL_ORGANIZATION_UNITS_VL.
  4. The operating unit is checked against MO_GLOB_ORG_ACCESS_TMP, so only permitted units are returned.
  5. The entity name is matched to FND_DOCUMENT_ENTITIES_VL, and the datatype selects short text, long text, file or URL content.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Why are items, work orders or journals missing from this report? A: The report covers operating unit striped entities only. The description directs users to the FND Attached Documents report for attachments on entities such as items and journals.

Q: Why does a download link stop working? A: The secure file download link expires after the number of minutes set in the FND: Security File Download Time Limit profile option; re-running the report creates fresh links.

Q: Which purchasing documents can carry attachments in this report? A: Purchase order headers, releases, lines and shipments, and requisition headers and lines are all supported, with the purchase order number, release and line shown in the reference column.


© Enginatics GmbH