zoukankan      html  css  js  c++  java
  • 11i

    (文档 ID 578574.1)

    In this Document

      Goal
      Solution
      Workflow Information Center, Diagnostics, & Community
      References

    APPLIES TO:

    Oracle Workflow Cartridge - Version 11.5.9 to 12.2 [Release 11.5 to 12.2]
    Information in this document applies to any platform.
    Checked for relevance on 06-JUL-2013

    GOAL

    The goal of that Note is to explain how to bulk update the Email Style preference for all E-Business Suite users at once. The same can be used to update the Email Style for a group of users only, for instance the users who have the preference set to "Disabled" ...

    Usually, each user must reset the Email Style preference through the "Preferences" page available from his Home Page.





    SOLUTION

    1. Unfortunately, currently there is no seeded way to do this.  An enhancement request has been logged for this under internal Bug 5748131 (NEED PLEASANT WAY TO BULK RESET NOTIFICATION PREFERENCE FROM DISABLED).
    It is under Oracle Development's review.


    2. Currently, the only workaround to change the Email Style of all users is to update the tables.
    Note that there are 2 tables to update : FND_USER_PREFERENCES and WF_LOCAL_ROLES.

    One should backup the tables before performing the updates as updating application tables from sqlplus is not supported.


    3. Updates for All Users would look like:

    a.

    update wf_local_roles 
    set notification_preference='<wished_preference>' 
    where orig_system in ('FND_USR','PER');

    b.

    update fnd_user_preferences 
    set preference_value='<wished_preference>' 
    where preference_name='MAILTYPE' 
    and module_name='WF' 
    and user_name <> '-WF_DEFAULT-'; 

    4. Updates for Users having the preference set to "Disabled" would look like:


    a.

    update wf_local_roles
    set notification_preference='<wished_preference>'
    where orig_system in ('FND_USR','PER')
    and name in
    (select user_name
    from fnd_user_preferences
    where preference_name='MAILTYPE'
    and module_name='WF'
    and preference_value='DISABLED');



    b.

    update fnd_user_preferences
    set preference_value='<wished_preference>'
    where preference_name='MAILTYPE'
    and module_name='WF'
    and preference_value='DISABLED';

    The where clauses of above SQL can be modified to match ones needs.


    Possible values for <wished_preference> are:

    QUERY (corresponds to preference value "Do not send me mail") 
    MAILTEXT (corresponds to preference value "Plain text mail") 
    MAILATTH (corresponds to preference value "Plain text mail with HTML attachments") 
    MAILHTML (corresponds to preference value "HTML mail with attachments") 
    MAILHTM2 (corresponds to preference value "HTML mail") 
    SUMMARY (corresponds to preference value "Plain text summary mail") 
    SUMHTML (corresponds to preference value "HTML summary mail") 
    DISABLED (corresponds to preference value "Disabled")

    Workflow Information Center, Diagnostics, & Community

    • Please reference the Workflow Product Information Center Document for Top Workflow Resources: Document 1320509.1
    • For additional help, please refer to one of the following documents on diagnostics to address current needs. Providing diagnostic output on an issue for support when logging a service request is very helpful.

      Document 179661.1 for 11i or Document 421245.1 for Rel 12.x
    • Visit the Core Workflow community for help with industry experts or to share knowledge.

    • Please see Document 1186338.1 for recorded Workflow Webcasts.
  • 相关阅读:
    vue.js生成纵向拓扑图
    vue.js生成横向拓扑图
    Vue.js中使用wangEditor富文本编辑器
    文件上传与下载,PDF与Excel的操作
    Element布局实现日历布局
    golang时间转换
    iView学习笔记(四):Form表单操作
    iView学习笔记(三):表格搜索,过滤及隐藏列操作
    iView学习笔记(二):Table行编辑操作
    iView学习笔记(一):Table基本操作(包含前后端示例代码)
  • 原文地址:https://www.cnblogs.com/huak/p/4158004.html
Copyright © 2011-2022 走看看