While unposting and then posting an IR it is showing error message. hence not able to post the IR second time

Issue No: IC-7580
Created 7/29/2019 6:21:09 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   Create a purchase contract for 1600 bags of 69 kg as below   Add costs as Freight and insurance,   !pastedImage_d122128_0.jpg|height=425,width=1103!   Create a shipment from the contract and enter 5 containers 320 bags of 69 kg bags each   and link it .   Enter the Warehouse details also and add containers.   !pastedImage_d122128_1.png|height=558,width=1326!     !pastedImage_d122128_2.png|height=474,width=1319!     Create inventory receipt for first day   Click on inventory receipt . /Now the IR will be created with 5 containers.   Delete last 2 containers. and enter some weight more than the shipped weight for balance 3 containers in net weight and enter the lot details also. and then post.   !pastedImage_d122128_3.png|height=557,width=1077!   Create Vendor prepayment   For that go to Purchases-> vouchers- Select type as Vendor prepayment and select the vendor also.   Then select the Document number from the grid (LS number)     !pastedImage_d122128_4.png|height=583,width=1098!   *ON second day*   Open the same LS number ( inbound shipment ) again and click on create receipt button to   generate the IR for balance containers.   Now the IR will generate with 2 balance containers and enter the Net weight more than shipped qty and enter the Lot weight also and click on post.   !pastedImage_d122128_5.png|height=530,width=1059!   Issue:   Open the any Inventory receipt ( either first day or second day Inventory receipt) and click on unpost and then click on post   Getting below message     !pastedImage_d122128_6.png|height=562,width=1099!   Acceptance:   Even after vendor prepayment and multiple IR scenario also we should be able to unpost and post the IR.                 Retest by reposting again after unposting   Steps in testing:   1)Create a purchase contract( Add other charges   2)Process it to shipment with 5 containers and link it   3)And the warehouse and container details   4)Post   5)Create IR for the created shipment   6)post and unpost the transaction (Fixed)   7)repost the transaction (Error)     Result: The error message encountered again   Acceptance: The user should successfully post the transaction   !pastedImage_d122128_7.png|height=753,width=1000!