Professional Documents
Culture Documents
Whitepaper AutoAccounting in Receivables PDF
Whitepaper AutoAccounting in Receivables PDF
Oracle Receivables
AutoAccounting White Paper
05/24/2002
Last Updated:
Version:
1.0
Contents
Overview.................................................................................................................................. 1
Autoaccounting Setup..................................................................................................... 2
Types Of Accounts used in Autoaccounting ............................................................... 3
Autoaccounting Segments Tables or Constants ....................................................... 4
Example............................................................................................................................. 6
Freight Processing ........................................................................................................... 7
Credit Memo Processing................................................................................................. 8
Validation of Accounts.................................................................................................... 9
Troubleshooting............................................................................................................. 10
ii
Overview
This document will discuss the setup of Autoaccounting and how the various General
Ledger accounts are derived in Receivables.
Autoaccounting is used by Oracle Receivables to derive the segment values for the GL
accounts. Autoaccounting is called when creating transactions manually or through
Autoinvoice. It is used for Invoices, Credit Memos and Debit Memos. Autoaccounting is
the process that builds the full accounting flexfield account for the various GL accounts
used in Receivables.
Types of Accounts:
Receivable
Revenue
Freight
Tax
Unbilled Receivable
Unearned Revenue
Autoinvoice Clearing
Transaction Type
Salesreps
Standard lines
Taxes
The key to deriving full account combinations is to ensure the tables you base your
segments on contain GL accounts and that the account combination that Autoaccounting
derives will pass validation.
Autoaccounting Setup
The number of segments you define in your GL Accounting Flexfield structure will
match the number of segments that you define in your Autoaccounting setup. The
number of segments is based on your specific business needs and must be determined at
setup time. Once you set up your Accounting Flexfield structure, the number of segments
cannot be changed. You might want to set up an extra segment for future use and base it
on a constant.
In the Autoaccounting setup, you may change the values the segments are based on after
implementation. The setup can be changed to look at a different table or to be a constant.
But keep in mind this will not change any of your existing transactions unless you
manually make a change to the transactions via the form.
To set up your Autoaccounting,
Menu: Setup > Transactions > Autoaccounting.
Here is where you would create each autoaccounting segment and pick either a table or
constant. The Segments should match your GL Accounting Flexfield Structure. This
should be setup first. To set up your GL Accounting Flexfield Structure,
Menu: Setup > Financials > Flexfields > Key > Segments.
Query on Flexfield Title = Accounting Flexfield
When you set up your Accounting Flexfield you must enable and display all the
segments.
The following table is one example of an account setup in autoaccounting. It contains
three segments. The first segment of the account is Company and is a constant of 00, the
second segment is Account and is based on Transaction Type, the third segment is
Department and is based on Standard Lines.
Segment
Table
Company
Account
Department
Constant
00
Transaction Type
Standard Lines
Transaction Types - This will take the account segment from the Transaction
type that is populated on the Transaction. When you choose this table, make
sure to enter the corresponding accounts for you transaction types.
To set these up Menu: Setup > Transactions > Transaction Types and enter
valid accounts for Receivable, Revenue, Freight, Tax, Unbilled Receivable and
Unearned Revenue.
Salesreps This will take the account segment from the Salesperson attached to
your transaction. When you choose this table, make sure to enter the
corresponding revenue and receivable accounts in the Salesperson form.
To set these up Menu: Setup > Transactions > Salespersons. When you query
the Salesperson, the accounts can be seen in the Receivables tab.
When you create your transaction if you do not have a salesperson attached your
autoaccounting will fail if your autoaccounting is based on salesperson.
Note: A Salesperson will only have a receivable and revenue accounts.
If you choose Salesperson for your Autoinvoice Clearing, Tax or Revenue
accounts, then autoaccounting will use the Revenue account associated with the
Salesperson.
If you choose Salesperson for your Unbilled Receivable account, then
autoaccounting will use the Receivable account associated with the Salesperson.
Standard Lines This will take the account segment from the inventory item or
the standard memo line item. This account cannot be used for the Receivable
account. For the other accounts the revenue account of the inventory item or
sales account from the standard memo line will be used for the account segment.
To set up the sales accounts for an inventory item,
Menu: Setup > Transactions > Items > Define Items > Invoicing Tab.
To set up the revenue accounts for the standard memo line,
Menu: Setup > Transactions > Memo Lines
Note: For the unbilled receivable account and unearned revenue accounts, the
revenue account that is setup in your system options will be used for standard
lines.
Taxes This will take the account segment from the tax code or in the case of a
location based tax code, the tax location.
First a default tax code is set up in the System Options form.
Menu: Setup > System > System Options > Accounting Tab.
This default tax account will be used to derive the account segment if no tax
account is assigned to the tax code or tax location.
If a tax code is used on a Transaction, the account segment will be derived from
the account that you enter on the tax code form.
Menu: Setup > Tax > Codes > More Tab.
If a location based tax code is used on a Transaction, the account segment will be
derived from the account on the Tax Location and Rates form.
Menu: Setup > Tax > Locations.
The ship-to address of the transaction will be used to determine which location
to pull the tax account from the Tax Location and Rates window. The tax account
flexfield qualifier is used to determine which ship-to location (state, county or
city) to pull the segment from.
It is a recommended accounting practice to ensure that the sales tax liability
owed to each state is uniquely identifiable within the General Ledger. You would
need to set up a different tax account for each state. To accomplish this you
would need to assign the tax account flexfield qualifier to the state segment. This
is the default for the seeded structures of State, County, City and State, City
structures. If you set up a customized one, please sure to check the tax account
flexfield qualifier on the state segment.
To set up the tax account flexfield qualifier.
Menu: Setup > Financials > Flexfields > Key > Segments.
Query on Flexfield Title = Sales Tax Location Flexfield
Click on the structure that is assigned in your System Options. (Ex. State,
County, City)
Click on Segments. Click on State. Click on Flexfield Qualifiers. You should see
the enabled box checked for Tax Account.
Bill-to Site - This will take the account segment from the transactions bill-to
customer location. Make sure the bill-to location for the customer has accounts
define. Navigate: Customers > Standard >
Example
First determine the set of your Accounting Flexfield.
Menu: Setup > Financials > Flexfields > Key > Segments.
Query on Flexfield Title = Accounting Flexfield
Note the number of segments that are defined.
In this case we have 3 segments, Company , Account and Department.
Then, setup your autoaccounting to be based on three segments.
Menu: Setup > Transactions > AutoAccounting.
Lets set up the Revenue Account as an example:
For the Company Segment , enter a Constant value of 01. For the Account Segment enter
the table name of Transaction Type and for the Department Segment enter the table name
of Standard Lines.
Note: The size of the segment will be determined by the maximum size that you set up in
the value set for the segment when you define your Accounting Flexfield. In this case
lets assume that it is a maximum size of 2.
Autoaccounting will determine the revenue account on your invoices as follows:
For the first segment , it is a constant of 00.
For the second segment, it is based on the Transaction Type.
Menu: Setup > Tranasactions > Transaction Types
Query on the Transaction type that you are using on your invoice.
Note the Revenue account. In this case 01-04-78. That means the second segment of 04
will be used.
For the third segment , it is based on Standard Lines.
If the invoice contains an item that you have defined.
Menu: Setup > Transactions > Items > Define Items
Query your inventory item. Go to the invoicing tab and note the Sales Account. In this
case 02-04-08. This means that the third segment of 08 will be used.
Autoaccounting would build the following account for revenue on your invoice:
00-04-08.
The account or code combination of 00-04-06 must be valid in GL and must be enabled
and postable.
Freight Processing
Freight and Standard Lines:
Menu: Setup-->Transactions-->Autoaccounting, Freight
When freight autoaccounting is based on standard lines it will only use this when freight
is entered against a line. An error will be raised if freight is entered at the header level.
When you setup freight's autoaccounting as standard lines it builds the freight revenue
account from the item on the line. If the freight is entered at the header level
autoaccounting will not be able to build the account since it is not attached to a line. You
will have to manually enter the account or change your autoaccounting setup for freight.
If you are using autoinvoice and you are importing freight at the header level then you
cannot setup your autoaccounting to derive the freight based on standard lines.
If the transaction has a line type of LINE and the inventory item of type freight FRT,
then Autoaccounting will use the accounts from the freight type of autoaccounting rather
than the revenue account.
Freight and Revenue Account:
Menu: Setup-->Transactions-->Autoaccounting, Revenue
When you base your autoaccounting on Standard Lines for the Revenue account,
normally the revenue account is pulled from the sales account of the item. However
when this is freight the account is pulled from the Freight account that you setup in
autoaccounting.
Profile Options
Tax: Invoice Freight as Revenue
If you are using Oracle Order Management, this profile option determines how freight
amounts are passed to Receivables during AutoInvoice. If this option is Yes, a line item of
type 'LINE' will be created for the freight amount. When Receivables prints the invoice,
the freight amount will be printed last with the invoice lines under the heading 'Freight.'
Receivables will use the Freight AutoAccounting rule to determine the freight amount. If
this option is No, Receivables will create a line item on the invoice using the inventory
item name.
Validation of Accounts
Once the code combination is built based on your autoaccounting setup, it is then
validated to ensure it is a valid code combination. Combinations are all your segments
combined together, such as Company, Account and Department.
Autoaccounting will check the code combination and ensure that it is a valid
combination, has not been disabled and is within the start and end dates if any. This
combination must exist in GL and be enabled and postable.
The code combination is stored internally as a CCID on the Receivable and GL tables.
The General Ledger account number that is displayed in the forms or on the reports is
the exploded value from the Key Accounting flexfield. This value is stored in the tables
as the code_combination_id from the GL_CODE_COMBINATIONS table.
You have to set up the code combinations in GL first, unless you are using dynamic
insertion. Menu: Setup > GL Account Combinations
In order to use the account in Receivables you would need to check the enabled box and
the allow posting box.
In this case, you would set up validation rules. These validation rules such as cross
validation and security must be passed in order for the code combination to be valid.
Dynamic insertion only refers to the dynamic creation of valid combinations of values; it
must still be a valid combination in GL.
Dynamic insertion is an Accounting Flexfield feature where by you can allow users to
create new combinations upon entering a flexfield combination. For every new flexfield
combination entered, a unique code combination id is also created which is used to enter
and retrieve data. You may enable or disable this Accounting Flexfield feature at any
time, on the Accounting Flexfield form.
Menu: Setup > Financials > Flexfields > Key > Segments.
Query on Flexfield Title = Accounting Flexfield
Allow Dynamic Inserts is a check box on this form.
Troubleshooting
Please correct the account assignment or Invalid account assignment messages:
When Autoinvoice or manual transactions give these errors, it will show the account
with the missing segment(s) either on the Autoinvoice Validation Report or in the form.
Verify the following:
Menu: Setup > Transactions > Autoaccounting, Query up the account in question and
note what the missing segment(s) are based on.
If it is based on Transaction type:
Menu: Setup > Transaction > Transaction Types, verify that all accounts are populated.
If it is based on Salesperson:
Menu: Setup > Transactions > Salespersons, verify that all accounts are populated.
If it is based on Standard Lines: For an Inventory Item,
Menu: Setup > Transactions > Items > Inventory Items, and verify that the 'Sales
Account' is populated in the Invoicing tab.
For a Memo Line,
Menu: Setup > Transactions >Memo Lines, and make sure that 'Revenue Account' is
populated.
If it is based on Taxes:
Menu: Setup > Tax > Codes and verify that account is populated in 'Tax' column under
the 'More' Tab.
If the tax code is location based tax, Menu: Setup > Tax > Locations and verify that the
ship-to location has a valid tax account. Check the tax account flexfield qualifier to
determine what segment to check, the default for State, County, City would be the State
segment. Make sure this is checked.
Naviagate to Setup > Financials > Flexfields > Key > Segments.
Query on Flexfield Title = Sales Tax Location Flexfield
Click on the structure that is assigned in your System Options. (Ex. State,County,City)
Click on Segments. Click on State. Click on Flexfield Qualifiers. You should see the
enabled box checked for Tax Account.
Once you verify that all these accounts are setup correctly, the code combination that
autoaccounting creates must be valid in GL.
Menu: Setup > GL Account Combinations
In order to use the account in Receivables you would need to check the enabled box and
the allow posting box.
10
11