码迷,mamicode.com
首页 > 数据库 > 详细

Oracle EBS-SQL (SYS-9):职责使用菜单.sql

时间:2014-06-09 17:36:37      阅读:352      评论:0      收藏:0      [点我收藏+]

标签:des   c   a   使用   cti   name   

select aa.menu_name, aa.user_menu_name, aa.type,
                aa.description, aa.ENTRY_SEQUENCE, aa.prompt,
                aa.sub_user_menu_name, aa.user_function_name,
                aa.description1 from (
SELECT DISTINCT fmv.menu_name, fmv.user_menu_name, ‘标准‘ type,
                fmv.description, fme.ENTRY_SEQUENCE, fme.prompt,
                sub_fmv.user_menu_name sub_user_menu_name, fff.user_function_name,
                fme.description description1
           FROM fnd_menu_entries_vl fme,
                fnd_menus_vl fmv,
                fnd_menus_vl sub_fmv,
                fnd_form_functions_vl fff
          WHERE                            

                 --fmv.MENU_NAME = ‘WB_INV_WIP‘ and 
                   fmv.menu_id = fme.menu_id
            AND fme.sub_menu_id = sub_fmv.menu_id(+)
            AND fme.function_id = fff.function_id(+)
            AND fmv.menu_id IN (
                   SELECT DISTINCT b.menu_id
                              FROM apps.fnd_application_vl fa,
                                   apps.fnd_responsibility_vl b,
                                   apps.fnd_menus_vl fmv,
                                   applsys.fnd_request_groups frg,
                                   apps.fnd_application_vl fa3,
                                   apps.fnd_application_vl fa2
                             WHERE b.responsibility_name IN (SELECT col
                                                               FROM able_test)
                               AND b.application_id = fa.application_id
                               AND b.menu_id = fmv.menu_id(+)
                               AND b.data_group_application_id = fa3.application_id(+)
                               AND b.request_group_id = frg.request_group_id(+)
                               AND frg.application_id = fa2.application_id(+))) aa
          order by menu_name

 

Oracle EBS-SQL (SYS-9):职责使用菜单.sql,布布扣,bubuko.com

Oracle EBS-SQL (SYS-9):职责使用菜单.sql

标签:des   c   a   使用   cti   name   

原文地址:http://www.cnblogs.com/st-sun/p/3777561.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!