Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014634Openbravo ERP09. Financial managementpublic2010-09-21 13:062010-09-29 11:57
psarobe 
adrianromero 
immediatemajoralways
closedfixed 
5
2.50MP21 
2.50MP22 
Core
No
0014634: Cannot unprocess a bank statement with more than one business partner
Cannot unprocess a bank statement with more than one payment from different business partner
1.Login as Openbravo/openbravo. Role QA Admin
2.Go to sales management and created two sales invoice from cusA and cusB
3. Go to financial management bank statement window and select these two payments
4. Process. Ensure the credit used is properly updated
5. Unprocess the Bankstatement. Current behaviour: Process failed. No data found. This behaviour is not correct

Expected behaviour: You can unprocess the bank statement
Regression
related to defect 00139582.50MP21 closed sathiyan cursor incorrect in process c_bankstatement_post 
Issue History
2010-09-21 13:06psarobeNew Issue
2010-09-21 13:06psarobeAssigned To => adrianromero
2010-09-21 13:07psarobeTag Attached: Regression
2010-09-21 13:07psarobeRelationship addedrelated to 0013958
2010-09-21 13:07psarobeNote Added: 0031273
2010-09-21 13:08psarobeStatusnew => scheduled
2010-09-21 13:08psarobefix_in_branch => pi
2010-09-21 13:24hgbotCheckin
2010-09-21 13:24hgbotNote Added: 0031275
2010-09-21 13:24hgbotStatusscheduled => resolved
2010-09-21 13:24hgbotResolutionopen => fixed
2010-09-21 13:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3249119dbc098164e2b74901ed9b0de384c24cab [^]
2010-09-21 13:27adrianromeroNote Added: 0031276
2010-09-22 13:14hgbotCheckin
2010-09-22 13:14hgbotNote Added: 0031295
2010-09-22 13:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/3249119dbc098164e2b74901ed9b0de384c24cab [^] => http://code.openbravo.com/erp/devel/pi/rev/e79dc1a96284249e94cbd7b8045731b11247a993 [^]
2010-09-22 13:17adrianromeroNote Edited: 0031276bug_revision_view_page.php?bugnote_id=0031276#r895
2010-09-24 11:01sureshbabuNote Added: 0031341
2010-09-24 11:01sureshbabuStatusresolved => closed
2010-09-25 00:00anonymoussf_bug_id0 => 3075154
2010-09-29 11:57hudsonbotCheckin
2010-09-29 11:57hudsonbotNote Added: 0031451
2010-09-29 11:57hudsonbotCheckin
2010-09-29 11:57hudsonbotNote Added: 0031454

Notes
(0031273)
psarobe   
2010-09-21 13:07   
Regression introduced by issue: 13958
(0031275)
hgbot   
2010-09-21 13:24   
Repository: erp/devel/pi
Changeset: 3249119dbc098164e2b74901ed9b0de384c24cab
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Sep 21 13:22:49 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3249119dbc098164e2b74901ed9b0de384c24cab [^]

Fixes issue 0014634: Cannot unprocess a bank statement with more than one business partner
It has been reverted the fix created in issue 13958 and applied a proper fix that consist in only removing the condition C_Settlement_Cancel_ID IS NULL when selecting business partners to update

---
M src-db/database/model/functions/C_BANKSTATEMENT_POST.xml
---
(0031276)
adrianromero   
2010-09-21 13:27   
(edited on: 2010-09-22 13:17)
* Testing of the issue

Follow the steps to reproduce and notice that now it is possible to unprocess the bank statement. Because this issue has been introduced with the fix of issue 13958, it needs to be tested too this issue.

When processing and unprocessing bank statements create bank statements with several payments and payments with different dates and different business partners too to verify all the possibilities of processing/unprocessing bank statements

* Other areas affected.

It has only been modified the C_BANKSTATEMENT_POST procedure. This fix only affects to the functionality of processing/unprocessing bank statements.

(0031295)
hgbot   
2010-09-22 13:14   
Repository: erp/devel/pi
Changeset: e79dc1a96284249e94cbd7b8045731b11247a993
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 22 13:13:54 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e79dc1a96284249e94cbd7b8045731b11247a993 [^]

Fixes issue 0014634: Cannot unprocess a bank statement with more than one business partner
It has been fixed the sentence that gets the business partners to update

---
M src-db/database/model/functions/C_BANKSTATEMENT_POST.xml
---
(0031341)
sureshbabu   
2010-09-24 11:01   
verified
(0031451)
hudsonbot   
2010-09-29 11:57   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/3249119dbc09 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/51c2c2967221 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18452.obx [^]
(0031454)
hudsonbot   
2010-09-29 11:57   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/e79dc1a96284 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/51c2c2967221 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18452.obx [^]