Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018346Openbravo ERP07. Sales managementpublic2011-08-24 10:442011-08-30 19:38
maite 
jonalegriaesarte 
immediatemajoralways
closedfixed 
5
pi 
3.0MP33.0MP3 
Core
No
0018346: Is not possible to apply Discount=10% at sales order line as discount field is recalculated
Is not possible to apply Discount=10% at sales order line as discount field is recalculated. In 2.50 that behaviour is possible and seems that it is not working in Openbravo 3 due to callout's backend execution
1. Go to Sales Order window
2. Create header for Healthy Food Supermarkets, Co. partner
3. Add Line for Apple Juice product. Realize that Net Unit Price=Net List Price=1.13 are loaded based on price list definition
4. Set 10 in Discount field and callout will be executed to calculate Net Unit Price. Realize that finally Discount is set to 9.73 (instead of 10, as it should remain) as it has been recalculated
No tags attached.
Issue History
2011-08-24 10:44maiteNew Issue
2011-08-24 10:44maiteAssigned To => jonalegriaesarte
2011-08-24 10:44maiteModules => Core
2011-08-24 10:44maiteResolution time => 1316901600
2011-08-24 10:44maiteIssue Monitored: networkb
2011-08-24 12:40jonalegriaesarteTarget Version => 3.0MP3
2011-08-29 10:05hgbotCheckin
2011-08-29 10:05hgbotNote Added: 0040526
2011-08-29 10:05hgbotStatusnew => resolved
2011-08-29 10:05hgbotResolutionopen => fixed
2011-08-29 10:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4aefc5f4d063513889ce64b55e695fa9b6dd88f6 [^]
2011-08-29 11:24maiteNote Added: 0040533
2011-08-29 11:24maiteStatusresolved => closed
2011-08-29 11:24maiteFixed in Version => 3.0MP3
2011-08-30 19:38hudsonbotCheckin
2011-08-30 19:38hudsonbotNote Added: 0040563

Notes
(0040526)
hgbot   
2011-08-29 10:05   
Repository: erp/devel/pi
Changeset: 4aefc5f4d063513889ce64b55e695fa9b6dd88f6
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Mon Aug 29 10:04:30 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4aefc5f4d063513889ce64b55e695fa9b6dd88f6 [^]

Fixes issue 0018346: Is not possible to apply Discount=10% at sales order line
as discount field is recalculated

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt_data.xsql
---
(0040533)
maite   
2011-08-29 11:24   
verified
(0040563)
hudsonbot   
2011-08-30 19:38   
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/dfde2574ecaf [^]

Maturity status: Test