[IC] - HDTN-275929 - Ticket 73270 and Voucher 28996

Issue No: IC-10600
Created 8/4/2022 10:48:02 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-275929 - Ticket 73270 and Voucher 28996|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-275929]   Steps:   1. Go to Contract Mgt > Create New Sales Contract > Save   2. Go to Ticket Mgt> Create Load Out Ticket (Contract) > Add Freight Gross Unit and Hauler   3. Distribute ticket and Post Destination Weight/Grade   4. Go to Purchasing A/P> Voucher screen > Pending Payables tab   5. Click New Voucher link > Create Voucher > Save   6. From Ticket Mgt > Open created ticket   7. Click Destination Weight/Grade and click Unpost button     Issue: Unable to undistribute ticket 73270 with the error below. There is a voucher created for freight but it's not Posted and it also has an error message when attempting to delete.   !pastedImage_d191986_0.png|height=522,width=600!     Acceptance   Add user-friendly validation that an inventory shipment is already linked to a voucher.