Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018852Openbravo ERP09. Financial managementpublic2011-10-24 16:572011-11-04 13:56
maite 
mirurita 
urgentmajoralways
closedfixed 
5
 
3.0MP5 
Core
No
0018852: Error when posting Transaction with several glitems configured for different accounts
Accounting process takes different accounts properly but each amount is not being considered, total transaction amount is used when generating entry.
1. Create one glitem and define any account in its accounting tab
2. Create other glitem and define different account in its accounting tab
3. Go to any Financial Account, Transactions tab and "Add Transaction"
4. Select Paid out and "Add Payment". Select "GLItem" and add one line gor GLItem1 and amount=150; add another line for GLItem2 and amount=100 euros. Process.
5. Verify that Payment method used is configured as NOT able to post payments, but ABLE to post Transactions.
6. Post Transaction.
Realize that accounts defines for both GLItems are properly being used but both of them are set with 250 euros (instead of one with 100 and another with 150).
Due to this error, "Cuenta de Cuadre" is being used to generate entry
No tags attached.
Issue History
2011-10-24 16:57maiteNew Issue
2011-10-24 16:57maiteAssigned To => jonalegriaesarte
2011-10-24 16:57maiteModules => Core
2011-10-24 17:02maiteIssue Monitored: networkb
2011-10-24 17:16azabaletaIssue Monitored: azabaleta
2011-10-25 11:37miruritaAssigned Tojonalegriaesarte => mirurita
2011-10-25 12:55hgbotCheckin
2011-10-25 12:55hgbotNote Added: 0042093
2011-10-25 12:55hgbotStatusnew => resolved
2011-10-25 12:55hgbotResolutionopen => fixed
2011-10-25 12:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/40bc1905d008b8c17e5648ff0f419b6eb082dedc [^]
2011-11-02 13:38maiteNote Added: 0042447
2011-11-02 13:38maiteStatusresolved => closed
2011-11-04 13:56hudsonbotCheckin
2011-11-04 13:56hudsonbotNote Added: 0042562

Notes
(0042093)
hgbot   
2011-10-25 12:55   
Repository: erp/devel/pi
Changeset: 40bc1905d008b8c17e5648ff0f419b6eb082dedc
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Oct 25 12:54:19 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/40bc1905d008b8c17e5648ff0f419b6eb082dedc [^]

Fixes issue 18852: Error when posting Transaction with several glitems configured for different accounts

---
M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java
---
(0042447)
maite   
2011-11-02 13:38   
verified
(0042562)
hudsonbot   
2011-11-04 13:56   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test