Responsibility Disable


update fnd_responsibility b set end_date = sysdate where
        -- select * from   fnd_responsibility b where 
         b.responsibility_id  in ( 
            select  responsibility_id from fnd_responsibility_tl t 
            where 1 =1 
          --  and t.LANGUAGE = USERENV ('LANG')
            and  ( t.responsibility_name like '%32%WIP%' or t.responsibility_name like '%32%OSFM%' ) 
            --and  ( t.responsibility_name  <> '32A XGKA OSFM User - Read Only' and  t.responsibility_name  <> '32A XGKA WIP User - Read Only' )
        ) 
         and b.application_id in (
            select  application_id from fnd_responsibility_tl t 
            where 1 =1 
            --and t.LANGUAGE = USERENV ('LANG')
            and  ( t.responsibility_name like '%32%WIP%' or t.responsibility_name like '%32%OSFM%' ) 
            --and  ( t.responsibility_name  <> '32A XGKA OSFM User - Read Only' and  t.responsibility_name  <> '32A XGKA WIP User - Read Only' )
        );


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM