Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010745Openbravo ERP09. Financial managementpublic2009-09-24 16:052009-10-03 00:00
networkb 
vmromanos 
urgentmajoralways
closedfixed 
20rPath Linux
2.50MP5 
2.50MP72.50MP6 
Core
No
0010745: "create lines from" in bank statemnet generates incorrect settlement
in "create from" of bank statement, when amount selected is the same than amount debt payment, a new settlement is generated with two debt payments:
first debt payment with total amount, and second with 0.
. Create purchase invoice, document type "AP Invoice", with grand total amount 100 euros. Process it. A debt payment is generated with amount 100 euros and field "receipts" is not checked.

. Create a new bank statement.
. execute "create lines from":
   . search the debt payment generated in purchase invoice
   . the proposed amount is 100.
   . press ok

. a settlement is generated with the origin debt payment in the tab "cancelled", and two debt payments in tab "created":
   a debt payment with amount -100
   other debt payment with amount 0
No tags attached.
related to defect 0010748 closed dalsasua Amount from and amount to are not working properly in create lines from (Bank Statement) 
related to defect 00105712.50MP6 closed vmromanos debt payment generated in "create from" in bank statement are not correct. See the added note 
Issue History
2009-09-24 16:05networkbNew Issue
2009-09-24 16:05networkbAssigned To => rafaroda
2009-09-24 16:19psarobeAssigned Torafaroda => vmromanos
2009-09-24 16:19psarobeSeverityminor => major
2009-09-24 16:19psarobeStatusnew => scheduled
2009-09-24 16:19psarobeTarget Version2.50MP8 => 2.50MP7
2009-09-24 17:33dalsasuaRelationship addedrelated to 0010748
2009-09-25 07:06rafarodaPriorityimmediate => urgent
2009-09-25 07:07rafarodaRelationship addedrelated to 0010571
2009-10-02 11:42hgbotCheckin
2009-10-02 11:42hgbotNote Added: 0020657
2009-10-02 11:42hgbotStatusscheduled => resolved
2009-10-02 11:42hgbotResolutionopen => fixed
2009-10-02 11:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4a37c75ffa31984e99c74806e04d33c06fc420fa [^]
2009-10-02 13:27psarobeStatusresolved => closed
2009-10-02 13:27psarobeNote Added: 0020663
2009-10-02 13:27psarobeFixed in Version => 2.50MP6
2009-10-03 00:00anonymoussf_bug_id0 => 2872033

Notes
(0020657)
hgbot   
2009-10-02 11:42   
Repository: erp/devel/pi
Changeset: 4a37c75ffa31984e99c74806e04d33c06fc420fa
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Fri Oct 02 11:37:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4a37c75ffa31984e99c74806e04d33c06fc420fa [^]

Fixes issue 0010745: create lines from in bank statemnet generates incorrect settlement

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank_data.xsql
---
(0020663)
psarobe   
2009-10-02 13:27   
Tested working fine