[Sales Order-Invoice] Incorrect stock movement if the invoice record is posted and split processed

Issue No: AR-9902
Created 2/27/2019 3:04:14 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description + *PRE-CONDITION* +   # Go to Customer > _selected customer_> Split tab # Create a split record for the customer ## Set atleast two (2) entities with split % total to 100%   !pastedImage_d112915_0.png! + *STEPS* +   # Create an SO for the selected customer # Set necessary header and item details ## Select the created split under "Split" field # Process to invoice, then post the invoice record # Verify stock movement under Inventory > Stock Details   + *ISSUE* +   Quantity from the split record is still displayed under "Reserved" and decreased in "Available"   Split invoices:   !pastedImage_d112915_1.png! Stock details:   !pastedImage_d112915_2.png! + *ACCEPTED* +   Upon posting the invoice, stock movement must be as of follows:   * On Hand = -10.00 * Sales Order = -10.00 * Reserved = -10.00 * Available = No movement