Translate

Saturday, August 20, 2016

Query to get Concurrent Programs

 SELECT f.user_concurrent_program_name,
         f.concurrent_program_name,
         f.output_print_style,
         f.output_file_type,
         column_seq_num no,
         end_user_column_name parameter,
         a.form_left_prompt prompt,
         b.flex_value_set_name value_set,
         DECODE (a.default_type,
                 'C', 'Constant',
                 'P', 'Profile',
                 'S', 'SQL Statement')
            default_type,
         a.DEFAULT_VALUE,
         required_flag required,
         srw_param token,
         a.enabled_flag display,
         g.application_table_name,
         g.additional_where_clause,
         srw_param
    FROM fnd_descr_flex_col_usage_vl a,
         fnd_flex_value_sets b,
         fnd_flex_validation_tables g,
         fnd_concurrent_programs_vl f
   WHERE     1 = 1
         AND SUBSTR (descriptive_flexfield_name, 7) LIKE 'XX%'
         AND a.flex_value_set_id = b.flex_value_set_id
         AND SUBSTR (descriptive_flexfield_name, 7) = f.concurrent_program_name
         AND b.flex_value_set_id = g.flex_value_set_id(+)
ORDER BY descriptive_flexfield_name, column_seq_num

No comments:

Post a Comment

Featured Post

To Add user Responsibility like another user

DECLARE    lc_user_name              VARCHAR2 (100) := 'ALI';    lc_resp_appl_short_name   VARCHAR2 (100) := 'SYSADMIN'; ...