1. 根據功能名稱,獲取功能id
select function_id
from fnd_form_functions_vl
2. 根據功能id,查詢該功能所在選單和職責:
select frv.responsibility_name,
frv.responsibility_key,
frv.description,
frv.menu_id,
fmv.menu_name,
fmv.user_menu_name
from fnd_responsibility_vl frv
inner join fnd_menus_vl fmv on frv.menu_id = fmv.menu_id
where (frv.version = '4' or frv.version = 'w' or frv.version = 'm')
and frv.menu_id in
(select fmev.menu_id
from fnd_menu_entries_vl fmev
connect by prior fmev.menu_id = fmev.sub_menu_id
start with fmev.function_id = 1031138);
3. 獲取當前職責選單id
select responsibility_name,
responsibility_key,
description,
menu_id
from fnd_responsibility_vl
where (version = '4' or version = 'w' or version = 'm')
and responsibility_name='scm super user'
4. 查詢該功能所在選單路徑。
select level, a.*
from (select fmev.menu_id, fmev.sub_menu_id, fmev.prompt
from fnd_menu_entries_vl fmev
connect by prior fmev.menu_id = fmev.sub_menu_id
start with fmev.function_id = 1031138) a
connect by prior a.sub_menu_id = a.menu_id
start with a.menu_id = 1026527
reference:
jquery根據名稱實時搜尋匹配功能
jquery根據名稱實時搜尋匹配功能,可以根據輸入資訊快速定位到某個標籤 下面的demo,主要用的change事件和.keyup事件。function function filterlist header,list else return false keyup function function ...
追溯功能是MES系統的關鍵
追溯是mes系統的基礎和關鍵,追溯對製造業企業而言,是提高產品質量,減少品質成本的基礎資料 那麼,物料追溯方法有哪幾類呢?追溯線路一 按訂單資訊追溯 按訂單資訊追溯,其原料批號或包裝木箱條碼在計畫下發至倉庫 配送中心 時,需要倉庫工作人員或領料工作人員到mes系統中,掃瞄每乙個原料批號或包裝木箱條碼...
根據編號取得完整名稱。
if exists select from sysobjects where name n fun tzjmc drop function dbo fun tzjmc gocreate function dbo fun tzjmc tcid int returns varchar 4000 asbe...