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

AME_PR采购申请单通过AME审批设定和测试(案例)

2014-06-21 Created By BaoXinjian

一、摘要


本案例是PR单启动AME签核进行个性化的一个简单案列,实际上的PR单通过AME审批更加复杂,不建议直接修改Oracle的标准代码实现客制化需求,尽量使用Oracle一些标准需求实现需求

1. User的Security设定

    (1). 查询当前使用的User

    (2). 设定Amdinistrator的Security

    (3). 设定AME的Security

    (4). 通过Profier启动AME

2. PR单的签合设定

3. 设定AME Setup

    (1). 建立 Attribute

    (2). 建立 Condition

    (3). 建立 Action Type

    (4). 建立 Approval Groups

4. 建立AME的Rule

    (1). 建立 Rule Detail

    (2). 建立 Add Condition

    (3). 建立 Add Action

    (4). Review

5. Run Test测试

    (1). 查询Purchase Requisition ID

    (2). Run Test后,其签合结果

6. 开立PR正式测试

    (1). 开立PR单

    (2). 进行Approve

    (3). 查看Notification    

 

二、步骤解析


1. User的Security设定

(1). 查询当前使用的User

        

(2). 设定Amdinistrator的Security

        

(3). 设定AME的Security

        

(4). 通过Profier启动AME 

        

 

2. PR单的签合设定

    

 

3. 设定AME Setup 

(1). 建立 Attribute

        

复制代码
 1 SELECT NVL (
 2 
 3           SUM (
 4 
 5              DECODE (order_type_lookup_code ,
 6 
 7                      'RATE', amount,
 8 
 9                      'FIXED PRICE', amount,
10 
11                      quantity * unit_price )),
12 
13           0),
14 
15        po_ame_setup_pvt. get_function_currency (
16 
17           MAX (pl .requisition_header_id )),
18 
19        po_ame_setup_pvt. get_rate_type (MAX (pl.requisition_header_id ))
20 
21   FROM po_requisition_lines_all pl
22 
23  WHERE     requisition_header_id = po_ame_setup_pvt.get_new_req_header_id (:transactionId )
24 
25        AND NVL (cancel_flag, 'N') = 'N'
26 
27        AND NVL (modified_by_agent_flag , 'N') = 'N'
复制代码

 (2). 建立 Condition

       

(3). 建立 Action Type

        

        

(4). 建立 Approval Groups

        

 

4. 建立AME的Rule

(1). 建立 Rule Detail        

        

(2). 建立 Add Condition

        

(3). 建立 Add Action

        

(4). Review

        

 

三、AME PR测试


1. Run Test测试

(1). 查询Purchase Requisition ID

        

(2). Run Test后,其签合结果

        

 

2. 开立PR正式测试

(1). 开立PR单

        

(2). 进行Approve

        

(3). 查看Notification  

       

 

Thanks and Regards


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

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