Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0003649Openbravo ERP09. Financial managementpublic2008-03-07 12:222008-06-12 09:44
cromero 
cromero 
normalminoralways
closedfixed 
5
 
 
No
Core
No
0003649: ERROR in M_INOUT_POST - Updating Org in Lines
Related to this bug:
0002696

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.
blocks defect 0002696 closed cromero ERROR in M_INOUT_POST - Updating Org in Lines 
Issue History

Notes
(0007238)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:44)
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=1909464 [^]
(0004104)
cromero   
2008-03-07 12:29   
(edited on: 2008-06-12 09:27)
Logged In: YES
user_id=1500614
Originator: YES

Fixed in the branch in revision 2709