Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018661Openbravo ERP09. Financial managementpublic2011-09-30 13:322011-11-12 15:49
mirurita 
eduardo_Argal 
normalminoralways
closedfixed 
5
pi 
3.0MP6 
Advanced Payables and Receivables Mngmt
No
0018661: Multicurrency - when using the available credit the conversion rates are not taken in account
If you use an available credit of a business partner, the conversion rates are not taken in account.

Totals are calculated as you were not creating a multicurrency payment.
1) Create a Payment In and leave credit
Org: F&B España, S.A.
Currency: EUR
Business Partner: Alimentos y Supermercados, S.A.
Total gross amount: 20€
Payment Method: PM1

2) Create an Invoice
Org: F&B España, S.A.
Currency: USD ($)
Business Partner: Alimentos y Supermercados, S.A.
Total gross amount: 20$
Payment Method: PM1

3) Configure the payment method used for the payment/invoice in the financial account for allowing receive payments in other currencies

4) In the created Invoice click on Add Payment In/Out

5) Enter 0 in the actual payment in field
   Click on Use Available Credit

Realize that the totals are not properly calculated.

Credit for a business partner is calculated, generated and consumed in the same currency that the business partner is invoiced, the price list currency for that business partner.
To avoid wrong behavior system will prevent generating or consuming credit in a different currency.
No tags attached.
depends on backport 00190303.0MP6 closed eduardo_Argal Multicurrency - when using the available credit the conversion rates are not taken in account 
related to defect 00226853.0MP20 closed dmiguelez A credit can be used in a currency different from the one which was generated with 
png Multicurrency - use available credit.png (123,835) 2011-09-30 13:32
https://issues.openbravo.com/file_download.php?file_id=4610&type=bug
png
Issue History
2011-09-30 13:32miruritaNew Issue
2011-09-30 13:32miruritaAssigned To => gorkaion
2011-09-30 13:32miruritaFile Added: Multicurrency - use available credit.png
2011-09-30 13:32miruritaModules => Advanced Payables and Receivables Mngmt
2011-09-30 13:32miruritaResolution time => 1319061600
2011-10-28 13:24jonalegriaesarteAssigned Togorkaion => eduardo_Argal
2011-10-28 14:08maiteSeveritymajor => minor
2011-11-03 12:20eduardo_ArgalTarget Version3.0MP5 => 3.0MP6
2011-11-09 17:52eduardo_ArgalProposed Solution updated
2011-11-09 17:53eduardo_ArgalStatusnew => scheduled
2011-11-09 17:53eduardo_Argalfix_in_branch => pi
2011-11-10 12:28hgbotCheckin
2011-11-10 12:28hgbotNote Added: 0042724
2011-11-10 12:28hgbotStatusscheduled => resolved
2011-11-10 12:28hgbotResolutionopen => fixed
2011-11-10 12:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0b47af36ef7a320c747bdd5ec3e225f184893256 [^]
2011-11-10 14:01miruritaNote Added: 0042729
2011-11-10 14:01miruritaStatusresolved => new
2011-11-10 14:01miruritaResolutionfixed => open
2011-11-10 14:09eduardo_ArgalStatusnew => scheduled
2011-11-10 20:06eduardo_ArgalStatusscheduled => resolved
2011-11-10 20:06eduardo_ArgalFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/0b47af36ef7a320c747bdd5ec3e225f184893256 [^] => c5ca5ec68eba
2011-11-10 20:06eduardo_ArgalResolutionopen => fixed
2011-11-11 10:17miruritaNote Added: 0042751
2011-11-11 10:17miruritaStatusresolved => closed
2011-11-12 15:49hudsonbotCheckin
2011-11-12 15:49hudsonbotNote Added: 0042791
2012-12-27 12:55ngarciaRelationship addedrelated to 0022685

Notes
(0042724)
hgbot   
2011-11-10 12:28   
Repository: erp/devel/pi
Changeset: 0b47af36ef7a320c747bdd5ec3e225f184893256
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Nov 10 12:16:28 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0b47af36ef7a320c747bdd5ec3e225f184893256 [^]

Fixes bug 18661, 18559

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0042729)
mirurita   
2011-11-10 14:01   
missing { in line 207
(0042751)
mirurita   
2011-11-11 10:17   
Verified.
(0042791)
hudsonbot   
2011-11-12 15:49   
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/9752fe729257 [^]

Maturity status: Test