Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019030Openbravo ERP09. Financial managementpublic2011-09-30 13:322011-11-11 09:31
mirurita 
eduardo_Argal 
normalminoralways
closedfixed 
5
pi 
3.0MP6 
Advanced Payables and Receivables Mngmt
No
0019030: 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.
blocks defect 00186613.0MP6 closed eduardo_Argal Multicurrency - when using the available credit the conversion rates are not taken in account 
Issue History
2011-11-09 17:53eduardo_ArgalTypedefect => backport
2011-11-09 17:53eduardo_Argalfix_in_branch => 2.50
2011-11-10 17:26hgbotCheckin
2011-11-10 17:26hgbotNote Added: 0042740
2011-11-10 17:26hgbotStatusscheduled => resolved
2011-11-10 17:26hgbotResolutionopen => fixed
2011-11-10 17:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/23d5be291eaedbaa427c579e8b8f2cd91061e5de [^]
2011-11-10 20:07eduardo_ArgalFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/23d5be291eaedbaa427c579e8b8f2cd91061e5de [^] => de8a08ff707d
2011-11-11 09:31miruritaNote Added: 0042746
2011-11-11 09:31miruritaStatusresolved => closed

Notes
(0042740)
hgbot   
2011-11-10 17:26   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 23d5be291eaedbaa427c579e8b8f2cd91061e5de
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Nov 10 17:17:06 2011 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/23d5be291eaedbaa427c579e8b8f2cd91061e5de [^]

Fixes issue 19031, fixes issue 19030, fixes issue 19041

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0042746)
mirurita   
2011-11-11 09:31   
Verified.