User can make Shipment/Receipt Line Product different from Order Line Product

Description

Test Case:

  1. Create and Complete a Standard Order for Product A

  2. Generate Shipment with Prepare/In Progress Status for order above

  3. Open the Shipment document and change shipment line product field from Product A to Product B

  4. Complete the shipment document

  5. This will corrupt QtyReserved value for Order Line and Product B.

Fix:

  • Stop user from making Shipment/Receipt line product different from Order Line product.

Environment

None

Attachments

1

Activity

Chuck Boecking 
November 10, 2021 at 7:59 PM

, I do not know how the assignee changed. That was not intentional.

Heng Sin Low 
November 10, 2021 at 7:24 AM

Hi ,

Do you means to take the ownership of the ticket or it is a mistake in changing the assignee field ?

, I’ve merge all the patches. The ticket is ready to be approved and merge if we wants to keep the sysconfig and validation.

Regards,

Low

Carlos Ruiz 
November 9, 2021 at 8:13 AM

BTW, the process Recreate Storage Reservation recreates the reservations based only on order line, so, the patch suggested in MInOut.completeIt makes sense

Chuck Boecking 
November 9, 2021 at 4:08 AM

Hi , sadly, that is a situation where we just patched without creating a core ticket. That was many years ago. I have since learned my lesson :)

Heng Sin Low 
November 9, 2021 at 2:44 AM

If most agree that it is fine to allow that, I guess we can take away the sysconfig and validation and just keep the changes that fix the data corruption bug

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created November 5, 2021 at 10:58 AM
Updated January 2, 2022 at 3:37 PM
Resolved November 11, 2021 at 5:48 PM