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:
Hi Sridevi,
ReplyDeleteWhat are the name of the same tables in the Oracle fusion.?
Thanks
Sunil