Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009695Openbravo ERP09. Financial managementpublic2009-06-25 11:232009-07-13 12:25
networkb 
eduardo_Argal 
immediateminoralways
closedfixed 
5
2.40MP3 
2.40MP7 
Core
No
0009695: Conversion rate is not applied to witholding when posting cancelled payment from bank statement
A partner has defined a withholding for purchasing invoices.
The official Currency of the Client is, for example, Euros. However, the business partner purchase price list, uses, other currency, for example, USD.

A new purchase is created, for this partner, selecting the witholding.
Complete and post it.

Create a new Bank statement for this payment. Complete it and post it.

Go to cancelled payment (linked to bank statement line) and post it.

It appears a line in the gl journal, with "Suspense Balancing", whos amount is the same that witholding conversion rate.

(See the attached picture)
Create a withholding in Master Data Management > Businness Partner Category > Witholding. Set 10, as rate.

Link this witholding to a business partner (provider), in Master Data Management > Business Partner > Witholding tab.

Go to Master Data Management > Business Partner > Vendor/Credit Tab. Here, link to Purchase Price List. Change its currency to USD.

Go to General Setup > Conversion rate. Generate one from USD to EUR from 01-01-2000 to 01-01-2030. Multiplied by 0.5
Generate other one from EUR to USD (same dates, Multiplied by 2)

Create a new purchase invoice (with lines). Select the business partner, and witholding.
Complete it and post it.

Create a new Bank Statement an includes the invoice. Complete and post it.

Go to its lines, and press "Linked items". Go to its Cancelled payment.

In cancelled payment, to its Header and post it.

The final gl journal is not correct
No tags attached.
blocks defect 0009626 closed eduardo_Argal Conversion rate is not applied to witholding when posting cancelled payment from bank statement 
Issue History
2009-06-29 13:20psarobeTypedefect => backport
2009-06-29 13:20psarobefix_in_branch => 2.40
2009-07-10 23:09hgbotCheckin
2009-07-10 23:09hgbotNote Added: 0018125
2009-07-10 23:09hgbotStatusscheduled => resolved
2009-07-10 23:09hgbotResolutionopen => fixed
2009-07-10 23:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/bbc3194856a50636acf6d3a837f2e751c01c729b [^]
2009-07-13 12:25sureshbabuStatusresolved => closed
2009-07-13 12:25sureshbabuNote Added: 0018160
2009-07-13 12:25sureshbabuFixed in Version => 2.40MP7

Notes
(0018125)
hgbot   
2009-07-10 23:09   
Repository: erp/stable/2.40
Changeset: bbc3194856a50636acf6d3a837f2e751c01c729b
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Fri Jul 10 23:08:30 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/bbc3194856a50636acf6d3a837f2e751c01c729b [^]

Fixes bug 0009695: Conversion rate is not applied to witholding when posting cancelled payment from bank statement

---
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0018160)
sureshbabu   
2009-07-13 12:25   
Tested working fine