To find the Last Updated Rtf Template

To find the Last Updated Rtf Template

SELECT DISTINCT (xl.file_name) "File Name",
                xtb.template_code "Template Code",
                xtt.template_name "Template Name",
                xtb.template_type_code "Type",
                xtb.default_output_type "Default Output Type",
                xtt.last_update_date
  FROM apps.xdo_ds_definitions_vl xddv,
       apps.xdo_templates_b xtb,
       apps.xdo_templates_tl xtt,
       apps.xdo_lobs xl,
       apps.fnd_application_tl fat,
       apps.fnd_application fa
 WHERE     1 = 1
       AND xddv.application_short_name = fa.application_short_name
       AND fat.application_id = fa.application_id
       AND xtb.application_short_name = xddv.application_short_name
       AND xddv.data_source_code = xtb.data_source_code
       AND xtt.template_code = xtb.template_code
       AND xl.lob_code = xtb.template_code
       AND xl.xdo_file_type = xtb.template_type_code
       AND xl.file_name LIKE '%.rtf'
       AND TRUNC (xl.last_update_date) = TRUNC(SYSDATE)

Comments

Popular posts from this blog

Deleting the Sourcing Rule Assignments API

BarCode with XML Publisher