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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021431
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2012-08-23 10:022012-09-01 01:03
ReportermaiteView Statuspublic 
Assigned ToioritzCia 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiond749340d037e
ProjectionnoneETAnoneTarget Version3.0MP15
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

0021431: Set Exchange Rate at Invoice level when @HASREVERSEDINVOICESO@='Y' but original invoice does NOT have Exchange Rate defined

DescriptionYou registered original multicurrency Invoice, which was posted using system exchange rate (not set specific Exchange Rate at invoice's level). Some days later (when system exchange rate is different) this multicurrency Invoice is voided. You need to define specific exchange rate at reversed invoice's level but you are not allowed as @HASREVERSEDINVOICESO@='Y'
Steps To Reproduce1. Modify "General Sales" pricelist to be defined at * organization
2. Create Sales Invoice for EspaƱa, date=01/05/2012 any BP and set pricelist= General Sales
3. Add any line and process invoice.
4. Post invoice and realize that system exchange rate has been used (which is ok)
5. Void that sales Invoice. Reversed Invoice has been created for today's date
6. Post Reversed invoice and realized that exchange rate is different. Try to add record in "Exchange Rate" tab of reversed invoice and you are not allowed.

You should be able to set Exchange Rate for that reversed invoice (same exchange rate that original invoice) as you need to settle that records
Proposed SolutionModify ReadOnlyLogic of Invoices "Exchange Rate" fields to do it more restrictive.

- If reversed invoice has original invoice associated, and this original invoice had specific "Exchange rate" defined --> NOT BE ABLE to define exchange rate in reversed invoice
- If reversed invoice has original invoice associated, and this original invoice had NOT specific "Exchange rate" defined --> BE ABLE to define exchange rate in reversed invoice
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051688)
hgbot (developer)
2012-08-30 14:24

Repository: erp/devel/pi
Changeset: d749340d037e9602005b9e3b8665b54c4b8ef4fd
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Aug 30 10:51:12 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d749340d037e9602005b9e3b8665b54c4b8ef4fd [^]

Fixes issue 21431: Exchange Rate tab readonly logic modified.
Set Exchange Rate at Invoice level when @HASREVERSEDINVOICESO@='Y' but original invoice does NOT have Exchange Rate defined.

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
---
(0051704)
maite (developer)
2012-08-31 12:07

verified
(0051747)
hudsonbot (developer)
2012-09-01 01:03

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/05b3ea484705 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-08-23 10:02 maite New Issue
2012-08-23 10:02 maite Assigned To => mirurita
2012-08-23 10:02 maite Modules => Core
2012-08-23 10:04 maite Target Version => 3.0MP15
2012-08-23 10:04 maite Issue Monitored: networkb
2012-08-23 13:08 naiaramartinez Assigned To mirurita => jonalegriaesarte
2012-08-28 10:14 jonalegriaesarte Assigned To jonalegriaesarte => ioritzCia
2012-08-30 14:24 hgbot Checkin
2012-08-30 14:24 hgbot Note Added: 0051688
2012-08-30 14:24 hgbot Status new => resolved
2012-08-30 14:24 hgbot Resolution open => fixed
2012-08-30 14:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d749340d037e9602005b9e3b8665b54c4b8ef4fd [^]
2012-08-31 12:07 maite Note Added: 0051704
2012-08-31 12:07 maite Status resolved => closed
2012-09-01 01:03 hudsonbot Checkin
2012-09-01 01:03 hudsonbot Note Added: 0051747


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker