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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006941
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] Z. Othersminoralways2009-01-15 14:032009-01-25 22:41
ReporternetworkbView Statuspublic 
Assigned Togorkaion 
PriorityimmediateResolutionfixedFixed in Version2.40MP2
StatusclosedFix in branch2.40Fixed in SCM revision12053
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006941: It is not possible to deactivate a product which has an ordered quantity of zero.

DescriptionIf we have a product which is related to a certain sales
order or purchase order it is not possible to deactivate it.

When we change the ordered quantity field to zero in the lines of a sales order or purchase order, the QTYRESERVED column should be automatically updated to zero in order to update the M_STORAGE_PENDING table.

This is not done, so, it is not possible to DEACTIVATE this product.
Steps To ReproduceThe steps to reproduce this issue are:

*Sales Management or Procurement Managenet/Sales Order:
- Create a new SO/PO and in its' lines select a product and an Ordered Quantity, save and complete. You will see the new value in QTYRESERVED column of the M_STORAGE_PENDING table.
- Reactivate the order and in the lines change the Ordered Quantity to zero, save and complete. The QTYRESERVED column of the M_STORAGE_PENDING table must change to zero, it isn't changed. The previous value remain.

*Master Data Management/Product
- Try to deactivate the product, it is not possible (red message: cannot deactivate the product because it has inventory).
Tagscomsup_sprint4
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0006912 closedgorkaion It is not possible to deactivate a product which has an ordered quantity of zero. 

-  Notes
(0012384)
svnbot (reporter)
2009-01-20 11:28

Repository: openbravo
Revision: 12053
Author: gorkaion
Date: 2009-01-20 11:28:51 +0100 (Tue, 20 Jan 2009)

Fixed bug 6941. Fixed the C_ORDER_POST1 procedure to properly manage the reserved quantity in the M_Storage_Pending table.

---
U branches/r2.40/src-db/database/model/functions/C_ORDER_POST1.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12053&sc=1 [^]

- Issue History
Date Modified Username Field Change
2009-01-16 11:14 rafaroda Type defect => backport
2009-01-16 11:14 rafaroda fix_in_branch => 2.40
2009-01-16 11:14 rafaroda Assigned To rafaroda => gorkaion
2009-01-20 11:28 svnbot Checkin
2009-01-20 11:28 svnbot Note Added: 0012384
2009-01-20 11:28 svnbot Status scheduled => resolved
2009-01-20 11:28 svnbot Resolution open => fixed
2009-01-20 11:28 svnbot svn_revision => 12053
2009-01-23 11:33 gorkaion Tag Attached: comsup_sprint4
2009-01-25 22:41 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker