On Hand turned negative after distributing Direct Out Scale Ticket

Issue No: AR-7632
Created 6/4/2018 4:27:35 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description + *Steps:* +   1. Create new item and save. Make sure that Use Weigh Scales checkbox is enabled.   2. Create Direct In Scale Ticket where Grades and Weight = Origin. Sample below:   !pastedImage_d98163_0.png!   3. Click Distribute button and Yes on message. Tickst distributed successfully.   4.. Check the stocks: In Transit Direct Qty = 999.9 while On Hand = 0.   5. Click the Matched Ticket hyperlink to open the created Direct Out ticket. Supply the customer and distribute.   !pastedImage_d98163_1.png!   6. Check the Item's Stock   {color:#ff0000}+ *Issue:* +{color}   In Transit Direct has been zeroed out but On Hand and Available becomes negative   !pastedImage_d98163_2.png!   {color:#008000}+ *Acceptance:* +{color}   Should be 0