Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017605
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-06-10 18:232011-06-22 11:44
ReporterpsarobeView Statuspublic 
Assigned Toeduardo_Argal 
PriorityimmediateResolutionfixedFixed in Version3.0MP0
StatusclosedFix in branchpiFixed in SCM revision1d29b2b8300e
ProjectionnoneETAnoneTarget Version3.0MP0
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017605: Add transaction button is showing me a payment with 0,00 amount but it has 24,64 value

DescriptionIn the financial account window, when clicking the add transaction button the grid is not showing the correct amount for a payment out
Steps To ReproduceLogin 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
TagsNo tags attached.
Attached Filespng file icon addtransaction.PNG [^] (56,775 bytes) 2011-06-10 18:23


png file icon Openbravo - Financial Account - EUR - Spai... 2011-06-12 19-04-25.png [^] (3,316 bytes) 2011-06-12 19:04

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0038265)
hgbot (developer)
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 (manager)
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 (developer)
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 (manager)
2011-06-13 18:13

Works fine
(0038448)
hudsonbot (developer)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2011-06-10 18:23 psarobe New Issue
2011-06-10 18:23 psarobe Assigned To => eduardo_Argal
2011-06-10 18:23 psarobe File Added: addtransaction.PNG
2011-06-10 18:23 psarobe Modules => Core
2011-06-10 18:58 eduardo_Argal Status new => scheduled
2011-06-10 18:58 eduardo_Argal fix_in_branch => pi
2011-06-10 18:59 hgbot Checkin
2011-06-10 18:59 hgbot Note Added: 0038265
2011-06-10 18:59 hgbot Status scheduled => resolved
2011-06-10 18:59 hgbot Resolution open => fixed
2011-06-10 18:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4f63ff430068b8be7a5425288ac3404e2028742c [^]
2011-06-12 19:04 psarobe Note Added: 0038273
2011-06-12 19:04 psarobe Status resolved => new
2011-06-12 19:04 psarobe Resolution fixed => open
2011-06-12 19:04 psarobe File Added: Openbravo - Financial Account - EUR - Spai... 2011-06-12 19-04-25.png
2011-06-13 12:09 hgbot Checkin
2011-06-13 12:09 hgbot Note Added: 0038290
2011-06-13 12:09 hgbot Status new => resolved
2011-06-13 12:09 hgbot Resolution open => fixed
2011-06-13 12:09 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/4f63ff430068b8be7a5425288ac3404e2028742c [^] => http://code.openbravo.com/erp/devel/pi/rev/1d29b2b8300ee243302e3528044ab321d2a3ad8f [^]
2011-06-13 18:13 psarobe Note Added: 0038319
2011-06-13 18:13 psarobe Status resolved => closed
2011-06-13 18:13 psarobe Fixed in Version => 3.0MP0
2011-06-22 11:44 hudsonbot Checkin
2011-06-22 11:44 hudsonbot Note Added: 0038448
2011-06-22 11:44 hudsonbot Checkin
2011-06-22 11:44 hudsonbot Note Added: 0038454


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker