随笔 - 571  文章 - 4  评论 - 253  阅读 - 72万

AME_Oracle自带AME审批链详解AME Standard Handler(概念)

2014-05-30 Created By BaoXinJian

Oracle 自带了3大类,13个子类的审批链Action Type, 对应了13个标准的AME Standard Handler

1. 按主管层次审批


absolute job level / chains of authority based on absolute job level
final approver only / chains of authority containing only the final job-level approver
manager then final approver / chain of authority includes requestor's manager and then the final approver
relative job level / chains of authority based on relative job level
supervisory level / chains of authority based on number of supervisory levels

类似PO签合时按主管方式审批, 以员工的直接主管作为审批链

例子: supervisory level,即通过员工审批,其中有重要的参数即需要几层主管审批,有对应的action定义,如下可以看到对应的action

 

2. 按职位层次审批


hr position / chains of authority based on a particular HR position

类似PO签合时按职位方式审批,以员工的职位去追寻其上级职位对应的主管作为审批链

例子: 按HR Position Level 审批, 其以职位去审批重要参数为需审批几层职位, 有对应的action定义,如下可以看到对应的action

 

3. 按自定义审批组层次审批


post-chain-of-authority approvals / group approvals after the chain of authority
pre-chain-of-authority approvals / group approvals before the chain of authority
approval-group chain of authority / chain of authority includes an approval group

查找审批者完全基于自己定义的approve group,分别对应了三种: 原有审批权链之前,原有审批权链之后,完全基于自定义

个人觉得自部分为按主管和职位层次审批的补充,当用户要求在按主管层次审批或者按职位审批之前或者之后再加一次自定义的审批组人员,以满足用户需求,如在审批费用报表之后,正常主管审批之后由独立的成本管控中心人员再审批一层

例子: 按approve-group chain of authority审批, 其就是直接由自定义的approve group查找审批者,和主管和职位层次没有关系,定义有两种方式,一种是直接指定role,一种是通过sql去定义role

 

4.以上的审批链或者Action Type都是通过Oracle底层Package去实现功能, 如需求比较复杂, 可通过客制化一下Standard AME Handler Package


如需查找对应的AME Handler源码进行分析或客制化

 

5.  若需求十分复杂,Oracle提供的Oracle AME Handler根本无法满足,可通过完全克制package,将此package做为新的客制化的AME Handler


待学友一起研究,呵呵

 

引用Oracle Metalink

1. An action type is a collection of actions having similar functionality. Every action belongs to an action type. Action types are enabled or disabled for a particular transaction type. AME may give an error when attempting to enable an action type for a transaction if the transaction is not designed to allow that action type.

2. To disable or enable action types for the transaction, select the Action Types link

3. The Action Types page shows the action types that are currently enabled for the transaction type. Use the Previous and Next links to scroll through the list of enabled action types. Select the Use Existing Action Type button to see other pre-defined action types available in AME. Some of these may or may not be applicable to the currently select transaction type; AME will give an error if the user tries to add a non-relevant action type for the selected transaction type.

4. If you are going to use Employee/Supervisor, assign a level (approval authority) to the jobs. Navigate to HR responsibility -> Work Structures -> Job -> Description - to assign a Level (Approval Authority) to a Job.  Query up the Job and enter the appropriate Job Level in the Approval Authority field.

5. In AME, select any or all of the following Action Types for JOB BASED approvals if applicable for your business requirements:

  • absolute job level / chains of authority based on absolute job level
  • final approver only / chains of authority containing only the final job-level approver
  • manager then final approver / chain of authority includes requestor's manager and then the final approver
  • relative job level / chains of authority based on relative job level
  • supervisory level / chains of authority based on number of supervisory levels

6. In AME, select any or all of the following Action types for APPROVER GROUP approvals if applicable for your business requirements:

  • post-chain-of-authority approvals / group approvals after the chain of authority
  • pre-chain-of-authority approvals / group approvals before the chain of authority
  • approval-group chain of authority / chain of authority includes an approval group

7. In AME, select any of all of the following Action types for POSITION BASED approvals (Only in R12 and higher) if applicable for your business requirements

  • hr position / chains of authority based on a particular HR position

 

Thanks and Regards

 

posted on   东方瀚海  阅读(1454)  评论(0编辑  收藏  举报
编辑推荐:
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· DeepSeek如何颠覆传统软件测试?测试工程师会被淘汰吗?

点击右上角即可分享
微信分享提示