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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015490
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2010-12-20 17:292010-12-30 13:14
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision23aa8b17ec20
ProjectionnoneETAnoneTarget Version3.0RC4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0RC3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015490: Error when processing Return Material order which has Discount applied

DescriptionIf 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 Reproduce1. 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 SolutionThe check for not allowing negative quantities must just for items products
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00148162.50MP25 closedadrianromero Error when processing Return Material order which has Discount applied 

-  Notes
(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 (manager)
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 (manager)
2010-12-20 18:22

Tested working fine
(0033462)
hudsonbot (developer)
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 [^]

- Issue History
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 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
Powered by Mantis Bugtracker