Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019031Openbravo ERPZ. Otherspublic2011-09-19 19:362011-11-11 09:31
mirurita 
eduardo_Argal 
normalminoralways
closedfixed 
5
 
 
Advanced Payables and Receivables Mngmt
No
0019031: Multicurrency - When using credit the amount is not converted
When using credit the amount is not converted
1) Create a Sales Invoice
  - Business Partner: Restaurantes Luna Llena, S.A.
  - Amount: 30$ USD
2) Create a Payment In of credit (generate)
  - Business Partner: Restaurantes Luna Llena, S.A.
  - Amount: 100€ EUR
3) Go to 'Banco de España - Cuenta 2' and configure 'Transferencia' payment method for 'Receive Payments in Other Currencies'
4) Click on 'Add Transaction' button.
5) Click on 'Add Payment In/Out' button
6) Select 'Restaurantes Luna Llena, S.A.' in Received From field
7) Select Transferencia in Payment Method combo box
8) Select USD in currency combo
9) Check 'Use Available Credit' checkbox
10) Notice that there is a difference of 70

With a exchange rate of 0.8
30$ --> 24€

the difference should be 100€ - 24€ = 76€


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 0018559 closed eduardo_Argal Multicurrency - When using credit the amount is not converted 
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: 0042739
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-11 09:31miruritaNote Added: 0042747
2011-11-11 09:31miruritaStatusresolved => closed

Notes
(0042739)
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
---
(0042747)
mirurita   
2011-11-11 09:31   
Verified.