Accounting 5 Step Guide
Accounting 5 Step Guide
Conventions
The following conventions are used in this document: OFBiz applications and component names are in bold type. For example, the OFBiz Accounting Manager application and the OFBiz Content Component. When talking about OFBiz features, where such features have a name, the name is capitalized. For example, OFBiz Components, Events and Services. These references are to specific OFBiz architectural features and/or elements. File names and directory (folders for Windows users) names and locations are italicized. For example, controller.xml. $OFBIZ_HOME is a reference to the OFBiz installation directory. For example, if OFBiz is installed in /opt/applications/ofbiz-12345, $OFBIZ_HOME=/opt/applications/ ofbiz-12345. In some cases the ~ character is used to indicate a relative to $OFBIZ_ HOME directory or file location. For example ~/framework/x is the same as $OFBIZ_ HOME/framework/x OFBiz entity names are presented in the same camel case format as in the code. For example, the database table called BILLING_ACCOUNT is written as the entity BillingAccount. Command-line commands are presented as follows:
ant run-install
The information in this article is distributed on an as is basis without any warranty. Although every effort has been made to ensure accuracy, the author shall have no liability to any person or entity with respect to any loss or damage caused by or alleged to be caused directly or indirectly by the information contained in this work.
Contents
About The Author.............................................................................................................2 Conventions. .....................................................................................................................2 Introduction. ......................................................................................................................4 What is Accounting?........................................................................................................4 Basic Accounting Concepts Accounting Transactions 4 5
The 5 Steps to Getting Started....................................................................................6 Step 1: Understand Your Business Accounting Needs................................................6 Step 2: Decide How To Use OFBiz Accounting ............................................................6 Step 3: Setup your Basic Accounting Information. ......................................................7 Step 4: Setup your Detailed Accounting Information..................................................9 Step 5: Test Your Accounting Setup........................................................................... 12 Next Steps...................................................................................................................... 16
Introduction
OFBiz Accounting Manager application is a completely integrated accounting application that forms the core of OFBiz ERP functionality. It contains the key features you need to manage the accounting function for your business. Key features include:
General Ledger Accounts Receiveable Accounts Payable Agreements Multi Currency Billing Accounts Fixed Assets
What is Accounting?
Accounting is the as the systematic recording, reporting, and analysis of the financial transactions for a business. A business generally exists to make money it is important to be able to understand where money is spent, received and used by the business. Basic Accounting Concepts In order to keep track of how your business is doing financially, you need to make sure that you setup the accounts in a way that you understand. The first thing that needs to be defined is the General Ledger. The General Ledger is a list of accounts you use to keep the accounting records for your business. The account itself will just be a description of what the it will be used to track. Examples of General Ledger accounts include the following:
Company Cheque Account Company Payroll Account Income Received from Product Sales Postage Charges Taxes Paid
5 | What is Accounting
Once the list of accounts have been defined, they need to be put together in a hierarchy that keeps the different types of account together. This hierarchy is called the Chart of Accounts. A chart of accounts is split into 5 main types of account. These are:
Assets Liabilities Expenses Income Equity
These types are like categories that allow you to keep the same types of account together. The categories are standard and form the basis of any chart of accounts anywhere in the world. An example of some Asset General Ledger account descriptions could be:
Company Cheque Account Cash Customer Credit Card Payments Received
There will always be regional differences in the way accounts are named or used and the rules to be applied. For example everyone pays taxes but the name of the tax, the type of tax and the way it is calculated are all reliant on what country you live in and the rules that apply. Accounting Transactions Accounting transactions are made up of two entries a debit and a credit (i.e. a negative value and a positive value) that balance to zero. The main principle here is that money comes from somewhere and has to go to somewhere. Example: If you take money out of your bank account to pay a bill, the simple accounting transaction for this could be: Cheque Account Electricity Bill -$100 (debit / negative value) +$100 (credit / positive value)
$100 is taken out of your cheque account. $100 is paid to pay off the Electricity Bill. And -100+100 = 0, so our transaction balances. If a transaction does not balance to zero then this means there is an error.
ote: The sequence of your customer payment is important. Does your customer need to pay you first before the product is shipped? Or Do you dispatch products and allow the customer a certain number of days in which to pay?
Company address and contact information is setup using Party Manager application as shown in the following screen shot:
ote: In the OFBiz world, a company is part of a larger data model that defines organizations such as a company and a individual person as a Party. Hence the use of the Party Manager application to handle contact details.
Other basic accounting setup is done using Accounting Manager application as shown:
ote: If you need to change the master template, the accounts can be easily renamed or you can load in your own structure and descriptions.
This means that if you want to use an account that does not exist then it needs be created first in the master template (global chart of accounts) before it can be selected and linked to your chart of accounts. Once the chart of account has been defined we then need to setup rules about where transactions are generated. This is done using the OFBiz GL Account Defaults shown in the following screen shot:
GL Account Defaults
Additional setup includes a an error journal (also called a suspense account). This is set up by the system to store any transactions that fall into error.
ote that demo accounting setup is for the payment to be received first before the product is shipped and this is common practice for e-commerce stores.
You can use the Order Manager application to confirm that payment has been received.
Receiving A Payment As Seen From The Order Manager Payment Information Screen
ote: In OFBiz receiving money for an order automatically triggers an accounting transaction. The transaction created is based on the rules in your accounting setup.
To view the transaction created, navigate to Organisation GL Settings / Accounting / Accounting Transactions and click Find. Click on the Acctng Trans Id to view the transaction details.
ote: The OFBiz demo setup uses the accounts Undeposited receipts and Accounts Recieviable. Accounts Receivable is the name of a general ledger account commonly used to track customers that owe you money.
The transaction tells us that DemoCustomer has sent a payment (eg. a cheque) that we havent yet paid into our company bank account, so the payment is not yet been deposited into our account.
ote: In later versions of OFBiz additional functionality has been added to print deposit slips that can be used to deposit cheques to the bank.
Use the Order Manager application to Quick Ship Entire Order as shown here:
In OFBiz shipping an order also automatically triggers an accounting transaction. To view the transaction created, navigate to Organisation GL Settings / Accounting / Accounting Transactions and click on the Find button to view additional transactions as shown here:
This list of transactions reflects the process of taking products from inventory, shipping the order and then invoicing the customer. Finally using the Party Manager you can quickly see a summary of the accounting details linked to DemoCustomer's order. Navigate to Party Manager application and find the DemoCustomer. Click on the Fin.History tab to reveal the web page shown here:
Next Steps
We hope that this has given you a high level overview of some accounting principles and a quick look at how the OFBiz e-commerce demonstration seamlessly integrates with many of the OFBiz accounting features and functions. Look out for our more OFBiz accounting information on myofbiz.com and our detailed guide that will take you through the accounting setup step by step. We are always happy to receive feedback on this document. Please send your feedback to [email protected]