Accounting setup is used to set up the accounting structure which controls transaction processing across Oracle Financial Applications . With Accounting setup manager we can define and maintain the accounting setup for Legal Entities,

              Operating Units,
              Subledger Accounting,
              Intercompany and Intracompany Balancing, and
              Reporting Currencies
Responsibility:   General Ledger
Navigation:       Setup : Financials : Accounting Setup Manager → Accounting Setups
Click on Create Accounting setup to setup the Accounting structure.
There are three steps in Accounting setup process.
1. Assign Legal Entities: 
Here we may create or assign existing LE to the accounting structure. We need not assign legal entity if there is no legal entity context.

If legal entities are involved, we need to define separate accounting setup for each legal entity, which require it’s own primary ledger. So ledgers have to be defined for each legal entity separately.

The need for other legal entity depends on Chart of Accounts, calendar, Currency, Accounting Method and Ledger processing options. If a legal entity requires any one of the above attributes to be different, a separate primary ledger is required.

Chart of accounts refers to the number of segments that a Chart of accounts structure consistes of.
Calendar refers to the type of accounting calendar that a legal entity uses. Ex: Monthly or Quarterly Calendar.
Currency refers to the primary currency that a legal entity belongs to.
Accounting Method refers to the subledger accounting methods based on the different accounting standards that a legal entity operates.
Ledger Options refers to the options that control how journals and transactiones are processed for a ledger.
Ex: Journal approval, Suspense account, Average balances, Intracompany balancing option, etc.

If we assign Legal entities to the accounting structure, we must assign specific balancing segment values to legal entities to identify and secure transactions by legal entity.

2. Define Accounting Representations: 
Here we need to define Primary and Secondary ledgers to make the Accounting representation.

Primary Ledgers are mandatory. We need to define the primary ledger for each legal entity and accounting setup.

Secondary ledgers are optional.  Secondary ledgers have to be assigned to the accounting setup or primary ledger to maintain multiple accounting representations for the same legal entity. A secondary ledger can differ in one or more of the following attributes from primary ledger.
Chart of Accounts,
Accounting Convention

Secondary ledgers can be maintained at different levels such as:
Subledger level
Journal level
Balance level

In this step we can map the ledgers to  chart of accounts and assign currency, calendar, subledger accounting method and reporting currency.

Reporting currencies have to be assigned when you want diferent currency representation to primary or secondary ledgers.  Reporting currencies must share same chart of accounts,calendar,accounting method and ledger processing options as their source ledger. Reporting currencies can be assigned at different levels.
Subledger level
Journal level
Balance level

We can not use subledger level reporting currencies for secondary ledgers.

3. Save Accounting structure: This step is to review and complete the accounting setup.
Purchasing provides you the features you need to satisfy the following purchasing needs. You should be able to:
  • Review all of your purchases with your suppliers to negotiate better discounts
  • Create purchase orders simply by entering a supplier and item details
  • Create standard purchase orders and blanket releases from both on-line and paper requisitions
  • Quickly and effectively manage procurement in a global business environment using global agreements that can be shared across the entire enterprise
  • Create accurate and detailed accounting information so that you charge purchases to the appropriate departments
  • Check your funds availability while creating purchase orders
  • Review the status and history of your purchase orders at any time for all the information you need
  • Communicate purchase orders to suppliers flexibly using a number of options
  • Inform your suppliers of your shipment schedule requirements
  • Record supplier acceptances of your purchase orders. You always know whether your suppliers have received and accepted your purchase order terms and conditions
  • Create your purchase orders by providing a quantity and price for each item you are ordering. Alternatively, you should also be able to create your purchase order simply by providing an amount if you are ordering a service that you cannot break down by price and quantity
  • Create purchase orders that leverage flexible pricing structures or implement complex pricing from Oracle Advanced Pricing

Purchase Order Types

Purchasing provides the following purchase order types: Standard Purchase Order, Planned Purchase Order, Blanket Purchase Agreement, and Contract Purchase Agreement. You can use the Document Name field in the Document Types window to change the names of these documents. For example, if you enter Regular Purchase Order in the Document Name field for the Standard Purchase Order type, your choices in the Type field in the Purchase Orders window will be Regular Purchase Order, Planned Purchase Order, Blanket Purchase Agreement, and Contract Purchase Agreement.

Standard Purchase Orders

You generally create standard purchase orders for one-time purchase of various items. You create standard purchase orders when you know the details of the goods or services you require, estimated costs, quantities, delivery schedules, and accounting distributions. If you use encumbrance accounting, the purchase order may be encumbered since the required information is known.

Blanket Purchase Agreements

You create blanket purchase agreements when you know the detail of the goods or services you plan to buy from a specific supplier in a period, but you do not yet know the detail of your delivery schedules. You can use blanket purchase agreements to specify negotiated prices for your items before actually purchasing them. Blanket purchase agreements can be created for a single organization or to be shared by different business units of your organization (global agreements). You can encumber funds for a blanket purchase agreement.

Global Blanket Agreements

You may need to negotiate based on an enterprises’ total global purchase volume to enable centralizing the buying activity across a broad and sometimes diverse set of businesses. Using global agreements (a special type of blanket purchase agreement), buyers can negotiate enterprise-wide pricing, business by business, then execute and manage those agreements in one central shared environment. Enterprise organizations can then access the agreement to create purchase orders that leverage pre-negotiated prices and terms. You can encumber funds for a global agreement.

Blanket Releases

You can issue a blanket release against a blanket purchase agreement to place the actual order (as long as the release is within the blanket agreement effectivity dates). If you use encumbrance accounting, you can encumber each release.

Contract Purchase Agreements

You create contract purchase agreements with your suppliers to agree on specific terms and conditions without indicating the goods and services that you will be purchasing. You can later issue standard purchase orders referencing your contracts, and you can encumber these purchase orders if you use encumbrance accounting.

Global Contract Agreements

You can use global contract agreeements (a special type of contract purchase agreement) to centralize a supplier relationship. Buyers throughout the enterprise can then leverage this relationship by referencing this global contract agreement in your standard purchase orders.

Planned Purchase Orders

A planned purchase order is a long-term agreement committing to buy items or services from a single source. You must specify tentative delivery schedules and all details for goods or services that you want to buy, including charge account, quantities, and estimated cost.

Scheduled Releases

You can issue scheduled releases against a planned purchase order to place the actual orders. If you use encumbrance accounting, you can use the planned purchase order to reserve funds for long term agreements. You can also change the accounting distributions on each release and the system will reverse the encumbrance for the planned purchase order and create a new encumbrance for the release.

Purchase Order Types Summary

  Standard Purchase Order Planned Purchase Order Blanket Purchase Agreement Contract Purchase Agreement
Terms and Conditions Known Yes Yes Yes Yes
Goods or Services Known Yes Yes Yes No
Pricing Known Yes Yes Maybe No
Quantity Known Yes Yes No No
Account Distributions Known Yes Yes No No
Delivery Schedule Known Yes Maybe No No
Can Be Encumbered Yes Yes Yes No
Can Encumber Releases N/A Yes Yes N/A

Grouping Rules group Revenue and Credit transactions into  Invoices, Credit memos and Debit Memos. Autoinvoice program uses the Grouping Rules to group similar sales orders into a single invoice. We need to assign matching attributes while defining the Grouping Rules. These attributes include mandatory and optional parameters. Mandatory parameters are pre-defined by Oracle, where as optional attributes are optional and can be assigned based on the business requirements. Following is the list of all Mandatory and Optional attributes which can be assigned to the Grouping Rules.

Mandatory Attributes:

Optional Attributes

The following Ship-To fields were mandatory grouping attributes in release 11i, but are optional in release 12 ORIG_SYSTEM_SHIP_CUSTOMER_ID
This is because ship to information is now stored at the line level in R12. Therefore a single invoice could have different ship to information for each line.
Autoinvoice program matches all the mandatory parameters and group the transactions into invoices. If all the mandatory parameters are matched for two or more similar transactions, they will fall in a same invoice. If we define any optional attribute, Autoinvoice program matches optional attributes in addition to the mandatory attributes to group the transactions.

For Example: SALES_ORDER is the optional attribute assigned to a grouping rule, there Autoinvoice program matches all mandatory attributes + Sales Order for the transactions. For any two or more transactions, if all the mandatory attributes and Sales Order(optional attribute) are matching, only one invoice will be created for those transactions.

If your Grouping rule doesn’t include Sales Order and Ship To fields in Optional attributes, similar sales orders with different ship-to addresses but same bill to will be grouped into one invoice and AR transaction form will not show any value in Ship-To address as it can not determine which ship-to value to be picked from multiple sales orders.
Steps to create a Grouping Rule:

Responsibility: Receivables Manager
Navigation: Setup -> Transactions -> Auto Invoice -> Grouping Rules

Select Line Ordering Rules if you are using any. Optional grouping characteristics are optional. If we are not giving any optional Grouping Characteristics, Autoinvoice will only matches mandatory characteristics. We can assign Optional characteristics for Invoices, Credit Memos and Debit Memos.

If  we want to assign optional attributes for all invoices, credit memos and debit memos, First assign optional characteristics for invoice class and the place the cursor on Class Invoices ad use Down Arrow to define  attributes for other classes(Credit Memo and Debit Memo) as well.

If there is no value provided for Transaction Date, the Autoinvoice program populates the Transaction date for Auto Invoices based several facors such as Derive Date option enabled or Disabled for Transaction Source, few colums from RA_INTERFACE_LINES_ALL, Invoice rules and Accounting Rules defind or not, and the default value provided in the parameters of Autoinvoice program.

Let us see how Autoinvoice program derives Transaction date based on Derive Date option for Transaction source and populted columns from RA_INTERFACE_LINES_ALL such as GL_DATE, SHIP_DATE_ACTUAL and SALES_ORDER_DATE.

Case 1: If the Derive Date option is enabled for Transaction Source, Autoinvoice program uses the following order to create Transaction Date.
4. DEFAULT_DATE (Provided in parameters of Autoinvoice program, which is mandatory)

Case2: If the Derive Date check box is disabled for Transaction Source, Autoinvoice program uses following order to populated Transaction Date.
2. DEFAULT_DATE (Provided in parameters of Autoinvoice program, which is mandatory)