Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023541Openbravo ERP04. Warehouse managementpublic2013-04-12 13:132013-06-01 02:14
ngarcia 
Sandrahuguet 
highminoralways
closedfixed 
5
 
3.0MP24 
pramakrishnan
Core
No
0023541: In BOM Production part products could be produced
In BOM Production part products could be produced and it shouldn't

You shouldn't be able to define negative quantities in Product - Bill of Materials tab and you shouldn't be able to change the quantity of a consumed product to positive in Bill of Materials Production - Production Plan - I/O Products tab
As group admin role:
   Scenario 1:
      Create a new product and mark it as Bill of Materials and stocked
      Go to Bill of Material tabs and add two products: one with a positive quantity and one with a negative quantity
      Verify the BOM and check the process finishes successfully
      Go to Bill of Materials Production window and create a new record for that product
      Create/Process Production
      Notice that two products are produced and one is consumed

   Scenario 2:
      Create a new product and mark it as Bill of Materials and stocked
      Go to Bill of Material tabs and add two products: both with a positive quantity
      Verify the BOM
      Go to Bill of Materials Production window and create a new record for that product
      Create/Process Production
      Change the quantity of one of the consumed product (in I/O Products tab) to positive
      Check that you could process it
No tags attached.
related to defect 00244733.0MP27 closed pramakrishnan In BOM Production part products could be produced and it shouldn't 
related to defect 00265413.0PR14Q3 closed AtulOpenbravo Quantities of produced and used products in a Work effort should not be negative 
Issue History
2013-04-12 13:13ngarciaNew Issue
2013-04-12 13:13ngarciaAssigned To => dmiguelez
2013-04-12 13:13ngarciaModules => Core
2013-04-12 13:13ngarciaResolution time => 1372197600
2013-04-12 13:13ngarciaTriggers an Emergency Pack => No
2013-04-12 13:13ngarciaIssue Monitored: networkb
2013-04-12 13:14ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4569#r4569
2013-04-12 13:18dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-05-20 12:00jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2013-05-27 16:52SandrahuguetAssigned ToioritzCia => Sandrahuguet
2013-05-28 17:36SandrahuguetStatusnew => scheduled
2013-05-28 17:36Sandrahuguetfix_in_branch => pi
2013-05-29 14:02hgbotCheckin
2013-05-29 14:02hgbotNote Added: 0059045
2013-05-29 14:02hgbotStatusscheduled => resolved
2013-05-29 14:02hgbotResolutionopen => fixed
2013-05-29 14:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/861974c450d8ab24a30883a08eb7020cc61456aa [^]
2013-05-29 14:04pramakrishnanReview Assigned To => pramakrishnan
2013-05-29 14:04pramakrishnanNote Added: 0059046
2013-05-29 14:04pramakrishnanStatusresolved => closed
2013-06-01 02:14hudsonbotCheckin
2013-06-01 02:14hudsonbotNote Added: 0059100
2013-08-01 14:19ngarciaRelationship addedrelated to 0024473
2014-05-13 17:40ngarciaRelationship addedrelated to 0026541

Notes
(0059045)
hgbot   
2013-05-29 14:02   
Repository: erp/devel/pi
Changeset: 861974c450d8ab24a30883a08eb7020cc61456aa
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue May 28 17:40:59 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/861974c450d8ab24a30883a08eb7020cc61456aa [^]

Fixed bug 23541 It is not allow negative quantities in BOMProducts

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_process/VerifyBOM.java
---
(0059046)
pramakrishnan   
2013-05-29 14:04   
Code Review + Testing - OK.
(0059100)
hudsonbot   
2013-06-01 02:14   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/31f9b82dde77 [^]

Maturity status: Test