Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017605Openbravo ERP09. Financial managementpublic2011-06-10 18:232011-06-22 11:44
psarobe 
eduardo_Argal 
immediatemajoralways
closedfixed 
5
pi 
3.0MP03.0MP0 
Core
No
0017605: Add transaction button is showing me a payment with 0,00 amount but it has 24,64 value
In the financial account window, when clicking the add transaction button the grid is not showing the correct amount for a payment out
Login with. You might need to activate the user:

    "User name": QAAdmin
    "Password": QAAdmin

Go to Procurement management || Transactions || Purchase invoice

Click new and fill:

    "Transaction Document": AP Invoice
    "Business partner": VA and click enter. The business parter will then Vendor A

Once you select the business partner save and verify:

    "Partner adress" : . Pamplona, Street Purchase center nÂș1
    "Invoice Date": Current system date
    "Price list": Purchase
    "Payment method": 1 (Spain)
    "Payment Terms": 90 days

Change the payment method from 1 (Spain) to 4 (Spain)

Click Save button

Move to lines tab and click new

Enter the details for the product typing RMA and click the enter Key. Change the Invoice quantity to 11.2save and verify:

    "UOM": Bag
    "Net Unit Price": 2.00
    "Net List Price": 2.00
    "Tax": VAT 10%
    "Line net amount": 22.40

Move to the header tab

Click the complete button

Go to Financial Management || Receivables&Payables || Transactions || Financial Account

Select Spain Cashbook and move to Transactions tab. Click the button "Add Transaction"

Select the value Paid Out

In the grid select the line where the value for the column "Description" is Invoice No.: Document number of the above invoice

Notice the amount is 0,00 instead of 24,64
No tags attached.
png addtransaction.PNG (56,775) 2011-06-10 18:23
https://issues.openbravo.com/file_download.php?file_id=4194&type=bug
png

png Openbravo - Financial Account - EUR - Spai... 2011-06-12 19-04-25.png (3,316) 2011-06-12 19:04
https://issues.openbravo.com/file_download.php?file_id=4196&type=bug
png
Issue History
2011-06-10 18:23psarobeNew Issue
2011-06-10 18:23psarobeAssigned To => eduardo_Argal
2011-06-10 18:23psarobeFile Added: addtransaction.PNG
2011-06-10 18:23psarobeModules => Core
2011-06-10 18:58eduardo_ArgalStatusnew => scheduled
2011-06-10 18:58eduardo_Argalfix_in_branch => pi
2011-06-10 18:59hgbotCheckin
2011-06-10 18:59hgbotNote Added: 0038265
2011-06-10 18:59hgbotStatusscheduled => resolved
2011-06-10 18:59hgbotResolutionopen => fixed
2011-06-10 18:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4f63ff430068b8be7a5425288ac3404e2028742c [^]
2011-06-12 19:04psarobeNote Added: 0038273
2011-06-12 19:04psarobeStatusresolved => new
2011-06-12 19:04psarobeResolutionfixed => open
2011-06-12 19:04psarobeFile Added: Openbravo - Financial Account - EUR - Spai... 2011-06-12 19-04-25.png
2011-06-13 12:09hgbotCheckin
2011-06-13 12:09hgbotNote Added: 0038290
2011-06-13 12:09hgbotStatusnew => resolved
2011-06-13 12:09hgbotResolutionopen => fixed
2011-06-13 12:09hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/4f63ff430068b8be7a5425288ac3404e2028742c [^] => http://code.openbravo.com/erp/devel/pi/rev/1d29b2b8300ee243302e3528044ab321d2a3ad8f [^]
2011-06-13 18:13psarobeNote Added: 0038319
2011-06-13 18:13psarobeStatusresolved => closed
2011-06-13 18:13psarobeFixed in Version => 3.0MP0
2011-06-22 11:44hudsonbotCheckin
2011-06-22 11:44hudsonbotNote Added: 0038448
2011-06-22 11:44hudsonbotCheckin
2011-06-22 11:44hudsonbotNote Added: 0038454

Notes
(0038265)
hgbot   
2011-06-10 18:59   
Repository: erp/devel/pi
Changeset: 4f63ff430068b8be7a5425288ac3404e2028742c
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Fri Jun 10 18:59:10 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4f63ff430068b8be7a5425288ac3404e2028742c [^]

fixes bug 0017605

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
(0038273)
psarobe   
2011-06-12 19:04   
It is not working properly. It is showing now 24.64 instead of 24,64. Please notice the difference which is the comma/point as decimal separator. My format xml has the comma as decimal separator.

But the worst thing is once I select the payment and click OK in the transaction window is showing for "Withdrawal amount" 0,00 when it should show 24,64

See attach
(0038290)
hgbot   
2011-06-13 12:09   
Repository: erp/devel/pi
Changeset: 1d29b2b8300ee243302e3528044ab321d2a3ad8f
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Jun 13 12:08:28 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1d29b2b8300ee243302e3528044ab321d2a3ad8f [^]

Fixes issue 17605:
Add transaction button is showing me a payment with 0,00 amount but it has 24,64 value.
Added two methods in FIN_Utility to format a number

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
---
(0038319)
psarobe   
2011-06-13 18:13   
Works fine
(0038448)
hudsonbot   
2011-06-22 11:44   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/abb438586c0e [^]

Maturity status: Test
(0038454)
hudsonbot   
2011-06-22 11:44   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/abb438586c0e [^]

Maturity status: Test