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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022133
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementtrivialalways2012-10-29 12:482012-11-21 06:07
ReporterpramakrishnanView Statuspublic 
Assigned Topramakrishnan 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionbcfa910662a2
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_33
OS Version12.04Database version9.1.6Ant version1.8.2
Product VersionpiSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022133: Error while creating payment using business partner's credit

DescriptionError while creating payment using business partner's credit
Steps To ReproduceCreate a price list
"Organization":F&B España - Región Norte
"Name":NewPriceList
"Currency":INR

Add Pricelist version and product price

Create a business partner
"Organization":F&B España, S.A
"Search Key":BP3
"Name":Business Partner3
"Business Partner Category":Supplier
"Vendor":Y
"Purchase Pricelist":NewPriceList
"PO Payment":Transferencia
"PO Payment Terms":90 days
"PO Financial Account": Cuenta de Banco

Generate Credit for Business Partner3
"Organization":F&B España - Región Norte
"Paying To":Business Partner3
"Currency":INR
"Exchange Rate":2
"Generated Credit":1000

Save the record
Click Add Details
Click Ok(Make sure no lines are selected)

Create new purchase invoice
"Organization":F&B España - Región Norte
"Business Partner": Business Partner3
"Price List":Otros servicios

Create lines and complete the invoice
Click "Do not use credit"
Now, Click "Add Payment".
Select "Use Credit" checkbox.
Click Process
Notice the error "Error:
Created Payment: 1000188. For credit generation and/or credit consumption payment currency should map business partner currency: INR"

Go to Payment Out and filter for the document number "1000188"
Notice that No Records exists with that document number.


TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0054064)
pramakrishnan (developer)
2012-11-07 11:21
edited on: 2012-11-15 09:18

Test Plan 1:

Login as Openbravo/openbravo

Create pricelist
"Organization":F&B US, Inc.
"Name":Indian Pricelist
"Currency":INR

Create business partner
"Organization":F&B US, Inc.
"Search key":TestBP
"Name":Test Business Partner
"Business Partner Category":Supplier
"Vendor":Y
"Purchase Pricelist":Indian Pricelist
"PO Payment Method":Wire Transfer
"PO Payment Terms":90 days
"PO Financial Account":Bank - Account 1
"Tax Category":Exempt
"Location":Chennai--India

Generate credit for the business partner
Go to payment out window

"Organization":F&B US, Inc.
"Paying To":Test Business Partner
"Currency":INR
"Exchange Rate":0.0184
"Generated Credit":1000

Create purchase invoice
"Organization":F&B US, Inc.
"Invoice Date":06-11-2012
"Business Partner":
"Price List":other services
"Accounting Date":06-11-2012

Enter line details and complete the invoice
click "Do not use credit"

Now, Click "Add Payment".
Select "Use Credit" checkbox.
Click Process
Notice that the document number is not generated and throws the error properly.

(0054257)
hgbot (developer)
2012-11-15 10:39

Repository: erp/devel/pi
Changeset: bcfa910662a285b7f70cee50ca73030317333981
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Nov 14 12:05:51 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bcfa910662a285b7f70cee50ca73030317333981 [^]

Fixes Issue 22133: Error while creating payment using business partner's credit

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
---
(0054259)
Sandrahuguet (developer)
2012-11-15 11:09

Code review + testing OK
(0054390)
hudsonbot (developer)
2012-11-21 06:07

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/c3c5e61b0164 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-10-29 12:48 pramakrishnan New Issue
2012-10-29 12:48 pramakrishnan Assigned To => dmiguelez
2012-10-29 12:48 pramakrishnan Web browser => Google Chrome
2012-10-29 12:48 pramakrishnan Modules => Core
2012-11-06 15:39 pramakrishnan Assigned To dmiguelez => pramakrishnan
2012-11-06 15:39 pramakrishnan Status new => scheduled
2012-11-06 15:39 pramakrishnan fix_in_branch => pi
2012-11-07 11:21 pramakrishnan Note Added: 0054064
2012-11-15 09:18 Sandrahuguet Note Edited: 0054064 View Revisions
2012-11-15 10:39 hgbot Checkin
2012-11-15 10:39 hgbot Note Added: 0054257
2012-11-15 10:39 hgbot Status scheduled => resolved
2012-11-15 10:39 hgbot Resolution open => fixed
2012-11-15 10:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bcfa910662a285b7f70cee50ca73030317333981 [^]
2012-11-15 11:09 Sandrahuguet Note Added: 0054259
2012-11-15 11:09 Sandrahuguet Status resolved => closed
2012-11-21 06:07 hudsonbot Checkin
2012-11-21 06:07 hudsonbot Note Added: 0054390


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker