Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015490 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | minor | always | 2010-12-20 17:29 | 2010-12-30 13:14 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 23aa8b17ec20 | ||||
Projection | none | ETA | none | Target Version | 3.0RC4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0RC3 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0015490: Error when processing Return Material order which has Discount applied | |||||||
Description | If you have defined a discount for a BP, and you try to process Return Material order for this BP you get an error. | |||||||
Steps To Reproduce | 1. Master Data Management || Business Partner || Business Partner >> Discount : create record for Discount03% with all check-bocks checked, for Mcgiver business partner 2. Sales Management || Transactions || Sales Order || Header : create "Return Material" order for mcgiver 3. Sales Management || Transactions || Sales Order || Header >> Lines : add line with product=Hat and qty= -1 4.come back to header and try to process. You will receive the following error: Return Material order lines require negative quantities. The error is because when processing it is trying to add another line to product "Discount03" with qty positive. | |||||||
Proposed Solution | The check for not allowing negative quantities must just for items products | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0033306) hgbot (developer) 2010-12-20 17:37 |
Repository: erp/devel/pi Changeset: 23aa8b17ec20e8617ba58100b68467e0e709da76 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Mon Dec 20 17:31:51 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/23aa8b17ec20e8617ba58100b68467e0e709da76 [^] Fixes issue 0015490: Error when processing Return Material order which has Discount applied It has been removed discount lines from the check in return material orders --- M src-db/database/model/functions/C_ORDER_POST1.xml --- |
(0033309) adrianromero (viewer) 2010-12-20 17:42 |
* Testing the issue Kindly follow the steps to test and verify that a return material order with discounts can be properly completed. Verify also that the discount amounts in the material order are correct. * Other areas affected It is only affected the process of completing orders, and in particular only return material orders. Verify also that normal orders and return material orders without discounts can be completed and there is not any change in the behavior. |
(0033317) psarobe (viewer) 2010-12-20 18:22 |
Tested working fine |
(0033462) hudsonbot (viewer) 2010-12-30 13:14 |
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/23aa8b17ec20 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2010-12-20 17:29 | adrianromero | New Issue | |
2010-12-20 17:29 | adrianromero | Assigned To | => adrianromero |
2010-12-20 17:29 | adrianromero | Modules | => Core |
2010-12-20 17:29 | adrianromero | OBNetwork customer | => Yes |
2010-12-20 17:29 | adrianromero | Issue generated from | 0014816 |
2010-12-20 17:29 | adrianromero | Relationship added | depends on 0014816 |
2010-12-20 17:30 | adrianromero | Type | backport => defect |
2010-12-20 17:37 | hgbot | Checkin | |
2010-12-20 17:37 | hgbot | Note Added: 0033306 | |
2010-12-20 17:37 | hgbot | Status | new => resolved |
2010-12-20 17:37 | hgbot | Resolution | open => fixed |
2010-12-20 17:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/23aa8b17ec20e8617ba58100b68467e0e709da76 [^] |
2010-12-20 17:42 | adrianromero | Note Added: 0033309 | |
2010-12-20 18:22 | psarobe | Note Added: 0033317 | |
2010-12-20 18:22 | psarobe | Status | resolved => closed |
2010-12-21 00:00 | anonymous | sf_bug_id | 0 => 3141014 |
2010-12-30 13:14 | hudsonbot | Checkin | |
2010-12-30 13:14 | hudsonbot | Note Added: 0033462 |
Copyright © 2000 - 2009 MantisBT Group |