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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012859
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementminoralways2010-04-01 21:302012-03-27 14:08
ReporterraguilarView Statuspublic 
Assigned ToSandrahuguet 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012859: m_production_run function doesn't validate if product has isstocked value set to 'N' and send NoEnoughStocked error

DescriptionIn line 374 of m_production_run the line validates if product has inventory in order to the BOM Production can run. This is done for all product regardless of the isSotcked attibute value.

The orginal line in teh m_production_run is:

IF (v_QtyAcumulated < CUR_BOM.BOMQTY*CUR_BOM.ProductionQty) THEN

and should be:

 IF (v_QtyAcumulated < CUR_BOM.BOMQTY*CUR_BOM.ProductionQty) AND Cur_BOM.isSotcked = 'Y' THEN

To skip inventory validation for non stocked products
Steps To ReproduceAsign a product the product type Service or Item and the attribute isStrocked to 'N' and the asign this to a BOM of another product with isStocked attribute set to 'Y', BOM set to 'Y' and Product Type to item.

Then run Bill of Materials Production menu option to produce the product with BOM and you'll get the error message:

Error:
Insufficient stock:: product xxx 0 / n
Proposed SolutionChange condition in line 374 of the m:production_run to

IF (v_QtyAcumulated < CUR_BOM.BOMQTY*CUR_BOM.ProductionQty) AND Cur_BOM.isSotcked = 'Y' THEN
TagsVMA-Reviewed
Attached Files? file icon m_production_run.sql [^] (25,738 bytes) 2010-04-01 21:30

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0014298 closedSandrahuguet BOM: option 'product quantity must be on stock' doesn't seem to affect the outcome when left blank 

-  Notes
(0025890)
adrianromero (manager)
2010-04-06 11:15

The severity and priority has been lowered according the Bug Reporting Guidelines:

http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]
(0046771)
vmromanos (manager)
2012-03-27 14:08

Fixed in 0014298

- Issue History
Date Modified Username Field Change
2010-04-01 21:30 raguilar New Issue
2010-04-01 21:30 raguilar Assigned To => adrianromero
2010-04-01 21:30 raguilar File Added: m_production_run.sql
2010-04-01 21:31 raguilar Issue Monitored: raguilar
2010-04-06 11:15 adrianromero Note Added: 0025890
2010-04-06 11:15 adrianromero Priority immediate => normal
2010-04-06 11:15 adrianromero Severity critical => minor
2011-06-03 10:59 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:12 dalsasua Assigned To dalsasua => jonalegriaesarte
2011-09-29 17:05 gorkaion Status new => scheduled
2011-09-29 17:05 gorkaion fix_in_branch => pi
2012-02-15 19:04 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-16 16:31 vmromanos Tag Attached: VMA-Reviewed
2012-03-20 13:59 Sandrahuguet Assigned To vmromanos => Sandrahuguet
2012-03-20 14:09 Sandrahuguet Relationship added related to 0014298
2012-03-27 14:08 vmromanos Relationship replaced duplicate of 0014298
2012-03-27 14:08 vmromanos Note Added: 0046771
2012-03-27 14:08 vmromanos Status scheduled => closed
2012-03-27 14:08 vmromanos Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker