Join the OracleApps88 Telegram group @OracleApps88to get more information on Oracle EBS R12/Oracle Fusion applications.

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.

Wednesday, October 15, 2014

Script to Extract AOL Menu Hierarchy


SELECT lev "LEVEL",
         fm.user_menu_name "MASTER_MENU",
         entry_sequence "ENTRY_SEQ",
         a.prompt "PROMPT",
         fms.user_menu_name "CHILD_MENU",
         ffv.user_function_name "FUNCTION_NAME"
    FROM (    SELECT LEVEL lev,
                     fme.menu_id,
                     fme.sub_menu_id,
                     function_id,
                     entry_sequence,
                     PRIOR entry_sequence prior_entry_seq,
                     fme.prompt
                FROM fnd_menu_entries_vl fme
               WHERE fme.grant_flag = 'Y'
          START WITH fme.menu_id = '69914'
          CONNECT BY PRIOR fme.sub_menu_id = fme.menu_id) a,
         fnd_menus_vl fm,
         fnd_menus_vl fms,
         fnd_form_functions_vl ffv
   WHERE     a.menu_id = fm.menu_id
         AND fms.menu_id(+) = a.sub_menu_id
         AND ffv.function_id(+) = a.function_id
ORDER BY lev, prior_entry_seq, entry_sequence;

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect