Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0028979 | Openbravo ERP | Z. Others | public | 2015-02-18 13:11 | 2015-02-25 21:22 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | aferraz | |||||||||||
Priority | immediate | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR15Q2 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | Sandrahuguet | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||||||
Support ticket | 34352 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0028979: UpdateCustomerBalance modulescript is wrongly calculating the Current Balance | |||||||||||
Description | UpdateCustomerBalance modulescript is wrongly calculating the Current Balance. It does not take into account partial payments and credit is wrongly added: Credit for receipts (payment in) should be negative while credit for payments (payment out) should be positive | |||||||||||
Steps To Reproduce | As group admin role: Create a Business Partner set as Customer Add a Payment In to it where a credit of 100 is generated Check the Current Balance in the Business Partner window is -100. This is correct Create a Business Partner set as Vendor Generate a Purchase Invoice for it Check its Current Balance is for the whole amount of the invoice (but negative). This is correct Add a partial payment out to it Check its Current Balance is for the pending amount of the invoice (but negative). This is correct As system admin role: Delete the IsCustomerBalanceRestored preference Launch ant smartbuild -Dlocal=No in order the modulescript to be applied and restart tomcat As group admin role: Check the Current Balance in the Business Partner window for the Customer is 100. This is incorrect, it should be negative Check the Current Balance in the Business Partner window for the Vendor is the whole amount of the invoice (but negative). This is incorrect, it should be the outstanding amount (but negative) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=7803&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-02-18 13:11 | ngarcia | New Issue | ||||||||||
2015-02-18 13:11 | ngarcia | Assigned To | => Sandrahuguet | |||||||||
2015-02-18 13:11 | ngarcia | OBNetwork customer | => Yes | |||||||||
2015-02-18 13:11 | ngarcia | Modules | => Advanced Payables and Receivables Mngmt | |||||||||
2015-02-18 13:11 | ngarcia | Support ticket | => 34352 | |||||||||
2015-02-18 13:11 | ngarcia | Resolution time | => 1426806000 | |||||||||
2015-02-18 13:11 | ngarcia | Triggers an Emergency Pack | => No | |||||||||
2015-02-18 13:15 | ngarcia | Relationship added | related to 0024866 | |||||||||
2015-02-18 13:15 | ngarcia | Issue Monitored: networkb | ||||||||||
2015-02-18 13:16 | ngarcia | File Added: 28979.diff | ||||||||||
2015-02-18 13:34 | ngarcia | File Deleted: 28979.diff | ||||||||||
2015-02-18 13:35 | ngarcia | File Added: 28979.diff | ||||||||||
2015-02-19 12:18 | Sandrahuguet | Assigned To | Sandrahuguet => ngarcia | |||||||||
2015-02-19 12:18 | Sandrahuguet | Assigned To | ngarcia => aferraz | |||||||||
2015-02-19 13:35 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7711#r7711 | |||||||||
2015-02-19 14:45 | aferraz | Note Added: 0074663 | ||||||||||
2015-02-19 14:46 | aferraz | Note Edited: 0074663 | bug_revision_view_page.php?bugnote_id=0074663#r7713 | |||||||||
2015-02-24 15:41 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7752#r7752 | |||||||||
2015-02-25 10:09 | hgbot | Checkin | ||||||||||
2015-02-25 10:09 | hgbot | Note Added: 0074900 | ||||||||||
2015-02-25 10:09 | hgbot | Status | new => resolved | |||||||||
2015-02-25 10:09 | hgbot | Resolution | open => fixed | |||||||||
2015-02-25 10:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/92405876894e532479d9de83244806ee1436dda5 [^] | |||||||||
2015-02-25 10:13 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
2015-02-25 10:13 | Sandrahuguet | Note Added: 0074902 | ||||||||||
2015-02-25 10:13 | Sandrahuguet | Status | resolved => closed | |||||||||
2015-02-25 10:13 | Sandrahuguet | Fixed in Version | => 3.0PR15Q2 | |||||||||
2015-02-25 21:22 | hudsonbot | Checkin | ||||||||||
2015-02-25 21:22 | hudsonbot | Note Added: 0074947 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|