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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009119
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] Z. Othersmajoralways2009-05-20 19:382009-06-01 07:18
ReporternetworkbView Statuspublic 
Assigned Togorkaion 
PriorityimmediateResolutionfixedFixed in Version2.35MP13
StatusclosedFix in branch2.3xFixed in SCM revision2e1e60273c9a
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product Version2.35MP10SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009119: 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).
TagsNo tags attached.
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
(0016591)
hgbot (developer)
2009-05-22 16:39

Repository: erp/stable/2.3x
Changeset: 2e1e60273c9a03bcbd4d1adb1656886056ff67f5
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri May 22 16:39:08 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.3x/rev/2e1e60273c9a03bcbd4d1adb1656886056ff67f5 [^]

Fixed bug 9119.Applied patch of issue 6912.

---
M database/model/functions/C_ORDER_POST1.xml
---
(0016782)
sureshbabu (reporter)
2009-06-01 07:18

Tested working fine

- Issue History
Date Modified Username Field Change
2009-05-20 19:38 networkb New Issue
2009-05-20 19:38 networkb Assigned To => rafaroda
2009-05-20 19:38 networkb Regression testing => No
2009-05-21 10:56 rafaroda Assigned To rafaroda => gorkaion
2009-05-21 10:56 rafaroda Status new => scheduled
2009-05-21 10:56 rafaroda Type defect => backport
2009-05-21 10:56 rafaroda fix_in_branch => 2.3x
2009-05-21 10:56 rafaroda Summary It is not possible to deactivate a product which has an ordered quantity of zero in 2.35 version (related to issue 6912 ) => It is not possible to deactivate a product which has an ordered quantity of zero
2009-05-21 10:56 rafaroda Description Updated
2009-05-21 10:56 rafaroda Proposed Solution updated
2009-05-21 10:56 rafaroda Relationship added related to 0006912
2009-05-21 10:57 rafaroda Relationship replaced blocks 0006912
2009-05-22 16:39 hgbot Checkin
2009-05-22 16:39 hgbot Note Added: 0016591
2009-05-22 16:39 hgbot Status scheduled => resolved
2009-05-22 16:39 hgbot Resolution open => fixed
2009-05-22 16:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.3x/rev/2e1e60273c9a03bcbd4d1adb1656886056ff67f5 [^]
2009-06-01 07:18 sureshbabu Status resolved => closed
2009-06-01 07:18 sureshbabu Note Added: 0016782
2009-06-01 07:18 sureshbabu Fixed in Version => 2.35MP13


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker