1、有OU屏蔽的视图,在plsql运行时,需先进行初始化
BEGIN
FND_GLOBAL.APPS_INITIALIZE(USER_ID => ,RESP_ID => ,RESP_APPL_ID => );
END;
上述所需参数可通过以下途径获取:
select user_id from fnd_user where user_name ='yourusername'
select RESPONSIBILITY_ID,APPLICATION_ID from fnd_responsibility where RESPONSIBILITY_KEY=yourrespkey ;
RESPONSIBILITY_KEY 从系统管理员->安全性->责任->定义中的责任关键字获取