Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029873Openbravo ERP09. Financial managementpublic2015-03-17 12:582015-05-14 11:00
aferraz 
aferraz 
normalmajoralways
closedfixed 
30Professional Appliance
 
3.0PR15Q1.43.0PR15Q1.4 
umartirena
Core
No
0029873: Accounts are setted wrongly when posting a Simple G/L Journal setted as multi-general ledger
Accounts are setted wrongly when posting a Simple G/L Journal setted as multi-general ledger
Go to G/L Item window and select Capital social. Move to Accounting tab:
 Select the record for F&B España, S.A. US/A/Euro:
 Set Fondo social as debit accounting
 Set Capital as credit accounting
 Select the record for F&B International Group US/A/US Dollar:
 Set Checking Account as debit accounting
 Set Dividends Paid as credit accounting

Create a Simple G/L Journal record:
 Organization: F&B España, S.A
 General Ledger: empty
 Multi-General Ledger: true

Create a line:
 GL Item: Capital social
 Debit: 100

Create another line:
 GL Item: Capital social
 Credit: 100

Complete it. Post it.

Realize two lines are created in Accounting tab for F&B España, S.A. US/A/Euro general ledger with wrong accounts:
 Accounting debit line has Capital account (g/l item credit account)
 Accounting credit line has Fondo social account (g/l item debit account)

Realize two lines are created in Accounting tab for F&B International Group US/A/US Dollar general ledger with wrong accounts:
 Accounting debit line has Dividends Paid account (g/l item credit account)
 Accounting credit line has Checking Account account (g/l item debit account)
No tags attached.
blocks defect 0029315 closed aferraz Accounts are setted wrongly when posting a Simple G/L Journal setted as multi-general ledger 
Issue History
2015-05-13 17:43aferrazTypedefect => backport
2015-05-13 17:43aferrazTarget Version => 3.0PR15Q1.4
2015-05-14 10:59hgbotCheckin
2015-05-14 10:59hgbotNote Added: 0077430
2015-05-14 10:59hgbotStatusscheduled => resolved
2015-05-14 10:59hgbotResolutionopen => fixed
2015-05-14 10:59hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/bf012d0fa4b198c78a2412fdf0e347b4ced45371 [^] => http://code.openbravo.com/erp/backports/3.0PR15Q1.4/rev/24da1cff74ce1e55d5dfafeddc294d3e2f31b89b [^]
2015-05-14 11:00umartirenaNote Added: 0077431
2015-05-14 11:00umartirenaStatusresolved => closed
2015-05-14 11:00umartirenaFixed in Version => 3.0PR15Q1.4

Notes
(0077430)
hgbot   
2015-05-14 10:59   
Repository: erp/backports/3.0PR15Q1.4
Changeset: 24da1cff74ce1e55d5dfafeddc294d3e2f31b89b
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed May 13 18:06:30 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.4/rev/24da1cff74ce1e55d5dfafeddc294d3e2f31b89b [^]

Fixes issue 29873: Wrong accounts when posting multi-general ledger G/L Journal

When getting accounts from GL Item (while posting a Simple G/L Journal setted as multi-general ledger), they were setted wrongly to accounting lines

---
M src/org/openbravo/erpCommon/ad_forms/DocLine_GLJournal.java
---
(0077431)
umartirena   
2015-05-14 11:00   
Code Review + Testing OK