﻿{"id":869,"date":"2016-08-05T14:21:12","date_gmt":"2016-08-05T06:21:12","guid":{"rendered":"http:\/\/www.oracle.name\/?p=869"},"modified":"2016-09-29T16:40:14","modified_gmt":"2016-09-29T08:40:14","slug":"%e8%81%8c%e8%b4%a3%e4%b8%8e%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6%e7%9a%84%e5%85%b3%e7%b3%bb%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/www.llku.com\/?p=869","title":{"rendered":"\u804c\u8d23\u4e0e\u914d\u7f6e\u6587\u4ef6\u7684\u5173\u7cfb\u4fe1\u606f"},"content":{"rendered":"<p>\n\tselect fpv.profile_option_value, fpv.level_value, fst.responsibility_name<br \/>\n\t&nbsp; from fnd_profile_options fpo,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fnd_profile_option_values fpv,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fnd_profile_options_tl tl,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fnd_responsibility_tl fst,<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (SELECT 10001 level_id, &#39;\u5730\u70b9&#39; \u6587\u4ef6\u5b89\u5168\u6027<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM dual<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNION<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT 10002 level_id, &#39;\u5e94\u7528\u4ea7\u54c1&#39; \u6587\u4ef6\u5b89\u5168\u6027<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM dual<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNION<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT 10003 level_id, &#39;\u8d23\u4efb&#39; \u6587\u4ef6\u5b89\u5168\u6027<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM dual<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNION<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT 10004 level_id, &#39;\u7528\u6237&#39; \u6587\u4ef6\u5b89\u5168\u6027<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM dual<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNION<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT 10005 level_id, &#39;\u670d\u52a1\u5668&#39; \u6587\u4ef6\u5b89\u5168\u6027<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM dual<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNION<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT 10006 level_id, &#39;\u7ec4\u7ec7&#39; \u6587\u4ef6\u5b89\u5168\u6027 FROM dual) lv<br \/>\n\t&nbsp;where 1 = 1<br \/>\n\t&nbsp;&nbsp; and fpv.profile_option_id = fpo.profile_option_id<br \/>\n\t&nbsp;&nbsp; and tl.language = &#39;ZHS&#39;<br \/>\n\t&nbsp;&nbsp; and fst.language = &#39;ZHS&#39;<br \/>\n\t&nbsp;&nbsp; and tl.profile_option_name = fpo.profile_option_name<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8211;and tl.user_profile_option_name like &#39;%MO%\u4e1a\u52a1\u5b9e\u4f53%&#39;<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8211;and fpo.profile_option_name = &#39;DEFAULT_ORG_ID&#39;<br \/>\n\t&nbsp;&nbsp; and fpo.profile_option_name = &#39;CUX_INV_ACCESS_SINV_CQC&#39;<br \/>\n\t&nbsp;&nbsp; and fpv.level_value = fst.responsibility_id<br \/>\n\t&nbsp;&nbsp; and lv.level_id = fpv.level_id<br \/>\n\t&#8211;and fpv.level_value = fnd_global.resp_id<br \/>\n\t&#8211;and fpv.level_id = 10003 &#8211;\u804c\u8d23\u5c42\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&#8211;\u521d\u59cb\u5316\u73af\u5883<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">BEGIN<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp; fnd_global.apps_initialize(user_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 0,<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resp_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 50658,<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resp_appl_id =&gt; 20003);<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp; mo_global.set_policy_context(p_access_mode =&gt; &#39;S&#39;, p_org_id =&gt; 82);<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp; mo_global.init(&#39;SQLAP&#39;);<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">END;<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&#8211;\u4ee5\u4e0bSQL\u67e5\u8be2\u5f53\u524d\u914d\u7f6e\u7684MO\uff1a\u5b89\u5168\u6027\u914d\u7f6e\u6587\u4ef6<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">SELECT *<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp; FROM per_security_profiles psp<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;WHERE psp.security_profile_id =<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t&nbsp;\n<\/p>\n<p style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_number(fnd_profile.value(&#39;XLA_MO_SECURITY_PROFILE_LEVEL&#39;));\n<\/p>\n<p style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">\n\t\u548cfnd_profile.value(&#39;ORG_ID&#39;) \u6765\u914d\u7f6e\n<\/p>\n<p>\n\t<br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&#8211;\u4ee5\u4e0bSQL\u7528\u6765\u83b7\u53d6\u5f53\u524d\u5b89\u5168\u6027\u914d\u7f6e\u6587\u4ef6\u548c\u5f53\u524d\u7528\u6237\u53ef\u8bbf\u95ee\u7684OU<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">SELECT hou.organization_id, hou.name<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp; FROM hr_operating_units hou<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;WHERE hou.usable_flag IS NULL<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp; AND EXISTS<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;(SELECT 1<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM per_organization_list per<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHERE per.organization_id = hou.organization_id<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND per.security_profile_id =<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_number(fnd_profile.value(&#39;XLA_MO_SECURITY_PROFILE_LEVEL&#39;))<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNION<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT 1<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM dual<\/span><br style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px\/26px Arial; white-space: normal; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\" \/><br \/>\n\t<br \/>\n\t<span style=\"text-align: left; widows: 1; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px\/26px Arial; white-space: normal; float: none; letter-spacing: normal; color: rgb(54,46,43); word-spacing: 0px; -webkit-text-stroke-width: 0px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHERE to_number(fnd_profile.value(&#39;ORG_ID&#39;)) = hou.organization_id)<\/span>\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t<font color=\"#362e2b\" face=\"Arial\">\u8868\u540d\uff1aper_organization_list per, hr_operating_units hr<\/font>\n<\/p>\n<p>\n\t<font color=\"#362e2b\" face=\"Arial\">\u6761\u4ef6\uff1aWHERE per.security_profile_id(+) = to_number(fnd_profile.VALUE(&#39;XLA_MO_SECURITY_PROFILE_LEVEL&#39;))<br \/>\n\tAND hr.organization_id = per.organization_id(+)<br \/>\n\tAND hr.usable_flag is null<br \/>\n\tAND (EXISTS (SELECT 1<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM per_organization_list per1<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHERE hr.organization_id = per1.organization_id<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AND per1.security_profile_id =<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to_number(fnd_profile.value(&#39;XLA_MO_SECURITY_PROFILE_LEVEL&#39;))) OR<br \/>\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fnd_profile.value(&#39;XLA_MO_SECURITY_PROFILE_LEVEL&#39;) = 0)<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>select fpv.profile_option_value, fpv.level_value, fst.r &hellip; <a href=\"https:\/\/www.llku.com\/?p=869\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u804c\u8d23\u4e0e\u914d\u7f6e\u6587\u4ef6\u7684\u5173\u7cfb\u4fe1\u606f<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31,1],"tags":[131,124],"_links":{"self":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/869"}],"collection":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=869"}],"version-history":[{"count":4,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/869\/revisions"}],"predecessor-version":[{"id":891,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/869\/revisions\/891"}],"wp:attachment":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}