Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014016Openbravo ERP07. Sales managementpublic2010-07-21 12:362010-07-30 00:00
networkb 
harikrishnan 
highmajoralways
closedfixed 
5
2.50MP19 
2.50MP21 
Core
No
0014016: It is not possible save a line with a price adjustment
If we have a Price Adjustment with Discount % = 100, it is not possible to save a line
- As Openbravo Admin go to Master Data Management || Pricing || Price Adjustments || Adjustments
- Select 'Discount for The Flintstone Foundries'
    - Ending Date: 01-01-2040
    - Discount %: 100

- Go to Sales Management || Transactions || Sales Order
- Create a record.
    - BP: The Stones Foundries
- Go to Lines
    - Product: hammer
- Save
- Realize that an error appears
No tags attached.
Issue History
2010-07-21 12:36networkbNew Issue
2010-07-21 12:36networkbAssigned To => adrianromero
2010-07-22 11:58adrianromeroNote Added: 0029467
2010-07-22 17:02adrianromeroStatusnew => scheduled
2010-07-22 17:02adrianromerofix_in_branch => pi
2010-07-27 13:40harikrishnanAssigned Toadrianromero => harikrishnan
2010-07-27 13:42hgbotCheckin
2010-07-27 13:42hgbotNote Added: 0029590
2010-07-27 13:42hgbotStatusscheduled => resolved
2010-07-27 13:42hgbotResolutionopen => fixed
2010-07-27 13:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ff9d8e6fe0700f41dd2db7ea20fd0828e14c9c71 [^]
2010-07-27 23:48hudsonbotCheckin
2010-07-27 23:48hudsonbotNote Added: 0029620
2010-07-29 08:48sureshbabuNote Added: 0029654
2010-07-29 08:48sureshbabuStatusresolved => closed
2010-07-29 08:49sureshbabuNote Edited: 0029654bug_revision_view_page.php?bugnote_id=0029654#r627
2010-07-30 00:00anonymoussf_bug_id0 => 3036810

Notes
(0029467)
adrianromero   
2010-07-22 11:58   
the error is:

The column adjusted price is mandatory and cannot be left empty

in C_ORDERLINE_TRIGGER_2
(0029590)
hgbot   
2010-07-27 13:42   
Repository: erp/devel/pi
Changeset: ff9d8e6fe0700f41dd2db7ea20fd0828e14c9c71
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Jul 27 17:11:31 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/ff9d8e6fe0700f41dd2db7ea20fd0828e14c9c71 [^]

Fixes Issue 14016: It is not possible save a line with a price adjustment.

---
M src-db/database/model/triggers/C_ORDERLINE_TRG2.xml
---
(0029620)
hudsonbot   
2010-07-27 23:48   
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/ff9d8e6fe070 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/5cf2bb15d5b1 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17927.obx [^]
(0029654)
sureshbabu   
2010-07-29 08:48   
(edited on: 2010-07-29 08:49)
verified, by creating price adjustments with Discount percentage as 100%