Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002696Openbravo ERP09. Financial managementpublic2008-03-07 11:292008-07-08 15:24
cromero 
cromero 
normalminoralways
closedfixed 
5
 
2.40beta 
No
Core
No
0002696: ERROR in M_INOUT_POST - Updating Org in Lines
In the next lines:
 
-- Set org lines like the headear
UPDATE M_INOUT
SET AD_ORG_ID = (SELECT AD_ORG_ID FROM M_INOUT WHERE M_INOUT_ID = v_Record_ID)
WHERE M_INOUT_ID = v_Record_ID;
 
I think the correct UPDATE is:
 
-- Set org lines like the headear
UPDATE M_INOUTLINE
SET AD_ORG_ID = (SELECT AD_ORG_ID FROM M_INOUT WHERE M_INOUT_ID = v_Record_ID)
WHERE M_INOUT_ID = v_Record_ID;

This bug was found in this forum:
https://sourceforge.net/forum/message.php?msg_id=4786554 [^]
No tags attached.
depends on backport 0003649 closed cromero ERROR in M_INOUT_POST - Updating Org in Lines 
Issue History
2008-07-08 15:24plujanStatusresolved => closed
2008-07-08 15:24plujanFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0006285)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1909435 [^]
(0003295)
cromero   
2008-03-07 11:34   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1500614
Originator: YES

Fixec in the trunk in revision 2708