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

Issue No: SC-2806
Created 5/27/2019 9:29:14 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   1. Create new Item and set this UOM.   !pastedImage_d119142_0.png!   2. Create Purchase Contract.   !pastedImage_d119142_1.png!   3. Create Settlement Price:   !pastedImage_d119142_2.png!   4. Create Sales Basis Contract. Do not price the contract.   !pastedImage_d119142_3.png!   5. Create Basis entry for this item's sales contract.   !pastedImage_d119142_4.png!   6. Generate Load Schedule for these contracts.   !pastedImage_d119142_5.png!   7. Create Direct In ticket and select this schedule and distribute.   !pastedImage_d119142_6.png!   8. Qty is now reflected on Item's In Transit Direct.   !pastedImage_d119142_7.png!   9. Open the created Direct Out ticket and distribute.   !pastedImage_d119142_8.png!   10. Qty is intact on Item's In Transit Direct.   !pastedImage_d119142_9.png! 11. From Direct Out ticket click Destination Weight/Grade and post it without changes.   !pastedImage_d119142_10.png!   12. Check the Invoice created   Issue:   Posted Invoice is created with 0 price.   !pastedImage_d119142_11.png!     Acceptance:   Should not create Invoice   Invoice should only be created once the Sale Basis Contract has been priced