Inventory Adjustment's date is on current date when a delivery sheet is unposted

Issue No: GRN-3074
Created 9/7/2022 5:39:58 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *Steps:* 1. Create Delivery Sheet 2. Create OS Ticket 3. Post Delivery Sheet 4. Unpost Delivery Sheet 5. Repost Delivery Sheet *Issue:* This issue relates to i21 Help Desk ticket: [ HDTN-277247 - Inventory Adjustment's date is on current date when a delivery sheet is unposted|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-277247]   {color:#323130}I had some time this morning to go over totals at locations. The seed plant number is different on your grain inventory inquiry, but I believe that is a function the seed plant needs to manually do since the G1 commodity code drives the in and outs, they ship out seed items. But the Moro location is off by 125.5707 bu, long. A grade was applied on 9/2/22 and shrunk the inventory by that number, I ran just Moro in the grain inventory inquiry and found that locations do not show the transfers out? This needs to show when you run an individual location, as you can see by the attachment the inventory doesn't match. {color}   {color:#323130}Issue: {color}When a delivery sheet is unposted and reposted, the date of reversal of its first IA in Storage History is on current date which makes the Net Adjustment zero.   !pastedImage_d194498_0.png|height=795,width=948!   !pastedImage_d194498_1.png|height=676,width=960!   *Acceptance:*   # When a delivery sheet is unposted and reposted, the date of reversal of its IA in Storage History should be the same when it was posted.