Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012113Openbravo ERP02. Master data managementpublic2010-02-03 11:112010-04-10 00:00
networkb 
adrianromero 
highminoralways
closedfixed 
5
2.50MP11 
2.50MP14 
Core
No
0012113: "Credit used" field is not updated when unprocess a bank statement
When you complete a sales invoice then field "credit used" of certain business partner is updated and it is also updated if you reactivate the invoice.

If you have a complete invoice, and you create a bank statement choosing the invoice payment, field "credit used" is also updated correctly. But if you unprocess the bank statement , the "credit used" is not updated.
1. Sales Management || Transactions || Sales Invoice || Header: create AR Invoice for any business partner
2. Sales Management || Transactions || Sales Invoice || Header >> Lines: choose any product and qty
3. Navigate to Business Partner|Customer and check value of his "credit used" field
4. Complete the invoice
5. Navigate to Business Partner|Customer and check that value of his "credit used" field has been updated with invoice amount
6. Financial Management || Receivables & Payables || Transactions || Bank Statement || Header: create new record and press "Create Lines From" button
7. Filter by your BP and choose payment associate to your invoice
8. Process Bank statement
9. Navigate to Business Partner|Customer and check that value of his "credit used" field has been updated with payment amount
10. Come back to bank statement and unprocess it
11. Navigate to Business Partner|Customer and check that value of his "credit used" field has NOT been updated this time
No tags attached.
Issue History
2010-02-03 11:11networkbNew Issue
2010-02-03 11:11networkbAssigned To => rafaroda
2010-02-03 13:20psarobeStatusnew => scheduled
2010-02-03 13:20psarobefix_in_branch => pi
2010-02-11 11:07rafarodaAssigned Torafaroda => adrianromero
2010-03-08 16:06jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-10 17:52hgbotCheckin
2010-03-10 17:52hgbotNote Added: 0025217
2010-03-10 17:52hgbotStatusscheduled => resolved
2010-03-10 17:52hgbotResolutionopen => fixed
2010-03-10 17:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1f3c8c52aa40cc3b2d4a39dd836b9f0ee28ee1e4 [^]
2010-03-10 17:59adrianromeroNote Added: 0025218
2010-03-12 22:41hudsonbotCheckin
2010-03-12 22:41hudsonbotNote Added: 0025418
2010-04-09 12:47arunkumarNote Added: 0026027
2010-04-09 12:47arunkumarStatusresolved => closed
2010-04-10 00:00anonymoussf_bug_id0 => 2984770

Notes
(0025217)
hgbot   
2010-03-10 17:52   
Repository: erp/devel/pi
Changeset: 1f3c8c52aa40cc3b2d4a39dd836b9f0ee28ee1e4
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Mar 10 17:57:27 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1f3c8c52aa40cc3b2d4a39dd836b9f0ee28ee1e4 [^]

Fixes issue 0012113: 'Credit used' field is not updated when unprocess a bank statement

---
M src-db/database/model/functions/C_BANKSTATEMENT_POST.xml
---
(0025218)
adrianromero   
2010-03-10 17:59   
To test the resolution of this issue just follow the "Steps to reproduce" and notice that at the end in the step 9, the "credit used" value has been modified properly.
(0025418)
hudsonbot   
2010-03-12 22:41   
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/1f3c8c52aa40 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]
(0026027)
arunkumar   
2010-04-09 12:47   
Tested & working fine