Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005417Openbravo ERP04. Warehouse managementpublic2008-10-06 10:032008-12-16 13:55
plujan 
Hennadzi 
normalminorhave not tried
closedfixed 
10
2.40 
 
Core
No
0005417: It is not possible to delete a BOM Production after creating production
I create a new Bill of Materials Production, then a Production Plan, and the I launch the Create/Post Production using the button.
Then I delete all the lines created, and when trying to delete the header I get an error message. See attach.
1.Go Warehouse Management || Transactions || Bill of Materials Production
2.Create a new Bill of Materials Production
3.Create a new Production Plan
4.Launch the Create/Post Production using the button
5.Delete all the lines created
6.Delete the header. An error is displayed. See attach.
No tags attached.
depends on backport 0005429 closed Hennadzi It is not possible to delete a BOM Production after creating production 
jpg BUG_240_ErrorDeleteBOM.JPG (92,993) 2008-10-06 10:03
https://issues.openbravo.com/file_download.php?file_id=308&type=bug
jpg
Issue History
2008-10-06 10:03plujanNew Issue
2008-10-06 10:03plujanAssigned To => cromero
2008-10-06 10:03plujansf_bug_id0 => 2149016
2008-10-06 10:03plujanFile Added: BUG_240_ErrorDeleteBOM.JPG
2008-10-06 10:03plujanRegression testing => No
2008-10-06 11:23cromeroStatusnew => scheduled
2008-10-06 11:23cromeroNote Added: 0009374
2008-10-06 11:23cromeroAssigned Tocromero => Hennadzi
2008-10-06 11:23cromerofix_in_branch => trunk
2008-11-12 13:36svnbotCheckin
2008-11-12 13:36svnbotNote Added: 0010194
2008-11-12 13:36svnbotStatusscheduled => resolved
2008-11-12 13:36svnbotResolutionopen => fixed
2008-11-12 13:36svnbotsvn_revision => 9907
2008-12-16 13:54psarobeStatusresolved => closed

Notes
(0009374)
cromero   
2008-10-06 11:23   
It seems to be a problem in the trigger, trying to access to a "new" value when you are deleting
(0010194)
svnbot   
2008-11-12 13:36   
Repository: openbravo
Revision: 9907
Author: hennadzi
Date: 2008-11-12 13:36:56 +0100 (Wed, 12 Nov 2008)

Fixed bug 0005417: It is not possible to delete a BOM Production after creating production

---
U trunk/src-db/database/model/triggers/M_PRODUCTION_TRG.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=9907&sc=1 [^]