Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002343Openbravo ERP07. Sales managementpublic2007-12-05 16:512008-06-12 09:43
egoitz 
rafaroda 
normalminoralways
closedfixed 
5
 
2.40alpha-r2 
No
Core
No
0002343: Create Shipments from Orders doesn't copy delivery location
Steps:
Sales Managament>Transactions>Create Shipments from Orders
or
Sales Managament>Transactions>Generate Shipments

Description:
When you run these processes if you have introduced a delivery location in the order, it is not copied to the Good shipment.

Environment:
windowsXP
firefox 2.0
oracleXE 10
v2.35

Possible solution:

Include on

FOR Cur_Order IN
          (SELECT

the column o.DELIVERY_LOCATION_ID,

and include also in the group by.

Then include on

INSERT INTO M_INOUT

DELIVERY_LOCATION_ID

and on values

Cur_Order.DELIVERY_LOCATION_ID
No tags attached.
Issue History

Notes
(0005932)
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=1844904 [^]
(0002771)
rafaroda   
2008-01-31 12:32   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=1892190
Originator: NO

In M_INOUT_CREATE procedure ('M_INOUT_CREATE.xml' file inside 'database/model/functions/' folder), added DELIVERY_LOCATION_ID field to SELECT and INSERT sentences.