Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019115Openbravo ERP09. Financial managementpublic2011-11-21 09:262012-01-16 18:45
malsasua 
jecharri 
urgentminoralways
closedfixed 
20Community Appliance
 
2.50MP382.50MP38 
Google Chrome
Core
No
0019115: to unprocess a bank statement, error is returned, but the debt payments are not cancelled
if a debt payment created in a remittance process, is included and process in a bank statement, and the original debt payment is included in other bank statement, when you unprocess the second bank statement, error is returned, and the bankstatement continue processed, but the debt payments are not cancelled
. create two invoices:
 1st. grand total amount 200
 2nd. drand total amount 300

. create a new remittance (consolidated)
 create two lines with debt payments created previously
 three new debt payments are generated: -200 , -300, 500

. create a new bank statement (BS1)
 create two lines with debt payments created by remittance (-200 and -300)
 process it

. create a new bank statement (BS2)
 create two lines with debt payments created by invoices (200 and 300)
 process

now , unprocess the first bank statement created (BS1):
error is returned:
Error:
Error unprocessing Bank Statement. Line:20: In line10 the debt payment is already managed in the Bank statement21-11-2006 from2006-11-21 00:00:00 -

the bank statement continue processed, but the debt payments are not cancelled. The settlement generated to process the bank statement has been deleted

No tags attached.
Issue History
2011-11-21 09:26malsasuaNew Issue
2011-11-21 09:26malsasuaAssigned To => jonalegriaesarte
2011-11-21 09:26malsasuaWeb browser => Google Chrome
2011-11-21 09:26malsasuaModules => Core
2011-11-21 09:26malsasuaResolution time => 1327359600
2011-12-30 10:30jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2011-12-30 10:30jonalegriaesarteSeveritymajor => minor
2012-01-10 09:28jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-01-10 17:57hgbotCheckin
2012-01-10 17:57hgbotNote Added: 0044208
2012-01-10 17:57hgbotStatusnew => resolved
2012-01-10 17:57hgbotResolutionopen => fixed
2012-01-10 17:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/68d0babe99f355e5f6aa08c8391144c10455ff99 [^]
2012-01-16 18:45malsasuaNote Added: 0044412
2012-01-16 18:45malsasuaStatusresolved => closed
2012-01-16 18:45malsasuaFixed in Version => 2.50MP38

Notes
(0044208)
hgbot   
2012-01-10 17:57   
Repository: erp/stable/2.50
Changeset: 68d0babe99f355e5f6aa08c8391144c10455ff99
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jan 10 17:56:58 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/68d0babe99f355e5f6aa08c8391144c10455ff99 [^]

Fixes issue 19115: to unprocess a bank statement, error is returned, but the debt payments are not cancelled

---
M src-db/database/model/functions/C_BANKSTATEMENT_POST.xml
---
(0044412)
malsasua   
2012-01-16 18:45   
checked with version 2.50.19767
test code: OK
test functionality: OK