ORACLE EBS中有些VIEW经常被OU屏蔽掉数据

ORACLE EBS中有些VIEW经常被OU屏蔽掉数据,打开VIEW的时候,一片空白,而在系统FORM里却有数据,这是怎么回事?

就是OU屏蔽掉数据了,这是ORACLE出于安全机制考虑而作出的安全策略。

处理方法:

begin
   fnd_client_info.set_org_context (190);   -- org_id             
end;

begin
   dbms_application_info.set_client_info (190);   -- org_id
end;

execute fnd_client_info.set_org_context (190);             -- org_id
execute dbms_application_info.set_client_info (190);    -- org_id

原文地址:https://www.cnblogs.com/quanweiru/p/2738828.html