Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009441Openbravo ERP02. Master data managementpublic2009-06-11 11:412009-07-06 08:48
networkb 
sathiyan 
immediateminoralways
closedno change required 
5
2.40 
 
Core
No
0009441: Verify BOM does not check nothing
In Master Data Management > Product, if "Bill of materials" field is checked, Verify BOM button appears. If you press it, OK message appears always. It does not check nothing. Only it sets "Bom verified" as active.

Go to Master Data Management > Product.
Create a new one.
Check "Bill of materials".
Press "Verify BOM" button.
Press OK
"Process completed successfully" message appears and "BOM verified" field is checked.
However, no checking has been done because no products have been inserted in "Bill of materials" tab.
Openbravo ERP 2.40 version has to work exactly as Openbravo ERP 2.50 does:

The process Verify BOM (M_product_bom_check process) DOES check that there is no infinite loop on-going:
1) Create a new product and click on Bill Of Materials.
2) Create a second product and click on Bill Of Materials.
3) Go to Bill of Materials tab and select the fist product.
4) Go to the first product and, Bill of Materials tab, select the second product.
5) In this first product, click on Verify BOM.

You get error (warning) message: BOM Tree Contains a Cycle Please Verify BOM (see attached image)
No tags attached.
duplicate of defect 0005935 closed Dowid Message not informative enough after "Verify BOM" Process 
depends on backport 0009608 closed sathiyan Verify BOM does not check nothing 
png BOMVerified.png (76,345) 2009-06-23 21:06
https://issues.openbravo.com/file_download.php?file_id=1449&type=bug
png
Issue History
2009-06-11 11:41networkbNew Issue
2009-06-11 11:41networkbAssigned To => rafaroda
2009-06-12 16:44rafarodaNote Added: 0017272
2009-06-12 16:44rafarodaStatusnew => feedback
2009-06-16 09:00rafarodaNote Added: 0017336
2009-06-16 09:00rafarodaStatusfeedback => new
2009-06-23 10:18rafarodaStatusnew => closed
2009-06-23 10:18rafarodaNote Added: 0017543
2009-06-23 10:18rafarodaResolutionopen => no change required
2009-06-23 21:06rafarodaFile Added: BOMVerified.png
2009-06-24 00:00anonymoussf_bug_id0 => 2811127
2009-06-24 13:06networkbStatusclosed => new
2009-06-24 13:06networkbResolutionno change required => open
2009-06-24 13:06networkbNote Added: 0017561
2009-06-24 14:08rafarodaAssigned Torafaroda => sathiyan
2009-06-24 14:08rafarodaSteps to Reproduce Updated
2009-06-24 14:08rafarodaStatusnew => scheduled
2009-06-24 14:08rafarodafix_in_branch => pi
2009-06-24 14:09rafarodaStatusscheduled => closed
2009-06-24 14:09rafarodaNote Added: 0017563
2009-06-24 14:09rafarodaResolutionopen => no change required
2009-07-06 08:48rafarodaRelationship addedduplicate of 0005935

Notes
(0017272)
rafaroda   
2009-06-12 16:44   
Which is your proposed solution? An information message saying "There is no bill of materials."?

Thanks.
(0017336)
rafaroda   
2009-06-16 09:00   
It's being decide which solution will be given.
(0017543)
rafaroda   
2009-06-23 10:18   
The process Verify BOM (M_product_bom_check process) DOES check that there is no infinite loop on-going:
1) Create a new product and click on Bill Of Materials.
2) Create a second product and click on Bill Of Materials.
3) Go to Bill of Materials tab and select the fist product.
4) Go to the first product and, Bill of Materials tab, select the second product.
5) In this first product, click on Verify BOM.

You get error (warning) message: BOM Tree Contains a Cycle Please Verify BOM
(0017561)
networkb   
2009-06-24 13:06   
The process does not work in 2.40. The following message appears (sorry the error is in Spanish):
     
    
Error:
llave duplicada viola restricción de unicidad «c_temp_selection2_key»

The process works in 2.50
(0017563)
rafaroda   
2009-06-24 14:09   
No change required in pi source code since it is working OK. Backport to Openbravo ERP 2.40 branch remains open 0009608