Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008265Openbravo ERP07. Sales managementpublic2009-03-24 15:342011-02-04 09:15
villind 
rmorley 
normalmajorhave not tried
acknowledgedopen 
5
2.40MP3 
 
Core
No
0008265: Generate Shipments does ignore the scheduled delivery date
Shipments are created by the "Generate Shipments" process even if the scheduled delivery date is far in the future.
1. Create a Standard Order where the scheduled delivery date is in the future
2. Run the "Generate Shipments" process

-> Shipment is created
If one uses Scheduled Delivery Date field at Order header or Order line level, one could expect that, when launching Generate Shipment process, shipments are created for the orders which delivery date is equal or less than today.

To allow this, I would add a check-box in both 'Generate Shipments' and 'Create Shipments from Orders' that would indicate that we want these processes to work taking into account scheduled delivery date defined in orders.
No tags attached.
diff r13957.diff (722) 2009-03-24 15:36
https://issues.openbravo.com/file_download.php?file_id=1053&type=bug
Issue History
2009-03-24 15:34villindNew Issue
2009-03-24 15:34villindAssigned To => rafaroda
2009-03-24 15:34villindRegression testing => No
2009-03-24 15:36villindFile Added: r13957.diff
2009-03-30 19:36psarobeStatusnew => scheduled
2009-03-30 19:36psarobefix_in_branch => pi
2009-03-31 12:26rafarodaAssigned Torafaroda => sathiyan
2009-04-07 12:54rafarodaNote Added: 0015251
2009-04-07 12:54rafarodaAssigned Tosathiyan => pjuvara
2009-04-07 12:54rafarodaStatusscheduled => acknowledged
2009-04-07 12:54rafarodaTypedefect => feature request
2009-04-07 12:54rafarodafix_in_branchpi =>
2009-04-07 12:54rafarodaDescription Updated
2009-04-07 12:54rafarodaProposed Solution updated
2009-04-07 12:54rafarodaSteps to Reproduce Updated
2009-04-07 15:55villindNote Added: 0015260
2011-02-04 09:15jpabloaeAssigned Topjuvara => rmorley

Notes
(0015251)
rafaroda   
2009-04-07 12:54   
Hi Villind,

Thank you for pointing out this issue but this patch is not acceptable. Please take into account that M_INOUT_CREATE procedure is called from other processes, for instance, Sales Management || Transactions || Create Shipments from Orders. With your patch, it could happen that Orders are displayed in 'Create Shipments from Orders' but, when selecting them and clicking on Process button, they are never processed.

Do you agree with the new proposed solution?

Thank you for your high valuable feedback.
(0015260)
villind   
2009-04-07 15:55   
Hi,

the patch does it so that it will process orders regardless of the delivery date when you select one or more orders.

Sales Management || Transactions || Create Shipments from Orders
 * Scheduled delivery date is ignore, this is kind of forced shipment

Sales Management || Transactions || Generate Shipments
 * Scheduled delivery date is taken into account


I don't think that we need any checkbox, but the Create Shipments from Orders form should show the scheduled delivery date.