Академический Документы
Профессиональный Документы
Культура Документы
This Post is going to describe how to use AME for Requisition approvals. Purchase requisition and Purchase orders can be
approved using AME. AME Stands for Approval Management Engine.
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
Setup Steps
Now Query for "Approvals%" and select "Approval Management Administrator" and "Approval Management Business
Analyst"
Click Select
Put some justification and click apply. A message will be displayed "You have successfully updated the information "
Click Next and review and clicking on Finish will display "Grant '' has been created successfully."
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"
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 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."
Next is to define Attributes, Conditions, Actions Types, Approval Group, Rules etc
In Approval Process Setup, Query for Transaction Type as "Mandeep Purchase Requisition Approval".
Attributes:
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
Next is to specify Conditions. Click on Setups> Conditions > then click on Create
Action Types
Supervisory level
Approval-Group Chain of authority
and click on Finish "The selected action types have been added successfully."
Approver Groups
Enter Name, description , Order number, Voting Method. and add approvers
Click Apply. Similarly create other approver groups.
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
Navigate to Purchasing super user>Setup>Purchasing>Document Type and search for Purchase requisition