Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005216Openbravo ERP02. Master data managementpublic2008-09-23 18:412008-12-09 12:22
PavelPonomarev 
Dowid 
normalminoralways
closedfixed 
10XP SP3
pi 
 
Core
No
0005216: Verify Bom button works incorrectly
When a user creates a Product and adds products to its BOM, he can take that highlevel BOM and add it to itself. Then, the user clicks on the Verify BOM button, and the system does _not_ show an error that should signal of the BOM tree being incorrect.

1. Navigate to Master Data Management || Product || Product
2. Search for a product with an existing BOM (ex. "foodkit" in trunk version)
3. Open found product
4. Master Data Management || Product || Product >> Bill of Materials
5. Create new BOM
6. Add multiple various products INCLUDING the current product (ex. "foodkit"). Save
7. Navigate to Master Data Management || Product || Product
8. Click "Verify BOM"

The system shows a success message, but the BOM tree is incorrect...
Modify M_PRODUCT_BOM_CHECK function using the attached patch.
No tags attached.
blocks defect 0005215 closed Dowid Verify Bom button works incorrectly 
Issue History
2008-09-23 18:41cromeroNew Issue
2008-09-23 18:41cromeroAssigned To => cromero
2008-09-23 18:41cromeroStatusnew => scheduled
2008-11-10 13:04cromeroAssigned Tocromero => rafaroda
2008-11-11 13:58DowidAssigned Torafaroda => Dowid
2008-11-11 14:02DowidNote Added: 0010169
2008-11-11 14:02DowidStatusscheduled => resolved
2008-11-11 14:02DowidResolutionopen => fixed
2008-11-11 14:02Dowidsvn_revision => 9769
2008-11-11 14:02DowidProposed Solution updated
2008-12-09 12:22krishnaRegression testing => No
2008-12-09 12:22krishnaStatusresolved => closed

Notes
(0010169)
Dowid   
2008-11-11 14:02   
The solution is to replace string:

SELECT v_IsBOM INTO v_IsBOM FROM M_Product WHERE M_Product_ID=v_Record_ID;

to:

SELECT IsBOM INTO v_IsBOM FROM M_Product WHERE M_Product_ID=v_Record_ID;


This bug has been fixed with bug
Revision: 9769
Fixed bug 0005756: Temporary tables T_Selection and T_Selection2 have been ported from v2.22 to 2.35 improperly