Professional Documents
Culture Documents
Oracle Applications White Paper: White Paper On Using Approval Management Engine For Invoice Line Level Approval in R12
Oracle Applications White Paper: White Paper On Using Approval Management Engine For Invoice Line Level Approval in R12
BACKGROUND ...............................................................................................................................................................3
SCOPE ............................................................................................................................................................................3
Background
Oracle Payables integrates with Oracle Approvals Management and Oracle Workflow to approve
invoices. The Invoice Approval Workflow process uses Oracle Approvals Management and Oracle
Workflow to enable you to define business rules to determine who approves invoices and how they will
be routed for approval to different approvers.
You can define the approval rules in Oracle Approvals Management in one of the following ways:
Line-level approval is the approval of one specific line or set of lines within an invoice, rather than
approving the entire document. Approvers have access to the Notification Detail and Interactive Line
Details pages to review the invoice details. The pages display only the appropriate level of information
for the approver to view. That is, approvers view only the information that they can approve or reject.
Furthermore, no additional login or privileges are required for the approver to approve. The self-service
login that an approver uses to view the notifications is sufficient to review the invoice information.
The system does not initiate document level approval until all lines have been approved. If an approver
rejects one line, the remaining line level approvals continue to go through approval. This allows the
continuation of the line level approval process while the rejected line is being resolved. However, the
system does not continue to document level approvals unless all lines are approved.
Note: Line-level approval is only available for Payables invoices that are matched to a purchase order.
Scope
This paper will cover the set up side of processing matched invoices using line and document level serial
approval process in Oracle Payables.
Architecture
Invoice Approval provides for routing invoices through needed approvals. The approval of an invoice
allows it to be paid though provision has been provided to ‘force’ approval for users with the right
permissions. In the process of approval it also provides for the approver to negotiate with the supplier
(Price, Quantity) for non-PO matched invoices. Approval happens both at the invoice line level as well as
at the invoice level. The invoice level approval happens after all the lines have been approved.
One can define rules in AME using information from invoice headers, Invoice Lines and Invoice
distributions. Both the Line level approval and Document level approval are optional in the Invoice
Approval Workflow process.
The AME transaction type is APINV. The workflow for AP Invoice Approval is apfhanwf.wft and it mainly
constitutes of below processes:
The Figure below describes the workflow process for the Invoice Line Approval Process.
o If the Approver fails to respond, an escalation notification will be sent to his/her Supervisor
as setup in HR.
o Whenever the workflow reaches a logical conclusion (i.e., Process Lines Approval, Process
Lines Rejection or the block is woken up by a negotiation sub-process), the main process is
woken up.
The Figure below describes the workflow process for the Invoice Approval.
o The Approver can either Approve or Request the lines in the notification.
o This process Ends in statuses ‘Approve’ or ‘Reject’, which in turn is used in the main
process to either continue the workflow process or to stop it (i.e., Approval stops at the
first Rejection).
Note: The workflows shown above are based on the latest available AP_WORKFLOW_PKG
(120.64.12010000.56) and workflow file apfhanwf.wft (120.36.12010000.15)
Business Scenario
If Supplier invoice amount is less than $1000, it should be approved by Payables Manager, Mrs.
Meenakshi Mehra and if it’s greater than or equals to $1000, it should be approved by Payables Senior
Manager, Mr. Vaideeswaran Subramanian.
At the same time if such Invoice line amount is less than $1000, it should be approved by Payables clerk,
Mr. Srinivas Nimmalapudi and if it’s greater than or equals to $1000, it should be approved by Payables
clerk, Mr. Raghavender Vutukuru.
i.e.,
Business Scenario 2 : Process an Invoice with a line that of $900 and another line that of $1800
For Payables application to use Approvals Management Engine, Use Invoice Approval Workflow
Payables option should be checked. The Invoice Approval Workflow automates your invoice approval
process. Based on rules you define, the workflow determines if an entire invoice (document) or invoice
lines need approval, who will the approvers be, and in what order the approvers should approve the
invoice.
When you use this feature, all invoices require approval, with the following exceptions.
• Expense reports imported through the Payables Expense Report Export Program (because these
expense reports have already been through an approval process)
• Recurring invoices if the recurring invoice template did not have the Approval Workflow Required
option enabled (because recurring invoices are often approved in advance)
• Invoices that completed the Invoice Approval Workflow process and the Invoice Approval Workflow
process determined that according to the rules set up in Oracle Approvals Management that no one
needs to approve the invoice.
Approvers can approve or reject the invoice document or invoice line. If both invoice lines and
document need to be approved, all the lines of the invoice requiring approval must be approved before
the invoice document can be approved.
2) System Administrator
Define User
This is required to access the approval notifications to process Invoice approval request.
Note: All other approvers’ user details are created like this one.
For Transaction Type, Payables Invoice Approval, ensure that the order priority is same for Item class
Header and Line to use Line level approvals.
This is the place where you define Custom Attributes (if needed), Conditions, Approval Groups and AME
Rules to get the invoices approved in system.
Click on Attributes link under Define the components section or click on Setup Icon (I) for the transaction
type.
Under Attributes tab, you can look for seeded attributes or create a new one on need basis.
Here for this test case, we are using below seeded attributes:
1. TRANSACTION_ORG_ID
3. SUPPLIER_INVOICE _AMOUNT
Navigation: Approvals Management Administrator> Admin Dashboard> Setup > Conditions (T)
Navigation: Approvals Management Administrator> Admin Dashboard> Setup > Approval Groups (T)
The action type and the approval group defined are selected.
The review page shows the summary of the rule header, conditions and actions.
Similarly another Header Rule is created with other conditions as noted below.
While defining the Invoice Line rule, we will select the item class as ‘Line Item’.
The action type and the approval group defined are selected.
The review page shows the summary of the Line rule header, conditions and actions.
Similarly another Line Rule is created with other conditions as noted below.
Having defined two Header and two Line level rules, the Rules section looks like below.
Created a Purchase Order (PO) matched invoice (AD2000) with a single line for an amount of $900.
As you note, one can initiate such invoice for approval using either of the methods viz.,
Having initiated the invoice for approval, the status of the invoice changed to ‘Initiated’.
To check the Invoice Header approval list/status, keep the cursor in any of the Invoice Header fields and
click on (M) Reports > View Invoice Approval History.
As you note below, both the header and line approval list will be seen from here. Importantly, Invoice
Line Approval notification is sent first and the header (Invoice Approval) notification is set to future.
Once all the line approvals are done, such header approval notifications will be sent.
As you note, this approval history shows only Invoice Line Approval notification information.
Note: You can set up your system to request and receive approval through the approver's e-mail,
through the approver's Oracle Workflow Notifications Workflow web page, or both.
Click on the hyperlink of the approval notification to open and act on it.
When we re-query the invoice and check the status of the Invoice approval history, noted that the
Invoice line is approved and now the header rule is honored and a workflow notification is sent to the
approver.
The approval history for this invoice from Invoice Workbench shows as below.
Note: Table AP_INV_APRVL_HIST_ALL contains the approval and rejection history of each invoice that
passes through the Invoice Approval Workflow process. The process inserts a record for each approver
assigned to review an invoice. This table corresponds to the Invoice Approval History window.
The approval status of the invoice line now will be Workflow approved as the line level approval is
complete.
Note: Table WF_NOTIFICATIONS holds the runtime information about a specific instance of a sent
message. A new row is created in the table each time a message is sent.
Now, having approved by both the header and line approvers, when you re-query the invoice, the status
of the invoice is Workflow Approved.
Created a Purchase Order (PO) matched invoice (AD3000) with couple of lines
We initiated the invoice for approval using Actions button. The invoice status changed to Initiated
status.
To check the Invoice Header approval list/status, keep the cursor in any of the Invoice Header fields and
click on (M) Reports > View Invoice Approval History.
As you note below, both the header and line approval list will be seen from here. Importantly, First
Invoice Line Approval notification is sent first and the other line along with header (Invoice Approval)
notification is set to future.
From the work list of the Approver (Nimmalapudi, Srinivas), opened the notification and approved the
invoice line.
The approval history for this invoice from Invoice Workbench shows as below.
Now from the work list of the Approver (Vutukuru, Raghavender), opened the notification and approved
the invoice line.
The approval status of these invoice lines will be shown as Workflow Approved.
Now, having approved by both the header and couple of line approvers, when you re-query the invoice,
the status of the invoice is Workflow Approved.
Release 12 Oracle Payables Invoice Approval Workflow Technical Transfer of Information (TOI)