HDTN-223818 - Unable to Unpost a Delivery Sheet to add a ticket..

Issue No: GRN-1402
Created 1/18/2019 3:11:26 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-223818 - Unable to Unpost a Delivery Sheet to add a ticket..|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-223818]     Delivery Sheet 1001-18028     Storage for B & B Operations Open and Original Units show 17,978.83   Running Units shows 17978.82   !pastedImage_d110905_0.png!   Storage for Phyllis K Ullman Open and Original Units show 7705.21   History shows Running units of 7705.22   !pastedImage_d110905_1.png!   Cannot unpost Delivery sheet because the units do not match properly on the Storage.   !pastedImage_d110905_2.png!     This is a permanent fix related to GRN-1401.   Steps to reproduce:   # Create two delivery sheet with the same Entity, Location and Item # Post the delivery sheet/s # Create settlement transactions using the storages created by the delivery sheet/s (so there will be more than one storage ticket in one settlement transaction) # Unpost the settlement of one of the storages (STR-#/INDEX, ex. STR-81/1) # Unpost the delivery sheet of the storage   Issues:   # Unable to unpost the delivery sheet # Even if the settlement related to the storage has already been unposted, it's still being shown in the main settlement (STR-81). ## !pastedImage_d110905_3.png! # Contract/s applied in settlement being shown in the transaction are not being updated after the unposting a transaction   Acceptance:   # Should be able to unpost delivery sheet/s sucessfully if there are no settlements or transfers on the storage # !pastedImage_d110905_4.png!