Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030098Openbravo ERP09. Financial managementpublic2015-06-04 13:592015-06-18 09:34
aferraz 
aferraz 
immediatemajoralways
closedno change required 
30Professional Appliance
 
3.0PR15Q2.2 
aferraz
Core
Packaging and release
2015-05-28
main
https://code.openbravo.com/erp/devel/pi/rev/aed0c66779e9442c6c92010951125f28179c0e1e [^]
No
0030098: BP current balance not properly updated when generating credit from Payment In
Business Partner current balance not properly updated when generating credit from Payment In
As F&B Admin:

- Go to Client window.
  Move to Dimensions tab.
  Set "Show in Header" = Y for "AR Receipt" document, "Bus.Partner" dimension

- Login/Logout

- Go to Business Partner window and check current balance amount.

- Create a Payment In from "Alimentos y Supermercados" and amount = 20.
  Click on Add Details.
  Uncheck any record in Order/Invoice grid.
  Select "Process Received Payment(s) and Deposit" and "Leave the credit to be used later".
  Click on Done.

- Go to Business Partner window and realize the current balance amount has not been updated.
Approved
blocks defect 00300953.0PR15Q3 closed aferraz BP current balance not properly updated when generating credit from Payment In/Out 
Issue History
2015-06-04 16:39aferrazTypedefect => backport
2015-06-04 16:39aferrazTarget Version3.0PR15Q3 => 3.0PR15Q2.2
2015-06-09 13:10hgbotCheckin
2015-06-09 13:10hgbotNote Added: 0078153
2015-06-09 13:10hgbotStatusscheduled => resolved
2015-06-09 13:10hgbotResolutionopen => fixed
2015-06-09 13:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/49877fccad050b71315e685a5f9ed78f11bb475d [^]
2015-06-09 13:11vmromanosReview Assigned To => vmromanos
2015-06-09 13:11vmromanosNote Added: 0078155
2015-06-09 13:11vmromanosStatusresolved => closed
2015-06-09 13:11vmromanosSeveritycritical => major
2015-06-10 13:13dmitry_mezentsevTag Attached: Approved
2015-06-17 14:43aferrazStatusclosed => new
2015-06-17 14:43aferrazResolutionfixed => open
2015-06-17 19:00hgbotCheckin
2015-06-17 19:00hgbotNote Added: 0078345
2015-06-18 09:25aferrazTarget Version3.0PR15Q2.2 => 3.0PR15Q2.3
2015-06-18 09:33aferrazTarget Version3.0PR15Q2.3 => 3.0PR15Q2.2
2015-06-18 09:34aferrazReview Assigned Tovmromanos => aferraz
2015-06-18 09:34aferrazStatusnew => closed
2015-06-18 09:34aferrazResolutionopen => no change required

Notes
(0078153)
hgbot   
2015-06-09 13:10   
Repository: erp/backports/3.0PR15Q2.2
Changeset: 49877fccad050b71315e685a5f9ed78f11bb475d
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Jun 04 17:47:14 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/49877fccad050b71315e685a5f9ed78f11bb475d [^]

Fixes issue 30098: BP current balance not properly updated

Change condition in FIN_PaymentProcess to take into account when the paymend does not have order nor invoice related (when it only has a g/l item, when we are genereting credit or when we are refunding amount).

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0078155)
vmromanos   
2015-06-09 13:11   
Code review + testing OK
(0078345)
hgbot   
2015-06-17 19:00   
Repository: erp/backports/3.0PR15Q2.2
Changeset: 9f250bdc7db79bcfb5a070d52301d62a3bfcbd76
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Jun 17 14:25:28 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/9f250bdc7db79bcfb5a070d52301d62a3bfcbd76 [^]

Related to issue 30098: Backout changeset 49877fccad05

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---