Posted Invoice with 0 price is created on posted Destination Weight even Sale Basis contract has not been priced yet

Issue No: SC-2569
Created 3/14/2019 11:12:36 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps:   1. Create new Item and set this UOM.   !pastedImage_d114063_0.png!   2. Create Purchase Contract.   !pastedImage_d114063_1.png!   3. Create Settlement Price:   !pastedImage_d114063_2.png!   4. Create Sales Basis Contract. Do not price the contract.   !pastedImage_d114063_3.png!   5. Create Basis entry for this item's sales contract.   !pastedImage_d114063_4.png!   6. Generate Load Schedule for these contracts.   !pastedImage_d114063_5.png!   7. Create Direct In ticket and select this schedule and distribute.   !pastedImage_d114063_6.png!   8. Qty is now reflected on Item's In Transit Direct.   !pastedImage_d114063_7.png!   9. Open the created Direct Out ticket and distribute.   !pastedImage_d114063_8.png!   10. Qty is intact on Item's In Transit Direct.   !pastedImage_d114063_9.png! 11. From Direct Out ticket click Destination Weight/Grade and post it without changes.   !pastedImage_d114063_10.png!   12. Check the Invoice created   Issue:   Posted Invoice is created with 0 price.   !pastedImage_d114063_11.png!     Acceptance:   Should not create Invoice   Invoice should only be created once the Sale Basis Contract has been priced