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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014717
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2010-09-28 12:592010-10-30 11:24
ReporternetworkbView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision6aa65b673861
ProjectionnoneETAnoneTarget Version2.50MP23
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014717: the accounting generated in a bank statement, with currency distinct to schema currency, is not correct

Descriptionif you create a debt payment from bank statement line, with currency distinct to schema currency, when you post the settlement generated with bank statement, the accounting is wrong
Steps To Reproduce. create conversion rates:
General Setup || Application || Conversion Rates || Conversion Rate
 new record:
   from currency EUR
   to currency USD
   valid from 01/01/2010
   valid to 30/08/2010
   multiply rate 3
   divide rate 0.333333
 new record:
   from currency USD
   to currency EUR
   valid from 01/01/2010
   valid to 30/08/2010
   multiply rate 0.333333
   divide rate 3
 new record:
   from currency EUR
   to currency USD
   valid from 01/09/2010
   valid to 31/12/2010
   multiply rate 2
   divide rate 0.5
 new record:
   from currency USD
   to currency EUR
   valid from 01/09/2010
   valid to 31/12/2010
   multiply rate 0.5
   divide rate 2

. create bank statement
Financial Management || Receivables & Payables || Transactions || Bank Statement || Header
 Transaction Date 30/08/2010

Financial Management || Receivables & Payables || Transactions || Bank Statement || Header >> Lines
 run create payment process
  business partner: mcGiver
  amount 100
  currency USD
  Form of payment: bank deposit
  
. process and post bank statement.

. go to settlement generated to process the bankstatement (*BSP*XXXX)
Financial Management || Receivables & Payables || Transactions || Settlement || Settlement
. post the setlement:
 entry generated is:
76800 Diferencias positivas de cambio 16.67
40000 Proveedores (euros) 50.00
55500 Partidas pendientes de aplicación 33.33
Proposed Solutionthe date of settlement generated to create the debt payment, should be the same date that debt payment date
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00155332.50MP26 closeddalsasua accounting generated in cancellation settlement of a bank statement, with currency distinct to schema currency, is not correct 

-  Notes
(0031987)
hgbot (developer)
2010-10-19 17:16

Repository: erp/devel/pi
Changeset: 6aa65b673861697bfa8feac999846ea1ff159a94
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Oct 19 17:18:06 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6aa65b673861697bfa8feac999846ea1ff159a94 [^]

Fixed bug 14717: the accounting generated in a bank statement, with currency
distinct to schema currency, is not correct

The generated payment is created with the same date as the bank line accounting date

---
M src-db/database/model/functions/C_DEBT_PAYMENT_CREATE.xml
---
(0032030)
hudsonbot (developer)
2010-10-20 23:44

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/6aa65b673861 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/580d14a11e98 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18576.obx [^]
(0032041)
sureshbabu (reporter)
2010-10-21 08:11

Right now the date of settlement generated to create the debt payment, is same date to that debt payment date

- Issue History
Date Modified Username Field Change
2010-09-28 12:59 networkb New Issue
2010-09-28 12:59 networkb Assigned To => dalsasua
2010-10-19 17:12 vmromanos Status new => scheduled
2010-10-19 17:12 vmromanos Assigned To dalsasua => vmromanos
2010-10-19 17:12 vmromanos fix_in_branch => pi
2010-10-19 17:16 hgbot Checkin
2010-10-19 17:16 hgbot Note Added: 0031987
2010-10-19 17:16 hgbot Status scheduled => resolved
2010-10-19 17:16 hgbot Resolution open => fixed
2010-10-19 17:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6aa65b673861697bfa8feac999846ea1ff159a94 [^]
2010-10-20 23:44 hudsonbot Checkin
2010-10-20 23:44 hudsonbot Note Added: 0032030
2010-10-21 08:11 sureshbabu Note Added: 0032041
2010-10-21 08:11 sureshbabu Status resolved => closed
2010-10-30 11:24 anonymous sf_bug_id 0 => 3098737
2010-12-28 13:42 maite Relationship added related to 0015533


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker