You are on page 1of 23

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

Tuesday, May 27, 2014 Search

Popular Posts AME Setups


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.
Get this w idget

AME Setups
We are going to perform the setup steps one by one and see a demo test case. We are going to perform
XXX is not a valid this case on R12.1.3 You are Visitor Number
responsibility for the
current user. Please Setup Steps
contact your System Site Counte r
Administrator.
1) AME Profile Options
Requisition Import 2) Assign AME Roles and Responsibilities Follow by Email
FAQs 3) Grant Transaction Type Access to User
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 328,329
Step 2) Assign AME Roles and Responsibilities
How to Apply and
Remove a Hold Source
Navigate to User Management Responsibility > Users
Vacation Rules
Query for the User. In our case its Apps_User
Outside Processing
Setups and Cycle

Complete
Back-to-Back Sales
Order Cycle In Order
Management
Click on Update and then Assign Roles

Blog Archive
2014 (89)
November (1)
October (1)
July (22)
June (25)
May (18) Now Query for "Approvals%" and select "Approval Management Administrator" and "Approval Management
Oracle Purchasing Business Analyst"
Interview
Question
Lead time
Flashcards
Types Of Receipt
Flashcards
Move Order Flash
Cards
Purchasing Quiz
MOAC Quiz
Vacation Rules
XXX is not a valid
responsibility for
the current ...
AME Setups
Oracle Inventory
Quiz
Supplier Scheduling
Overview and
Setups
A CEO’s letter to
employees
A Short Story
Prerana 2 - Trees
That
Wood………. Click Select
Attachments in
Order
Management
Release
Management
Schedules
Shipping Calendar
Outside Processing
Setups and Cycle

April (15)
March (7)

2010 (1) Put some justification and click apply. A message will be displayed "You have successfully updated the
information "

Useful Links
Metalink
Step 3) Grant Transaction Type Access to User
Anil Passi
OracleUG | Oracle Next step is to Grant Transaction Type Access to User.
Users' group & guide
Oracle Blog
Navigate to Functional Administrator >Security > Grants> Create Grants
OracleAppsBlog
Larry Sherrod Oracle
Works

Advance Pricing
EDI RLM
Form Personalization
Interview Questions
Inventory
OM
OSP
Purchasing
Supplier Scheduling
Sys Admin
Technical
WMS
Short Stories
Earn from Blogging
Forum
Oracle EBS Quiz
Oracle FAQs
Oracle Apps Books
Job Openings
Services Offered
Contact Us

Fill In below Information in the next form

Name = Apps_User Grants


Grantee Type = Specific User
Grantee = Apps_User
Object = AME Transaction Types
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

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

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

WORKFLOW_ITEM_KEY=
select wf_item_key from po_requisition_headers_all where requisition_header_id =
po_ame_setup_pvt.get_new_req_header_id(:transactionId)

WORKFLOW_ITEM_TYPE=
select wf_item_type from po_requisition_headers_all where requisition_header_id =
po_ame_setup_pvt.get_new_req_header_id(:transactionId)

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".

Attributes:

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
successfully."
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 =


po_ame_setup_pvt.get_new_req_header_id(:transactionId)

And Now add

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


Conditions:

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 requisition

Add "Mandeep_Purchase_REQ" in Approval Transaction Type and save

This complete our AME setups.

Thanks
Mandeep

Posted by Unknown at 1:26 PM

Labels: Purchasing

5 comments:

Bijoy Joseph September 1, 2015 at 11:01 AM

Excellent !

Reply

Anonymous January 4, 2016 at 1:16 PM

Many Thanks
Mohamed Amin

Reply
Skishore Kumar February 8, 2016 at 1:03 PM

What about Step 1, Profile Options.

Reply

mallikarjun kokkonda February 8, 2016 at 4:00 PM

thanks

Reply

pam May 30, 2016 at 9:47 PM

many many thanks..

Reply

Comment as:

Publish

Links to this post


Create a Link

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)


Disclaimer
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.

XML Parsing Error: unexpected


Location: jar:file:///C:/Program%
Line Number 520, Column 50:

<div id="ed_netRes
--------------------------

You might also like