Вы находитесь на странице: 1из 14


Hello and Welcome to "Simplifying Oracle E Business Suite". This blog is dedicated to share Oracle Apps Knowledge related to Oracle apps E
Business Suite's Order Management, Procurement, Inventory, WMS, Supplier Scheduling, OSP, Sys Admin, Useful SQL Queries etc

Home Tutorials Interview EBS Quiz Books Forum Others FAQs Openings Services Contact Us

Tuesday, May 27, 2014 Search

Popular Posts AME Setups Custom Search

How to Assign a
Concurrent Program to This Post is going to describe how to use AME for Requisition approvals. Purchase requisition and All Post
a Responsibility Purchase orders can be approved using AME. AME Stands for Approval Management Engine.

AME Setups
We are going to perform the setup steps one by one and see a demo test case. We are going to perform
this case on R12.1.3 You are Visitor Number
XXX is not a valid
responsibility for the
current user. Please Setup Steps
contact your System Site Counter
1) AME Profile Options
Requisition Import 2) Assign AME Roles and Responsibilities Follow by Email
FAQs 3) Grant Transaction Type Access to User Email address...
4) Create New Transaction Types
Interface Trip Stop
Functionality 5) Approval Process Setup
6) Enable AME for Requisition Approval Total Pageviews
Consigned Inventory
Flow in R12 291,126
Step 2) Assign AME Roles and Responsibilities
Vacation Rules

How to Apply and Navigate to User Management Responsibility > Users

Remove a Hold Source
Query for the User. In our case its Apps_User
Complete Back-to-
Back Sales Order
Cycle In Order

Outside Processing
Setups and Cycle

Click on Update and then Assign Roles

Now Query for "Approvals%" and select "Approval Management Administrator" and "Approval Management
Business Analyst"

About Me

Click Select Mandeep Kumar

Follow 68

View my complete profile

Blog Archive
2014 (89)
November (1)
October (1)
July (22)
June (25)
May (18)
Put some justification and click apply. A message will be displayed "You have successfully updated
Oracle the
information " Interview
Lead time
Step 3) Grant Transaction Type Access to User Flashcards
Types Of Receipt
Next step is to Grant Transaction Type Access to User. Flashcards
Move Order Flash
Navigate to Functional Administrator >Security > Grants> Create Grants Cards
Purchasing Quiz
Vacation Rules
XXX is not a valid
responsibility for
the current ...
AME Setups
Oracle Inventory
Supplier Scheduling
Overview and
A CEO’s letter to
A Short Story
Prerana 2 - Trees
Attachments in
Shipping Calendar
Outside Processing
Setups and Cycle

April (15)
March (7)

2010 (1)

Useful Links
• Metalink
• Anil Passi
• OracleUG | Oracle
Users' group & guide
• Oracle Blog
• OracleAppsBlog
• Larry Sherrod Oracle
Fill In below Information in the next form Works

Name = Apps_User Grants

Grantee Type = Specific User • Advance Pricing
Grantee = Apps_User • EDI RLM
Object = AME Transaction Types • Form Personalization
• Interview Questions
• Inventory
• OM
• Purchasing
• Supplier Scheduling
• Sys Admin
• Technical
• Short Stories
• Earn from Blogging
• Forum
• Oracle EBS Quiz
• Oracle FAQs
• Oracle Apps Books
• Job Openings
• Services Offered
• Contact Us

Click On next

Data Context Type = All Rows

Click Next
Set = AME Calling Applications

Click Next and review and clicking on Finish will display "Grant '' has been created successfully."

Step 4) Create new Transaction Type

You can use existing transaction type also or can create your own. Lets Create a new Transaction type.

Navigate to Approval Management Administrator (This Responsibility will be available now because it was
assigned in step 2) and Click On "Create Transaction Type"

Enter Information as shown below or create your own Transaction type

Click Next, Select Line Item from Drop Down and Click "Go"

Change the Order Number to 2

Post below in the query. I copied it from earlier Requisition approval transaction type.

select prd.distribution_id from po_req_distributions_all prd,

po_requisition_lines_all prl
where prl.requisition_header_id = po_ame_setup_pvt.get_new_req_header_id(:transactionId)
and prl.requisition_line_id = prd.requisition_line_id
and nvl(prl.cancel_flag, 'N') = 'N'
and nvl(prl.modified_by_agent_flag, 'N') = 'N'
order by prd.distribution_id

Click on Validate, a message will be displayed "The query is valid" and now click on "Apply".

Click on Next and enter the details as shown in below screenshot.

Click on Validate Button after entering each value. Below are the value. I copy pasted from seeded
transaction type defined

select decode(PO_AME_SETUP_PVT.is_system_approver_mandatory(:transactionId),
'N', 'true', 'false')
from dual

select decode (PO_AME_SETUP_PVT.can_preparer_approve(:transactionId),
'Y', 'true', 'false')
from dual

select wf_item_key from po_requisition_headers_all where requisition_header_id =

select wf_item_type from po_requisition_headers_all where requisition_header_id =
Now Click On next and Finish Button. A confirmation message will be displayed as "Transaction type
Mandeep Purchase Requisition Approval has been created successfully."

Step 5) Approval Process Setup

Next is to define Attributes, Conditions, Actions Types, Approval Group, Rules etc

Navigate to Approval Management Business Analyst > Business Analyst Dashboard

In Approval Process Setup, Query for Transaction Type as "Mandeep Purchase Requisition Approval".


Next Click on Attributes. Click On "Use Existing Attributes"

Now select the attributes as shown below and click Go

Select REQUISTION_TOTAL and Click On Continue

Select Usage Type as Dynamic and Copy below sql there

SELECT nvl(SUM(decode(order_type_lookup_code, 'RATE', amount, 'FIXED PRICE', amount, quantity *

unit_price)), 0), po_ame_setup_pvt.get_function_currency(max(requisition_header_id)),
po_ame_setup_pvt.get_rate_type(max(requisition_header_id)) from po_requisition_lines_all where
requisition_header_id = po_ame_setup_pvt.get_new_req_header_id(:transactionId) and nvl(cancel_flag,
'N') = 'N' and nvl(modified_by_agent_flag, 'N') = 'N'

Click on Validate and then Finish will display a message "Attribute REQUISITION_TOTAL has been created

Similarly do same for Item category. Click on Use Existing Attributes. Select Attributes as shown below

Select Item Category and click Continue

Select Usage Type as Dynamic and Copy below sql there

select mck.concatenated_segments from mtl_categories_b_kfv mck, po_requisition_lines_all prl,

po_req_distributions_all prd where mck.category_id = prl.category_id and prl.requisition_line_id =
prd.requisition_line_id and prl.requisition_header_id = po_ame_setup_pvt.get_new_req_header_id
(:transactionId) order by prd.distribution_id

Also Add Below Attributes for selecting action types

TRANSACTION_REQUESTOR_PERSON_ID(Required for Supervisory level Action Type)

select nvl(PREPARER_ID, 0) from po_requisition_headers_all where REQUISITION_HEADER_ID =

And Now add

ALLOW_EMPTY_APPROVAL_GROUPS(Required for approval-group chain of authority Action Type)


Next is to specify Conditions. Click on Setups> Conditions > then click on Create
Condition for Item Category

Condition for Requisition Total

Action Types

Now click on action types and select use existing actions

Select below value and click Continue

• Supervisory level
• Approval-Group Chain of authority

and click on Finish "The selected action types have been added successfully."

Approver Groups

Now click on Approver Groups and click on Create Button.

Enter Name, description , Order number, Voting Method. and add approvers
Click Apply. Similarly create other approver groups.

Give order number

AME Rule Setups

Now ;lets use condition and approver groups to create rules. Click on Rule

Click on Create.
Enter Rule details like Name, End date will automatically come and you can change it also. Click Next and
Add Conditions.

Select Conditions which is created earlier or use from exiting conditions. Click Continue. You can add more
conditions here and then click next and add actions

Click Next and Review

Click on Finish "Rule Supervisior has been created successfully".

Similarly create rule for Item Category Condition

Click Finish "Rule Item Category has been created successfully."

Step 6) Enable AME for Requisition Approval

Next step is to enable AME for requisition approval.

Navigate to Purchasing super user>Setup>Purchasing>Document Type and search for Purchase


Add "Mandeep_Purchase_REQ" in Approval Transaction Type and save

This complete our AME setups.


Posted by Mandeep Kumar at 1:26 PM

Labels: Purchasing


Bijoy Joseph September 1, 2015 at 11:01 AM

Excellent !


Anonymous January 4, 2016 at 1:16 PM

Many Thanks
Mohamed Amin


Skishore Kumar February 8, 2016 at 1:03 PM

What about Step 1, Profile Options.


mallikarjun kokkonda February 8, 2016 at 4:00 PM



pam May 30, 2016 at 9:47 PM

many many thanks..


Enter your comment...

Comment as: Google Account

Publish Preview

Links to this post

Create a Link

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

All content provided on this blog is for informational purposes only. The owners of this blog makes no representations
as to the accuracy or completeness of any information on this site or found by following any link on this site. All
trademarks, trade names, service marks, copyrighted work and logos referenced here - belong to their respective
owners.If you want to report any content that is violating copyright law and you want us to remove it, please contact us.

Fossil Analog
Silver Dial...
INR 6,995.00

Shop now

Theme images by johnwoodcock. Powered by Blogger.