Generate Shipments is generating partial for complete orders

Description

In some cases generate Shipments is generating partial shipment for complete orders when the Date Promised is filled and the order lines present different promised dates.

The shipment is generated just for the lines within the range breaking the business rule for complete order.

Regards,

Carlos Ruiz

Environment

None

Activity

Show:

Carlos Ruiz May 13, 2020 at 3:32 PM

> Should forbid user to complete an order with different dates promised if the delivery rule is complete

That sounds good - I think this is a correct validation for the prepareIt method.

Orlando Curieles May 9, 2020 at 2:12 PM

The user put the correct dates in the lines but don't take the correct Order Line to make the shipment.

That was fixed on this commit..

Best Regards,

Orlando.

Heng Sin Low May 9, 2020 at 6:33 AM

Should forbid user to complete an order with different dates promised if the delivery rule is complete - sound like a user mistake to me.

Carlos Ruiz January 25, 2019 at 12:47 PM

Thanks , integrated that to core in 8a697d1

Orlando Curieles January 23, 2019 at 5:35 PM

Hi, I added in the order by the line of sales Order.

// Deadlock Prevention - Order by M_Product_ID
MOrderLine[] lines = order.getLines (where.toString(), "C_BPartner_Location_ID, M_Product_ID, Line");

Line 249.

That will help in the core

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 12, 2012 at 4:20 AM
Updated July 1, 2020 at 7:52 PM
Resolved May 13, 2020 at 6:47 PM