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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024569
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2013-08-23 11:242014-05-07 18:11
ReportermaiteView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione367e4ce1f98
ProjectionnoneETAnoneTarget Version3.0PR14Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Topramakrishnan
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024569: Inconsistent "Discount" calculated when using "Discounts and Promotions"

DescriptionInconsistent "Discount" calculated when using "Discounts and Promotions"
Steps To Reproduce1. Access "Discount and Promotions" window and define "Price Adjustment" of 10% for specific BP and Product
2. Access Sales Order window and create new record for previously chosen BP.
3. Add new line for previously chosen Product. Realize that Net Unit Price is properly affected and "Discount" field is set to 0.00
4. Access ""Discount and Promotions" window and modify defined Price Adjustment to set 100% Discount
5. Come back to Sales Order, add new line for same Product. Realize that Net Unit Price is properly affected and set to 0.00 (as discount is 100%) but "Discount" field is set to 100%

According to following documentation http://forge.openbravo.com/plugins/mwiki/index.php/Priceadperline/Specifications [^]
"discount" field should not be affected by Price Adjustments
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
causes defect 00291713.0PR15Q2 closedAtulOpenbravo The sales order is not taking into account the unit price of the product when is 0 

-  Notes
(0065655)
psarobe (manager)
2014-04-01 11:57
edited on: 2014-04-01 11:58

See this link to understand the problem http://forge.openbravo.com/plugins/mwiki/index.php/Priceadperline/Specifications [^]

The problem is that the Base Net Unit Price or Base Gross Unit Price, depending if the pricelist has taxes or not, is set to zero when the discount is 100%. Take a look why this price is set to zero. It shouldn't be changed as it happens if the discount is <100

(0066497)
hgbot (developer)
2014-04-16 14:21

Repository: erp/devel/pi
Changeset: e367e4ce1f9852519224ff1ec15553f5759a3011
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Apr 15 16:11:19 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e367e4ce1f9852519224ff1ec15553f5759a3011 [^]

Fixes Issue 24569 Inconsistent Discount when using "Discounts and Promotions"

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
---
(0066498)
pramakrishnan (developer)
2014-04-16 14:23

Code Review + Testing - OK.
(0066944)
hudsonbot (developer)
2014-05-07 18:11

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/02ca2648bcdc [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-08-23 11:24 maite New Issue
2013-08-23 11:24 maite Assigned To => dmiguelez
2013-08-23 11:24 maite Modules => Core
2013-08-23 11:24 maite Triggers an Emergency Pack => No
2013-08-23 11:25 maite Target Version => 3.0MP28
2013-08-28 13:55 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2013-09-16 13:17 jonalegriaesarte Target Version 3.0MP28 => 3.0MP29
2013-10-07 16:32 jonalegriaesarte Target Version 3.0MP29 => 3.0MP30
2013-11-06 09:29 jonalegriaesarte Assigned To jonalegriaesarte => pramakrishnan
2013-12-02 09:54 jonalegriaesarte Target Version 3.0MP30 => 3.0MP31
2014-01-02 12:38 jonalegriaesarte Target Version 3.0MP31 => 3.0MP32
2014-03-11 16:47 jonalegriaesarte Resolution time => 1395702000
2014-03-31 16:17 jonalegriaesarte Target Version PR14Q2 => PR14Q3
2014-04-01 11:57 psarobe Note Added: 0065655
2014-04-01 11:58 psarobe Note Edited: 0065655 View Revisions
2014-04-02 07:36 AtulOpenbravo Assigned To pramakrishnan => AtulOpenbravo
2014-04-02 07:36 AtulOpenbravo Status new => scheduled
2014-04-02 07:36 AtulOpenbravo fix_in_branch => pi
2014-04-16 14:20 AtulOpenbravo Review Assigned To => pramakrishnan
2014-04-16 14:20 AtulOpenbravo fix_in_branch pi =>
2014-04-16 14:21 hgbot Checkin
2014-04-16 14:21 hgbot Note Added: 0066497
2014-04-16 14:21 hgbot Status scheduled => resolved
2014-04-16 14:21 hgbot Resolution open => fixed
2014-04-16 14:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e367e4ce1f9852519224ff1ec15553f5759a3011 [^]
2014-04-16 14:23 pramakrishnan Note Added: 0066498
2014-04-16 14:23 pramakrishnan Status resolved => closed
2014-05-07 18:11 hudsonbot Checkin
2014-05-07 18:11 hudsonbot Note Added: 0066944
2015-03-16 17:30 aferraz Relationship added causes 0029171


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker