Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013675Openbravo ERP02. Master data managementpublic2010-06-16 16:342010-07-07 00:00
networkb 
harikrishnan 
urgentmajoralways
closedfixed 
5
2.50MP18 
2.50MP20 
Core
No
0013675: When unprocess a manual sttlement does not update the Credit Used field.
When unprocess a manual sttlement does not update the Credit Used field.
-As Openbravo Admin go to Master Data Management || Business Partner || Business Partner
-Select Obelix and go to Business Partner >> Customer
-Check 'Customer'

-Go to Financial Management || Receivables & Payables || Transactions || Manual Settlement
-Create a record, select Obelix as Business Partner, Amount: 50.
-Go to Balance Payment: Credit Amount: 50
-Post it.

-Go to Master Data Management || Business Partner || Business Partner
-Select Obelix and go to Business Partner >> Customer.
-Realize that Credit Used is 50.

-Go back to the manual settlement. Unpost the manual settlement and unprocess.
-Go back to Master Data Management || Business Partner || Business Partner
-Select Obelix and go to Business Partner >> Customer.
-Realize that Credit Used still is 50.
No tags attached.
Issue History
2010-06-16 16:34networkbNew Issue
2010-06-16 16:34networkbAssigned To => adrianromero
2010-06-17 12:41adrianromeroStatusnew => scheduled
2010-06-17 12:41adrianromerofix_in_branch => pi
2010-07-02 05:43harikrishnanAssigned Toadrianromero => harikrishnan
2010-07-02 05:45hgbotCheckin
2010-07-02 05:45hgbotNote Added: 0028966
2010-07-02 05:45hgbotStatusscheduled => resolved
2010-07-02 05:45hgbotResolutionopen => fixed
2010-07-02 05:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a25edd2c711bc53c24935fd7c0adcf6956e2c8c8 [^]
2010-07-02 05:46harikrishnanNote Added: 0028967
2010-07-02 14:51hudsonbotCheckin
2010-07-02 14:51hudsonbotNote Added: 0029007
2010-07-06 03:45sureshbabuNote Added: 0029073
2010-07-06 08:20sureshbabuNote Deleted: 0029073
2010-07-06 08:44sureshbabuNote Added: 0029078
2010-07-06 08:44sureshbabuStatusresolved => closed
2010-07-07 00:00anonymoussf_bug_id0 => 3026044

Notes
(0028966)
hgbot   
2010-07-02 05:45   
Repository: erp/devel/pi
Changeset: a25edd2c711bc53c24935fd7c0adcf6956e2c8c8
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri Jul 02 09:13:58 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/a25edd2c711bc53c24935fd7c0adcf6956e2c8c8 [^]

Fixes issue 13675 Before the updating of the Credit Used field is done only for Processing button.This is not calculated during the unprocess action.

---
M src-db/database/model/functions/C_SETTLEMENT_POST.xml
---
(0028967)
harikrishnan   
2010-07-02 05:46   
Steps to test:

Follow the steps to reproduce along with, try to create two manual settlement for the same business partner and check out in the business partner tab.

Root Cause:

Before the updating of the Credit Used field is done only for Processing button.This is not calculated during the unprocessed action.

Impact:

This procedure is called in the following places.

C_BANKSTATEMENT_POST.xml
C_CASH_POST.xml
C_DEBT_PAYMENT_CREATE.xml
C_DP_MANAGEMENT_POST.xml
C_INVOICE_POST.xml
C_PAYINADVANCE_CREATE.xml
C_REMITTANCE_POST.xml
C_SETTLEMENT_POST.xml
C_SETTLEMENT_POST0.xml
C_TAXPAYMENT_POST.xml
(0029007)
hudsonbot   
2010-07-02 14:51   
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/a25edd2c711b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8fd5a427789e [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17797.obx [^]
(0029078)
sureshbabu   
2010-07-06 08:44   
verified..tested in liveqa builds