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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014298
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementtrivialalways2010-08-25 11:062012-04-02 06:12
ReporterRenateNieuwkoopView Statuspublic 
Assigned ToSandrahuguet 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision1f38c8332560
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version2.50MP20SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014298: BOM: option 'product quantity must be on stock' doesn't seem to affect the outcome when left blank

DescriptionWhen you leave the checkbox 'product quantity must be on stock' blank in the Bill of Materials Production, this should mean that you do not need stock for the components. However, when left blank, the error message about no stock appears anyway, so what's the use of the checkbox then.

See attached screenshot
Steps To ReproduceIn the livebuild environment for postgresql:
Setup Products to use:
Master Data Management || Product
Create a new record: TV 17'', then US Power cable:
'Search Key', 'Name', 'Description' = TV 17'' (US Power Cable)
'Production' = Y, 'Sale' = N
'Product Category' = semi-finished products, save record
[Price]: 'Price List Version' = Purchase 2006
Enter prices: 300/250/190 for TV 17'', 10/8/6 for US Power Cable, save record
Access menu level: Master Data Management || Product
[Product]: Add a new product
'Search Key', 'Name', 'Description' = TV 17'' US
'Product Category' = Supplies
'Bill of Materials' = Y, 'Purchase' = N, save record
[Price]: 'Price List Version' = Sales 2006, 'Prices' = 400/350/340, save record
[Bill of Materials]:
Create a new record: 'BOM product' = TV 17'', 'Quantity' = 1, save record
Create a new record: 'BOM product' = US Power Cable, 'Quantity' = 1, save record

Go to menu: Warehouse Management || Transactions || Bill of Materials Production Create a BOM Production for TV 17'' US
[BOM Production]: create a new record, 'Name' = US TV BOM, save record
[Production Plan]: create new record, 'Product' = TV 17'' US, 'Production Quantity' = 10, save record
[BOM Production]: generate lines within [I/O Products] by using the 'Create/Post Production' button once, leave option 'Product quantity must be on stock' blank (meaning that stock is not required), click 'OK'

See that the error message appear that there is no stock - see screenshot
Proposed SolutionEither remove the checkbox or make it work
TagsVMA-Reviewed
Attached Filespng file icon 250810nostockBOM.png [^] (52,867 bytes) 2010-08-25 11:06

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00136292.50MP20 closedsivaraman in Bom Production, error "insuficient stock" is returned 
depends on defect 0020069 closedSandrahuguet Field and tab of bill of materials hidden in window Product 
has duplicate defect 0012859 closedSandrahuguet m_production_run function doesn't validate if product has isstocked value set to 'N' and send NoEnoughStocked error 

-  Notes
(0030304)
RenateNieuwkoop (reporter)
2010-08-25 11:10
edited on: 2010-08-25 11:13

Looks like this is reappearing of issue 13629, which was found in MP18 and supposedly fixed in MP20 by sivaraman

(0046622)
Sandrahuguet (developer)
2012-03-21 18:08

You must have seen the fields and tab in product window:
-field issummary
-field Bill of Materials
-button Verify BOM
-tab Bill of materials

Test plan:
-Create a new product called 'p1'
-Create a new product called 'p2'
-Create a new product called 'p':
  -bill of materials =yes
  -stocked=yes
  -product type=item
  -in tab bill of materials (include p1 y p2)
  -click in verify BOM

-Go to bill os materials
   -Create a new bill of materials
   -Create a production plan
      -Select 'p' product and Quantity=10

-Click the button Create/process production and the check is working correctly
(0046769)
hgbot (developer)
2012-03-27 14:06

Repository: erp/devel/pi
Changeset: 1f38c83325606636f7391a838fc44e59a0c9bc92
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Mar 21 17:07:38 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1f38c83325606636f7391a838fc44e59a0c9bc92 [^]

Fixed issue 14298 Correct operation for 'product quantity must be on stock'
Correct operation for 'product quantity must be on stock'
check box in the Bill of materials window

---
M src-db/database/model/functions/M_PRODUCTION_RUN.xml
---
(0046770)
vmromanos (manager)
2012-03-27 14:07

code review + testing OK
(0047241)
hudsonbot (developer)
2012-04-02 06:12

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/7814864461ac [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2010-08-25 11:06 RenateNieuwkoop New Issue
2010-08-25 11:06 RenateNieuwkoop Assigned To => adrianromero
2010-08-25 11:06 RenateNieuwkoop File Added: 250810nostockBOM.png
2010-08-25 11:10 RenateNieuwkoop Note Added: 0030304
2010-08-25 11:12 RenateNieuwkoop Note Edited: 0030304 View Revisions
2010-08-25 11:13 RenateNieuwkoop Note Edited: 0030304 View Revisions
2011-06-03 10:59 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:12 dalsasua Assigned To dalsasua => jonalegriaesarte
2012-02-15 19:05 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-16 14:28 vmromanos Tag Attached: VMA-Reviewed
2012-03-20 10:41 Sandrahuguet Assigned To vmromanos => Sandrahuguet
2012-03-20 10:41 Sandrahuguet Issue Monitored: Sandrahuguet
2012-03-20 10:41 Sandrahuguet Issue End Monitor: Sandrahuguet
2012-03-20 10:42 Sandrahuguet Status new => scheduled
2012-03-20 10:42 Sandrahuguet fix_in_branch => pi
2012-03-20 13:50 vmromanos Relationship added related to 0013629
2012-03-20 14:09 Sandrahuguet Relationship added related to 0012859
2012-03-21 12:12 vmromanos Relationship added depends on 0020069
2012-03-21 18:08 Sandrahuguet Note Added: 0046622
2012-03-27 14:06 hgbot Checkin
2012-03-27 14:06 hgbot Note Added: 0046769
2012-03-27 14:06 hgbot Status scheduled => resolved
2012-03-27 14:06 hgbot Resolution open => fixed
2012-03-27 14:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1f38c83325606636f7391a838fc44e59a0c9bc92 [^]
2012-03-27 14:07 vmromanos Note Added: 0046770
2012-03-27 14:07 vmromanos Status resolved => closed
2012-03-27 14:08 vmromanos Relationship replaced has duplicate 0012859
2012-04-02 06:12 hudsonbot Checkin
2012-04-02 06:12 hudsonbot Note Added: 0047241


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker