zoukankan      html  css  js  c++  java
  • EBS fnd_global.apps_initialize

     

    原型:fnd_global.apps_initialize(user_ID,
                                                Responsibility_id,
                                                Responsibility_application_id);
     
    作用:在数据库的会话中设置全局变量,和用户概要信息。
    参数获得:
      参数一,用户ID 
        select user_id
        from fnd_user
        where user_name like '%OPERATIONS%'; -- ID of OPERATIONS:1318
     
      参数二,职责编号(responsibility id)
        select RESPONSIBILITY_ID, APPLICATION_ID, RESPONSIBILITY_KEY
        from fnd_responsibility
        --where APPLICATION_ID = 140
        where RESPONSIBILITY_KEY like '%ASSETS_VISION_OPERATIONS%';
     
      参数三,代表该职责所属的应用程序(application)的编号
        上面的SQL取得
     
      方便的方法:Help->Diagnostics->Examin, Block: $PROFILES$, Field: RESP_ID(以及其他)
     
    运行:
    BEGIN
      fnd_global.APPS_INITIALIZE(uesr_id, resp_id, resp_appl_id);
    END;
     
    测试:
      select fnd_profile.value('GL_SET_OF_BKS_ID') FROM DUAL;
      select fnd_profile.value('USER_ID') from dual; --对应刚才的user_id

     

  • 相关阅读:
    Luogu P5030 长脖子鹿放置(网络流)
    BZOJ3037 创世纪(基环树DP)
    LuoguP1240 诸侯安置
    LuoguP3128 [USACO15DEC]最大流Max Flow (树上差分)
    总结-一本通提高篇&算竞进阶记录
    LuoguP5022 旅行 (割点,基环树)
    $tsinsenA1067$
    $SCOJ4427 Miss Zhao's Graph$
    $Edmonds-Karp$[网络流]
    $AC自动机$
  • 原文地址:https://www.cnblogs.com/benio/p/2252899.html
Copyright © 2011-2022 走看看