Friday, December 30, 2011

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:




0 Responses to “Fnd attachments in oracle apps (Graphical Representation)”

Post a Comment

Disclaimer

The ideas, thoughts and concepts expressed here are my own. They, in no way reflect those of my employer or any other organization/client that I am associated. The articles presented doesn't imply to any particular organization or client and are meant only for knowledge Sharing purpose. The articles can't be reproduced or copied without the Owner's knowledge or permission.