Transport Load quantity does not reflect on Contracts

Issue No: TR-1513
Created 8/18/2020 1:31:20 AM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-249680 - Ensure Contract Available and Schedule Quantities are properly updated|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-249680]   Transport Load with distribution scenarios that need to fix.   1. TR Load is saved (Contract’s Schedule Quantity is increased), then Distribution Header is deleted  Schedule Quantity should be reduced, and Available Quantity should be increased. 2. TR Load is saved, then Distribution Detail (where Contract is specified) is deleted  same result as #1 3. TR Load is saved, then distribution Detail is modified and the Contract is removed  same as #1 4. Distribution Detail is modified and a different Contract is used  old Contract’s Scheduled Qty is reduced and Available Qty is increased, and the new Contract’s Scheduled is increased, and Available is decreased. 5. TR Load is deleted  same as #1     Transport Load with receipt scenarios that need to fix.   1. TR Load is saved (Contract’s Schedule Quantity is increased), then Receipt is deleted  Schedule Quantity should be reduced, and Available Quantity should be increased.