Pages

OracleEBSpro is purely for knowledge sharing and learning purpose, with the main focus on Oracle E-Business Suite Product and other related Oracle Technologies.

I'm NOT responsible for any damages in whatever form caused by the usage of the content of this blog.

I share my Oracle knowledge through this blog. All my posts in this blog are based on my experience, reading oracle websites, books, forums and other blogs. I invite people to read and suggest ways to improve this blog.


Wednesday, March 13, 2013

Fnd attachments in oracle apps (Graphical Representation)


Below diagram will give you the details of the tables involved in attachment functionality of Oracle Applications and its diagrammatic representation with an example.


Query:

SELECT t.short_text
  FROM fnd_documents_short_text t,
       fnd_documents d,
       fnd_document_categories_tl dct,
       fnd_attached_documents ad,
       fnd_doc_category_usages dcu,
       fnd_attachment_functions af,
       fnd_document_entities_tl det
 WHERE 1 = 1
   AND d.media_id = t.media_id
   AND ad.document_id = d.document_id
   AND dct.category_id = d.category_id
   AND dcu.category_id = d.category_id
   AND dcu.attachment_function_id = af.attachment_function_id
   AND ad.entity_name = det.data_object_code
   AND det.LANGUAGE = USERENV ('LANG')
   AND dct.LANGUAGE = USERENV ('LANG')
   AND det.user_entity_name = 'RA_CUSTOMER_TRX'
   AND dcu.enabled_flag = 'Y'
   AND dct.user_name = 'AR Header Note - Bottom'
   AND af.function_name = 'ARXTWMAI'
   AND ad.pk1_value = :customer_trx_id;

For more details:


1 comment:

  1. Hi Sridevi,
    What are the name of the same tables in the Oracle fusion.?
    Thanks
    Sunil

    ReplyDelete