Accounting (00045)
The purpose of this lesson is to help you understand material and service accounting practices in general as well as how iDempiere implements global accounting.Accounting - Primer
See notes below.- Shareholder Contributions (Cr)
- Retained Earnings (Dr/Cr)
- Current Earnings (Dr/Cr)
- Shareholder Distributions (Dr)
Accounting - Primer Live Discussion
- Account Types
- Balance Sheet
- Income Statements
- Dr and Cr examples
- Trial Balance
Accounting - Major Considerations and Decisions before Creating your Client
The follow is a list of the "major" Accounting decisions you need to make while learning in the GardenWorld and before you create your own client for your business.- Accounting Schema =>Costing Method - Standard, Average Invoice, and Average PO are by far the most popular.
- Accounting Schema =>Costing Level - "Client" is the default. This means that any given product will have one cost for all lots and all organizations. Costing Level = "Organization" means that two organizations have have two different costs for the same product. Costing Level = "Batch/Lot" means that each Attribute Set Value (lot) received will maintain its own cost.
- Accounting Schema => Dimensions - the defaults are probably OK. Some people add "Sales Region" and/or "Activity". Activity is often used and renamed to Department.
- Account Element=>Chart of Accounts (COA) - Will you be using the iDempiere default chart of accounts? If no, please be aware that the iDempiere default COA is more complicated than your old COA. You will need to merge the two.
Accounting - Accounting Schema
Accounting - Material Management Trial Balance
See notes below.Accounting Combination and Default
Accounting - Trial Balance XLS
This document shows you a convenient way to see the transactions described in the above Material Management Trial Balance video. This file is a great way to test your accounting knowledge. I recommend you create a scenario where you buy, store, sell and invoice a product. See if your trial balance agrees with your Financial Reports.Accounting Sub-Accounts
The purpose of this section is to introduce sub-accounts. The average company does not need to use sub-accounts because of how iDempiere structures it COA with a tree hierarchy. However, there are time when you do need to use sub-accounts, and the below video demonstrates how.- When are sub-accounts used? How to use iDempiere's COA tree structure to create a parent and sub-account relationship
- 0:01:15 When traditional sub-accounts used? When creating multi-national financial reports.
- 0:02:00 How to enable sub-accounts
- 0:03:00 How to create a sub-account to 60110 (Wages)
- 0:04:30 Use sub-accounts at the Accounting Schema window => Defaults tab
- 0:05:00 Use sub-accounts in a GL Journal
- 0:06:00 Use sub-accounts in Financial Reports
- 0:07:15 Can you specify sub-accounts at the Financial Report => Report Line Set window => Report Source tab?
Creating your Chart of Accounts COA
- Introduction - more detail and advice about how and when to create your chart of accounts (COA)
- 0:00:45 issues with importing your COA during new client creation (Initial Client Setup Process)
- 0:01:30 solution - a better COA import at the time of client creation
- 0:02:30 99999 COA (Link) import review - temp COA used a the time of client creation
- 0:03:00 Full COA for US (Link)- used when you want to keep iDempiere's recommended COA
- 0:03:30 Minimum COA for US (Link) - used when you want to create your own COA - only includes required defaults and the summary folders.
- 0:04:30 Demonstrate of creating a new client with 99999 COA
- 0:05:00 Create new client with 99999 COA
- 0:06:30 Review new client
- 0:07:30 Import your new COA when you are ready - I will be using iDempiere's recommended COA
- 0:10:00 Review new COA in your client
- 0:10:45 Reasons to use 99999 account in production
Accounting Processor Schedule
View the System Configurator => "Client Accounting" to disable immediate posting. FYI, I do not allow my system to post immediately. Instead, I use the "Client Accounting" = "Q". Use the Accounting Processor window to set the schedule. FYI, I set the processor to only run overnight. If you need to run the processor during the day, use the Client Accounting Processor to manually mass post unposted documents. If you have multiple application servers, make sure you set the Accounting Processor => Schedule to a record that only runs on a dedicated server.Accounting - Financial Reporting
- Use @Period@ in the Report Column Set window => Report Column subtab => Name field to show the period name in your report's printed column.
2015-01-12 Department Financial Reporting
Illustrates how to configure and use department (departmental) based accounting.- 0:00:00 Introduction
- 0:01:15 Important Account Segment concepts
- 0:03:00 Example Sales Order (Account Segment)
- 0:04:15 Create the "Department" segment using the "Activity" concept (Accounting Schema => Account Schema Dimension)
- 0:07:00 Rename the Activity field and window to "Department"
- 0:10:00 Create sample departments
- 0:10:45 Create Vendor Invoice with new departments (recognize expenses)
- 0:12:15 Create Financial Report for specific departments
- 0:14:00 Create Financial Reports where a consolidated report can break out departments onto different lines.
2015-01-15 Transactional Organization - Org Trx - AD_OrgTrx_ID
- Concepts
- Just another optional accounting dimension
- Usages
- Track referring organization (created by...)
- Track Cost Center or Department profit and lot reporting
2014-10-03 - Better Income Statement and Balance Sheet Reports and Demonstrated End of Year EOY Process
This is a great resource for better understanding how financial reporting works! One thing I forgot to mention is that you cannot import the Income Statement and Balance Sheet pack in's to any other client other than GardenWorld. The reason is that the pack in's rely on the accounts that exist in GardenWorld. Your COA in your new client will have different accounts with different account IDs. Therefore, you should us the new GardenWorld examples as a quick reference when creating your Income Statement and Balance Sheet in your new client. NOTE 20170307: the below video references the December Adjustment period. This feature/fix exists in iDempiere today as late in version 2.1.- Link to Reports Pack In and Installation Instructions
- Introduction
- 0:00:45 delete transactional data from the original GardenWorld installation using chuboe_delete_transactional_data.sh
- 0:01:30 Create 2015 year - for later use
- 0;02:15 Create sample transactions (PO, MR, VI, Payment, Bank Statement) for inclusion on income statement and balance sheet.
- 0:07:00 Create sample transactions (SO, Ship, SI, Receipt, Bank Statement) for inclusion on income statement and balance sheet.
- 0:10:30 Pack In/Create new Report Line Set for Balance Sheet and Income Statement
- 0:12:00 Run financials after creating previous transactions with new reports
- 0:13:15 Create additional expense and re-run financials and show that the net income on the Income Statement equals the current earnings on the Balance Sheet
- 0:17:45 Review the details of the Report Line Set details that support the above bullet. This is where the magic happens!!
- 0:21:00 Create Profit Transfer account and add to the Income statement (Profit and Loss P&L)
- The Profit Transfer account should be an expense
- It should only have a balance in the Period: 12-adj (adjustment period) - because that is the period when you typically post your DR Profit Transfer + CR Retained Earnings.
- It can be located in your bottom-of-report => Other Expenses section
- 0:24:00 Create the 2014 End of Year (EOY) GL Journal to move profits to Retained Earnings (in owner equity section) account. Re-run 2014 financials to see the results.
- 0:29:00 Reference to Carlos' fix that adds a 13th period for your EOY adjustments. This prevents you from seeing your Retained Earnings posting in Dec of 2014. This fix is included in version 2.1+
- 0:30:45 Create a Vendor Invoice in 2015 to prove the financials are still accurate. They are!!!
- 0:33:00 How to make financial reports pretty.
Using Excel XLS to Create Pretty Financial Report
I was once involved in a project where a company spent an inordinate amount of money trying to get their financial reports exactly the way the wanted them. They first tried to use the existing Financial Reports report viewer. This did not have the layout capabilities needed to put logos in the right place, create spacing between lines, add the right borders and double underlines, etc... They second tried Jasper Reports as the front end to iDempiere's Financial Report process. This gave them all the pretty layout stuff; however, it has two issues:- When they wanted to export the report to XLS for post processing, the column formatting from Jasper to XLS was terrible. It created hundreds of very small columns.
- Jasper was great for making the reports pretty; however, it did nothing for handling the complexities of producing the final product in a way the company wanted to see financials. Example, they wanted to see Financials Quarter by Quarter with the current Quarter broken out by month.
- Export the iDempiere Financial Report to XLS. Create an Excel macro that makes the report look according to specification. If you see the 00:33:00 minute of Better Income Statement and Balance Sheet Financial Reports and Demonstrated End of Year EOY Process, you will see an example where I use the description field to include markup hints. The hints include '2u' for double underline this line and 2s for indent this line by two spaces. Once the macro is written, all the accounting person has to do to the report is (a) add the correct markup keys, and (b) run the XLS macros to beautify the report. Here is a series of videos to help you sharpen your XLS macro skills.
- Create an XLS workbook where you pre-format worksheet #2. This includes all the logos, column an line formatting, etc... All you need to do is copy the iDempiere Financial Report export into worksheet #1. Once worksheet #1 is populated, click on worksheet #2. All the references will be populated. Here is an example.
- Combine both above bullets to perform your manipulation.
- They could produce the data very quickly
- They could produce the final reports very quickly
- They could produce one-off reports to aswer specific questions
- If management ever wanted to change the format of the final reports, accounting could do so without asking IT for help in most situations.
Accounting Accrual Types and Processes
In my experience, there are two accrual scenarios:
- When you need to estimate the accrual for purposes of financial statement accuracy
- When you know to the penny what the accrual amount should be
In Case #1: the estimate - accrue at the end of the month/period and reverse the following day
- Let's assume your freight bills comes in on the 13th of every month.
- Because the bill is big enough and it varies enough from month to month, you need to make an accrual so that your financials are accurate.
- The EOM GL Journal accrual debits freight expense and credits freight accrual.
- The next day (the start of your new month/period) you Reverse Accrue (document action) the GL Journal which debits freight accrual and credits freight expense.
- When the expense comes in on the 13th, you code the invoice directly against freight expense.
- The process starts over with the next EOM accrual
- At the end of any given month, your freight expense will be (1) the negative amt from the previous period's reversal + (2) the freight expense from the bill + (3) the new accrual amount for this period.
- The benefit to this approach is that you will never grow a balance in your accrual account regardless of how badly you estimate the expense.
- To execute this process, either name the GL Journal as "Reversing xxxx" or create a checkbox that flags that GL Journal as needing to be reversed.
- On the second day of each month, you confirm you have no completed "reversing" gl journals. If you do, someone made a mistake.
- I would create an alert to catch and notify someone of such a situation.
In Case #2: the exact accrual - accrue at the end of the month and code your invoice directly against your accrual account
- Let's assume that your iDempiere instance calculates sales commissions with every transaction and that sales commissions are always paid about 90 days later in a once-per-month payroll process that occurs on the 15th of each month.
- At any moment in time, you know exactly how much commission expense you owe any given sales rep by simply adding the commission from the respective invoices.
- At the end of a month/period, you add all sales commissions for that month and accrue the amount to a sales accrual account (debit commission expense and credit commission accrual).
- Note: this accrual is NOT reversed the following period.
- In the following month on the 15th, you pay your sales people for commissions incurred 90 days in the past. This payment will get coded directly against the commission accrual (not commission expense).
- The balance in commission accrual can be defended at any time by the sum of all unpaid commission records.
- When you use this accrual scenario, you will usually build a dedicated report to help you defend the sub-ledger balance (commission records in this example) with the accrual account balance.
2015-10-20 - AM Open Discussion - Moving Financial Reports from one Client to another - Advanced 2Pack Discussion
- 0:00:00 Catalog tables for financial reports
- 0:05:30 Start the financial report pack out process
- 0:29:00 Success with financial report pack out - (minus the report line source)
- 0:30:00 Start discussing the chart of accounts (COA) export
- 0:33:00 Summary statement about the strategy to migrate both financial reports and the COA - see sandy's comment below about CSV import of ReportLineSet
- 0:36:00 Update the pack out to include all financial reports - not just one specific one with a specific UU id.
- 0:38:00 Discussion about packing out the pack out - helping you to propagate changes from environment to the next.
- 0:47:30 Review pack out types (SQL, Data, Application or Menu, etc..) including what Pack Out does not currently support.
- 0:58:00 Sandy's fix for importing Report Line Set - Report Source using CSV
2015-01-15 Transactional Organization - Org Trx - AD_OrgTrx_ID
- Concepts
- Just another optional accounting dimension
- Usages
- Track referring organization (created by...)
- Track Cost Center or Department profit and lot reporting
End of Period Adjustments
This video references some key features such as Accounting Schema, Organization, Calendar/Year/Period, Dimensions, Activity to show you how you can organize your end of period or year activities to produce a complex combination of financial reports.Accounting - Add Custom Element or Column to Accounting Schema Dimension
Link to video seriesAccounting - Removing Clearing Accounts
iDempiere's accounting engine is modeled after Oracle Financials. As a result, it contains a number of 'clearing' accounts in the product and money GL workflows. An example of a clearing account is 'Bank in Transit', the GL account where Payments hold money value before they are reconciled through a Bank Statement into the final Bank Asset GL account. This discussion illustrates how to remove the clearing accounts from your GL workflows. If you are a small company, this change might be a consideration. It is definitely not a consideration for a larger or multi-currency organization.Accounting - Calendar Year and Period
Accounting Processor Scheduled or Periodic vs Immediate
Here is a discussion that reviews how to schedule your accounting processor to post documents (immediate vs scheduled or periodic). References the System Configurator 'CLIENT_ACCOUNTING' setting.Good References:
2013-12-17 PM Meeting (ppt) - Accounting
- Accounting Schema
- Pushing down defaults
- Dynamic Posting - posting Campaign to the GL
- Posting for Inventory move 0:24:00
- Payment and Receipt 0:40:00
- Currency Rate 0:48:00
- Payment Selection 0:51:00
2013-12-17 AM Meeting (ppt) - Accounting
- Accounting Engine (service/server)
- Unposted Documents 0:5:00
- Business Partner Credit Management 0:24:00
- Drilling down to GL Account Activity 0:38:00
- How to by-pass clearing accounts 0:44:00
- Multi-Schema diagram
2014-04-22 AM - Open Discussion - Includes Good Accuonting References
See notes below video before watching.- Installing ADempiere 3.8
- 0:04:30 Web Services (webservices)
- 0:07:00 Integrating FedEx, UPS, DHL
- 0:11:30 Third-party shipping options (3rd party)
- 0:17:00 Database table naming convention and reporting strategies (concise list at 0:22:00)
- 0:25:00 Multi-Company (multi-organization) discussion
- 0:26:00 Multiple COA (Charts of Accounts)
- 0:27:30 Example Posting to a specific Organization
- 0:28:20 Organization Tree structure as it relates to Financial Reporting
- 0:33:00 Link between Accounting Schema and Account Element (COA or Chart of Accounts) - Resumed (0:37:00)
- (tangent) 0:34:20 General discussion about Orgs posting to Accounting Schemas with a Acccount Element (COA or Chart of Accounts)
- 0:42:00 Role based Org access
- 0:45:30 Shipping Package Process in iDempiere Shipment (Customer) window