This action might not be possible to undo. Are you sure you want to continue?
ORACLE APPLICATIONS WHITE PAPER AP/AR NETTING – A TECHNICAL INSIGHT AUGUST 2008
Contributor: Shanmuga Senapathy, AP Support
AP/AR Netting – A Technical Insight Contents Introduction Objective Scope Background What is AP/AR Netting? How it worked before R12? How does it work in R12? What are the Setup Steps involved? How Netting batches are created? What happens when we submit a Netting Batch? How Netting Batches are settled? What are various Netting Batch Statuses? What are the tables involved? How these tables are linked? Summary Information Source 3 3 3 2 4 5 6 7 9 12 13 15 16 17 18 18 2 .
AP/AR Netting – A Technical Insight Introduction Objective To provide a technical insight into Oracle AP/AR Netting with hopes of giving the reader a good understanding of the different setups involved. Background The Oracle AP/AR Netting is a feature that provides a foundation to create netting agreements with flexible definition of business rules and association of trading partners. It executes an automated netting process so that customers can reduce their debt obligations without incurring bank charges by creating unnecessary payments and receipts. Scope Even though this paper is written to cover the technical aspects of Netting. it will also provide a functional insight of this functionality. This paper is written with the intention of helping implementers and those supporting the application to under how Netting works. 3 .
you set up the agreement and the rules associated with it in eBusiness Suite and you can then start to net AP and AR transactions. AP/AR netting allows you to pay the net difference between how much you owe the supplier and how much he owes you. For example. 4 . Below is a conceptual diagram of how this works. If you have a customer who is also your supplier. After establishing a netting agreement with such trading partners. then rather than him paying you and then you paying him.AP/AR Netting – A Technical Insight What is AP/AR Netting? Oracle AP/AR Netting allows you to net your Payables invoice balances against your Receivables invoice balances for those Customers who are also your Suppliers.
AP/AP Netting has become "core" functionality and is the only netting solution available. there were several netting solutions in the eBusiness Suite: Contra-Charging This Globalization feature was originally a solution for Germany in Release 11.AP/AR Netting – A Technical Insight How it worked before R12? Prior to Release 12. which means Contra-Charging and US Federal Financials Netting are all replaced by this solution. In Release 12. but then it became a Regional Globalization feature in Release 11i. 5 . Each of those features has a migration path to the Release 12 Netting feature. US Federal Financials Netting This solution specifically addresses the needs of US requirements.
We will be discussing in depth as you scroll down. which is attached to this white paper.AP/AR Netting – A Technical Insight How does it work in R12? Here is the conceptual diagram behind the Netting Engine. 6 . I also recommend that you walk through the additional simulation sheet.
AP/AR Netting – A Technical Insight What are the Setup Steps involved? In Brief • • • • • Netting Bank Account Receivables System Options Netting batch approver Chargeable Subcontracting Netting Agreement In Detail • Netting Bank Account Create a Bank Account. The contact must be setup with an email address. Assign this bank account to the seeded Receivables receipt class “AP/AR Netting” • Receivables System Options Check the “Allow payment of unrelated transactions” checkbox under the Receivables system options. if you want to create netting agreements across multiple unrelated customers. Set the Netting Account flag to yes. • Netting batch approver If approval is required for a netting agreement. the approver must be set up as a contact for the trading partner (Customer / Supplier). 7 . which can be used by the netting process.
No – This will select invoices that were matched to purchase orders without outsourced assemblies by the netting process.AP/AR Netting – A Technical Insight • Chargeable Subcontracting When the Profile option “Chargeable Subcontracting Enabled” is set to: Yes – This will select invoices that were matched to purchase orders with outsourced assemblies by the netting process. D (disregard) – This means all eligible invoices will be selected for netting irrespective of whether or not they are matched to purchase orders. including screenshots can be found in the attached simulation sheet. Note: The complete setup steps. 8 . • Netting Agreement Create netting agreement to setup the rules that will decide which transactions are selected for netting and how they are ordered and processed once selected.
In the following sections. we will discuss what criteria are used for selecting AP Invoices and AR Transactions.AP/AR Netting – A Technical Insight How Netting batches are created? Let’s have a look at how Netting batches are created. 9 . The following diagram will depict how invoices are ordered and selected for creating a netting batch. and how they are ordered for netting.
• Invoices must be approved • Invoices must not be on Hold • Invoices that have already been included in a batch that is not yet in status ‘Complete’ are not included. • Only invoices with the selected invoice types in the agreement are included.Checkrun_id Column for the selected invoices o The same Checkrun_id value is populated in FUN_NET_BATCHES. • AR payment schedule date should be between the Agreement Start Date and end date. • Transactions must be complete • Only Transactions for customer and customer sites (if specified) in the agreement are selected. • Operating unit of the transactions must be the same as the operating unit of the batch. 10 . • Only transactions with the selected transaction types in the agreement are included.Checkrun_Id for the given batch Criteria used for Selecting AR Transactions: • AR Payment Schedule due date must be less than or equal to transaction date mentioned in Netting. • AP scheduled payment due date must be between the Netting Agreement Start Date and End Date. • Operating unit of the invoices must be the same as the operating unit of the batch.AP/AR Netting – A Technical Insight Criteria used for Selecting AP Invoices: • Transaction due date must be less than or equal to AP scheduled payment due date. • Locking AP invoices: o Selected AP invoices are locked by populating AP_PAYMENT_SCHEDULES. • Only invoices for the Supplier and supplier sites (if specified) in the agreement are selected.
• They are then ordered by Netting order rule selected in the agreement.PREPAYMENT_FLAG = ‘N’) Criteria used for ordering the transactions: • Invoices and transactions are first ordered by Supplier and Customer priority associated in the agreement. • The priority is important as this determines which transaction/invoice will be netted first. 11 . • The Receipt method associated with the transaction should not have a Payment_type_code = ‘CREDIT_CARD’ • Transaction must not be in dispute • Payment schedule status must be open • Transaction must not be a prepayment (RA_CUSTOMER_TRX.AP/AR Netting – A Technical Insight • Transactions that have already been included in a batch that is not yet in status complete will not be included in the new batch.
then the batch is set to status ‘SUSPENDED’ and the AP invoices are unlocked. if approval is required. • If the current date has passed the batch settlement date. it is sent for approval.AP/AR Netting – A Technical Insight What happens when we submit a Netting Batch? The following validations are performed when a netting batch is submitted. It is also possible that the batch may have been modified. If the validation fails then the batch is set to status ‘ERROR’ and the AP invoices are unlocked. 12 . • AP and AR balances for transactions are validated again. else the settle Netting batch process is initiated. as there might be a time lag between when the batch is created and when the batch is submitted. • If the batch has passed all validations.
AR. then the batch is set to status ‘ERROR’ and an error message is displayed in the Report log.AP/AR Netting – A Technical Insight How Netting Batches are settled? • Validation o The process starts off with the validation of AR transactions. the batch is set to Cancelled Status. and AP periods are open for the batch settlement date. 13 . • Derive Netting Bank Details o Netting bank details like bank account name.bank_account_id for the given batch. bank account owner and number are derived based on the FUN_AGREEMENTS. This is necessary as the AR transactions are not locked when the netting batch is created and therefore there is a possibility that the AR transaction may have been modified since it was included in the netting batch o If any validations fail. If not. o Validations are also performed to check whether the GL.
AP/AR Netting – A Technical Insight • Settle AP invoices o Invoices in each batch are grouped by vendor. 14 .Check_ID • Settle AR transactions o AR receipt APIs are called to create and apply the receipts. vendor site and invoice currency code. o AP payment APIs are called to process the payments.RECEIPT_ID o If all processing goes through successfully then the batch is set to COMPLETE and the AP invoices and netting agreements are unlocked. These APIs return the check id which is updated in FUN_NET_AP_INVS_ALL. These APIs return the receipt id which is updated in FUN_NET_AR_TXNS.
Batch has been reversed User approves batch requiring approval Netting process completed for transactions User chooses to reverse the batch Batch has been reversed 15 . Review batch option is set to NO and approval is required.AP/AR Netting – A Technical Insight What are various Netting Batch Statuses? Netting Batch Status RUNNING SELECTED ERROR SUSPENDED CLEARING SUBMITTED REJECTED APPROVED COMPLETE REVERSING REVERSED Event User creates the netting batch Review Batch option is set to YES Error encountered while validating or selecting transactions Current date has gone passed the batch settlement date Review batch option is set to NO but no approval is required.
AP/AR Netting – A Technical Insight What tables are involved? AP/AR Netting engine is owned by ‘Oracle Financials Common Modules’ (FUN) Product. All tables behind the scene will be stored under the FUN schema. Information related to Netting is stored in the following tables: Table Name Table Purpose FUN_NET_AR_TRX_TYPES_ALL Netting Agreement – Transaction types of AR FUN_NET_AP_INV_TYPES_ALL Netting Agreement – Transaction types of AP FUN_NET_AGREEMENTS_ALL Netting Agreement – Details FUN_NET_SUPPLIERS_ALL Netting Agreement – Supplier Details FUN_NET_CUSTOMERS_ALL Netting Agreement – Customer Details FUN_NET_BATCHES_ALL Netting Batch – Details FUN_NET_AR_TXNS_ALL Netting Batch – Details of AR transactions FUN_NET_AP_INVS_AL Netting Batch – Details of AP invoices 16 .
AP/AR Netting – A Technical Insight How these tables are linked? Here is the Entity Relationship Diagram (ERD) for AP/AR Netting.. 17 .
for any purpose. 18 .7200 www.oracle. electronic or mechanical. Information Source Oracle® Payables User's Guide Release 12 Part No. This document is not warranted to be error-free. whether expressed orally or implied in law. This document is provided for information purposes only and the contents hereof are subject to change without notice.650.506. CA 94065 U. without our prior written permission.506. Oracle is a registered trademark of Oracle Corporation and/or its affiliates.7000 Fax: +1. including implied warranties and conditions of merchantability or fitness for a particular purpose.650. It executes an automated netting process so that customers can reduce their debt obligations without incurring bank charges by creating unnecessary payments and receipts. B25454-03 AP/AR Netting – A Technical Insight August 2008 Contributor: Shanmuga Senapathy Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores. nor subject to any other warranties or conditions. Worldwide Inquiries: Phone: +1.AP/AR Netting – A Technical Insight Summary The Oracle AP/AR Netting feature provides a foundation to create netting agreements with flexible definition of business rules and association of trading partners. All rights reserved.A.S. Oracle. Other names may be trademarks of their respective owners.com Copyright © 2008. This document may not be reproduced or transmitted in any form or by any means. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document.