Projects:Simple Production Accounting/Functional Specifications
Contents |
Simple production accounting - Functional Specifications
Overview
Purpose
Current implementation
Currently in Openbravo ERP, there is no implementation for production accounting. M_Production table can be activate in Account schema tables, but there is no result shown when posting production documents.
Solution
The solution is to generate entries for this documents that updates inventory values for produced products and consumed products using costs.
There should be a ledger entry per accounting schema.
Scope
This project will affect accounting code:
- AcctServer.java: modify existing file
- DocProduction.java: New file
- DocProduction_data.xsql: New file
- DocLine_Material.java: Modify existing file
- DocLineProduction_data.xsql: New file
Functional Requirements
Business process definition
When posting a production document a journal entry is generated in accounting updating products inventory valuation.
Functional requirements based on business processes
Accounting entry requirements
Requirement | Comments |
Generate an accounting schema | It is generated when doing initial client setup |
Create a calendar | It is generated when doing initial client setup. It is needed to create a year with its periods and open them |
Accounts | Products and warehouses must have accounts set |
Costs | Product costs must be initialized and must have a value for document accounting date |
Accounting entry P+
Accounts | Amount Debit | Amount Credit | Comments |
Product assets | Costs amount | 0 | Product cost * quantity (P+) |
Warehouse differences | 0 | Costs amount | Product cost * quantity (P+) |
Accounting entry P-
Accounts | Amount Debit | Amount Credit | Comments |
Product assets | 0 | Costs amount | Product cost * quantity (P-) |
Warehouse differences | Costs amount | 0 | Product cost * quantity (P-) |
Known Issues
This is a basic production accounting. It's the first step. An extended production accounting is needed and will be soon developed.