• MOAC中“MO:安全性配置文件“对于开发者


    1. 获取配置文件的值:应用开发员->配置文件->输入用户配置文件名,找到上面的名称,即可填入fnd_profile.VALUE()中。

    2. MO:安全性配置文件有值的话,就代表启用了MOAC.

    3.  其中“MO:业务实体”和“MO:安全性配置文件”两者的设置和关系在
         mo_global. set_org_access的注释中有体现:
         If the application being initialized can handle more than one Operating Unit, access will be allowed for the Operating Units encompassed by the security profile (if specified) and the value of the Operating Unit parameter will be ignored, provided access is enabled for the application calling this api. If no security profile is specified, access will be initialized for the Operating Unit only. If both are unspecified an exception will be raised.
    因此两者的关系可以概括为:当没有设置“MO:安全性配置文件”的值时,必须设置“MO:业务实体”的值,设置了“MO:安全性配置文件”值后自动覆盖“MO:业务实体”的值,并且此时的“MO:默认业务实体”的值即为用户或职责的默认OU,并且一般是将安全性控制文件挂在用户和职责层。
    4. 当设置了“MO:安全性配置文件”的话,即启用了MOAC时,这时同一职责可以访问多个OU。当我们在做程序开发时,需要初始化MOAC。如下例,先判断是否启用了“MO:安全性配置文件”。

        select fnd_profile.VALUE('XLA_MO_SECURITY_PROFILE_LEVEL')
        into l_moac_profile
        from dual;
       
        IF l_moac_profile is not null then
            mo_global.init('AR');--初始化MOAC
        END IF;

  • 相关阅读:
    Linux常用命令
    git常用命令查询
    专有名词
    dos2unix 转换字符
    常见脚本语言
    使用shell脚本自动化部署rabbitmp
    通过脚本来执行ssh登录
    码率mbps
    centos7 firewall指定IP与端口访问(常用)
    ubuntu16.04离线安装docker记录
  • 原文地址:https://www.cnblogs.com/wanghang/p/6299287.html
Copyright © 2020-2023  润新知