User can make Shipment/Receipt Line Product different from Order Line Product
Description
Test Case:
Create and Complete a Standard Order for Product A
Generate Shipment with Prepare/In Progress Status for order above
Open the Shipment document and change shipment line product field from Product A to Product B
Complete the shipment document
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
08 Nov 2021, 04:39 PM
Activity
Chuck Boecking
November 10, 2021 at 7:59 PM
@Heng Sin Low, I do not know how the assignee changed. That was not intentional.
Heng Sin Low
November 10, 2021 at 7:24 AM
Hi @Chuck Boecking ,
Do you means to take the ownership of the ticket or it is a mistake in changing the assignee field ?
@Carlos Ruiz , 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 @Heng Sin Low, 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
Test Case:
Create and Complete a Standard Order for Product A
Generate Shipment with Prepare/In Progress Status for order above
Open the Shipment document and change shipment line product field from Product A to Product B
Complete the shipment document
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.