Unable to Undistribute Direct Out ticket associated to Basis Contract

Issue No: SC-2808
Created 5/27/2019 11:04:29 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   1. Create new Item and set this UOM.   !pastedImage_d119152_0.png|height=581,width=940!   2. Create Priced Purchase Contract where Weights and Grade is Destination.   !pastedImage_d119152_1.png|height=745,width=1791!   3. Create Sales Basis Contract where Weights and Grade is Destination. Do not price the contract.   !pastedImage_d119152_2.png|height=747,width=1792!   4. Create Settlement Price:   !pastedImage_d119152_3.png|height=265,width=854!   5. Generate Load Schedule for these contracts.   !pastedImage_d119152_4.png|height=673,width=1853!   6. Create Direct In ticket and select this schedule and distribute.   Issue 1: Distribute button is still enabled.   !pastedImage_d119152_5.png|height=666,width=1529!   7. Open the created Direct Out ticket through Direct In's Match Ticket hyperlink and distribute.   Issue 2: Distribute button is still enabled too.   !pastedImage_d119152_6.png|height=665,width=1529!   8. From Direct Out ticket click Destination Weight/Grade and post it without changes.   !pastedImage_d119152_7.png|height=539,width=537!   9. Unpost the Destination Weight/Grade and close.   10. Reopen the Direct Out ticket from Ticket search. Distribute button is now hidden which is correct.   !pastedImage_d119152_8.png|height=664,width=1528!   11. Click Undistribute button and select Yes on warning message.   Issue 3:   !pastedImage_d119152_9.png|height=663,width=1530!   Acceptance:   1. Direct In's Distribute button should be disabled   2. Direct Out's Distribute button should be disabled   3. Should be undistributed successfully