Item Committed incorrect after unposting, then splitting invoice

Issue No: AR-4624
Created 5/8/2017 12:50:35 PM
Type Bug
Priority Major
Status Closed
Resolution
Fixed Version 17.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-197479 - Inventory not being relieved properly for splits|http://helpdesk.irely.com/iRelyi21live/i21/#/HD/Ticket/?ticket=HDTN-197479] Version: 17.1.0502.53   Database; 96   Steps to Recreate:   1. Select an item for a location and capture the Stock Details.   2. Create an invoice and save.   3. Verify Stock Details. Check that the committed changed by the amount of saved invoice.   4. Post the invoice.   5. Verify the Stock Detail. Check that the commited reduced by the amount of posted invoice. Check that on hand is reduced by the amount of the posted invoice.   6. Unpost the invoice. Check that the committed increased and on hand increased.   7. Modify the invoice by selecting a split and save. Check that the committed nor on hand should change. The split is create multiple invoices for different customers totalling the same qty as original.   ex: Original shipped is 10 unit. Split is 60%/40%. This will create 2 separate invoices, however the total shipped is still 10 (6 and 4 units each).   8. Post the the split invoice. Check that committed is reduced by the total shipped for the split. Same with on hand.