Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0012859 | Openbravo ERP | 04. Warehouse management | public | 2010-04-01 21:30 | 2012-03-27 14:08 | |||||||
Reporter | raguilar | |||||||||||
Assigned To | Sandrahuguet | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | duplicate | |||||||||
Platform | OS | 20 | OS Version | Community Appliance | ||||||||
Product Version | 2.50MP9 | |||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0012859: m_production_run function doesn't validate if product has isstocked value set to 'N' and send NoEnoughStocked error | |||||||||||
Description | In 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 Reproduce | Asign 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 Solution | Change 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 | |||||||||||
Additional Information | ||||||||||||
Tags | VMA-Reviewed | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=2398&type=bug | |||||||||||
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 | OBNetwork customer | => No | |||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|