Unposting the Delivery Sheet deleted the Storage record

Issue No: GRN-1256
Created 10/15/2018 9:22:13 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description STEPS:   1. Create an item   2. Create Delivery Sheet and Scale Ticket then apply the Delivery Sheet.   3. Distribute the Scale Ticket.   It will auto create IR and Storage record for each split entities.   4. Enter Discount Readings in Delivery sheet and post   !pastedImage_d106465_0.png!   It will update the Storage record.   !pastedImage_d106465_1.png!   5. Unpost the Delivery Sheet.   !pastedImage_d106465_2.png!   *ISSUE:*   1. Storage records were deleted.   !pastedImage_d106465_3.png!   2. Item On Hand was increased. Looks like the Delivery Sheet Gross Units is getting.   !pastedImage_d106465_4.png!   *ACCEPTANCE:*   Storage records should not be deleted when uposting the Delivery Sheet