Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000498Openbravo ERP04. Warehouse managementpublic2008-05-30 17:262008-07-01 17:56
plujan 
pheenan 
normalminoralways
closedduplicate 
10XPsp2
2.35 
2.40 
No
Core
No
0000498: AT235MP5 - When deleting an Inventory with lines, error message is not correct
I try to delete a Physical Inventory. Since it has lines, I can not. But the error message is not correct:
      
ORA-04091: table TAD.M_INVENTORY is mutating, trigger/function may not see it ORA-06512: at "TAD.M_INVENTORYLINE_TRG", line 27 ORA-04088: error during execution of trigger 'TAD.M_INVENTORYLINE_TRG'
Change the message to a standard one, like "Record can not be deleted, please check Linked Items"
No tags attached.
related to backport 0003745 closed gorkaion Message when deleting an Inventory is not correct 
Issue History
2008-05-30 17:26plujanNew Issue
2008-05-30 17:26plujanAssigned To => cromero
2008-05-30 17:26plujanOBNetwork customer => N
2008-06-02 11:25cromeroStatusnew => scheduled
2008-06-02 11:25cromeroNote Added: 0000406
2008-06-02 11:25cromeroAssigned Tocromero => pheenan
2008-06-13 19:59cromeroTarget Version => 2.40
2008-06-19 17:05gorkaionRelationship addedrelated to 0003745
2008-06-21 22:52pjuvaraStatusscheduled => closed
2008-06-21 22:52pjuvaraDuplicate ID0 => 2738
2008-06-21 22:52pjuvaraResolutionopen => duplicate
2008-07-01 17:56anonymoussf_bug_id0 => 2007910

Notes
(0000406)
cromero   
2008-06-02 11:25   
The solution should be to check if the Inventory has lines before trying to delete