Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020749Openbravo ERP09. Financial managementpublic2012-06-13 13:142012-06-26 10:48
sureshbabu 
mirurita 
normalmajoralways
closedfixed 
5
 
3.0MP12 
Advanced Payables and Receivables Mngmt
Automated tests
2012-06-12
https://code.openbravo.com/erp/devel/pi/rev/b6f4ca5411d2 [^]
No
0020749: Not able to add transactions in Financial account window
Not able to add transactions in Financial account window
************** Step 1*************************
Login into openbravo application, and change it to QA Admin role

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

Success message will show up:

Title: Process completed successfully
Body: Payment No. xxxxx has been created
************end of step 1***********************


***************Step 2********************************
Go to Financial Management || Receivables&Payables || Transactions || Financial Account

Select Spain Cashbook and 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 invoice created in above step 1

Click the button OK

Expected result:

Success message appears:

Title: Process completed succesfully
Body: 1 row/s inserted

Actual Result:

System throws error as

org.openbravo.base.exception.OBException:

Note: Refer screen shot for details
No tags attached.
png Not able to add transaction in Financial account window.PNG (102,949) 2012-06-13 13:14
https://issues.openbravo.com/file_download.php?file_id=5289&type=bug
png
Issue History
2012-06-13 13:14sureshbabuNew Issue
2012-06-13 13:14sureshbabuAssigned To => mirurita
2012-06-13 13:14sureshbabuFile Added: Not able to add transaction in Financial account window.PNG
2012-06-13 13:14sureshbabuModules => Advanced Payables and Receivables Mngmt
2012-06-13 13:45hgbotCheckin
2012-06-13 13:45hgbotNote Added: 0049813
2012-06-13 13:45hgbotStatusnew => resolved
2012-06-13 13:45hgbotResolutionopen => fixed
2012-06-13 13:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5a22035bcba60ee327761577b114679a8b25566d [^]
2012-06-13 16:47plujanRegression level => Packaging and release
2012-06-13 16:47plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3549#r3549
2012-06-13 17:21plujanRegression levelPackaging and release => Automated tests
2012-06-13 17:21plujanRegression date => 2012-06-12
2012-06-13 17:21plujanRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/b6f4ca5411d2 [^]
2012-06-26 10:48sureshbabuNote Added: 0050080
2012-06-26 10:48sureshbabuStatusresolved => closed
2012-06-26 10:48sureshbabuFixed in Version => 3.0MP12

Notes
(0049813)
hgbot   
2012-06-13 13:45   
Repository: erp/devel/pi
Changeset: 5a22035bcba60ee327761577b114679a8b25566d
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Wed Jun 13 13:45:12 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5a22035bcba60ee327761577b114679a8b25566d [^]

Related to issue 20739. Fixed issue 20749: Not able to add transactions in FA

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/TransactionsDao.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
(0050080)
sureshbabu   
2012-06-26 10:48   
Tested working fine