Voucher created after Priced Contract has incorrect contract line item, billed and cost

Issue No: SC-2594
Created 3/27/2019 5:00:28 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps:   1. Create new purchase contract where pricing type is Basis. Sample below:   !pastedImage_d114971_0.png!   2. Create Settlement Price for the item's commodity.   !pastedImage_d114971_1.png!   3. Create Basis Entry for the basis purchase contract.   !pastedImage_d114971_2.png!   4. Create another purchase contract where pricing type is Priced.   !pastedImage_d114971_3.png!   5. Create Load In ticket and select the purchase basis contract. On Manual Distribution screen, allocate the quantity on the 2 contracts and process. (Contract 1 = 1250 and Contract 2 = 400)   !pastedImage_d114971_4.png!   !pastedImage_d114971_5.png!   6. Check Inventory Receipt created.   Issue 1:   Cost for the basis purchase contract line item is incorrect.   !pastedImage_d114971_6.png!   7. Open the voucher created for priced contract. Contract, Ordered, Billed and Cost are correct.   !pastedImage_d114971_7.png!   8. Open the Basis Purchase Contract and click Pricing button to price like shown below and save.   !pastedImage_d114971_8.png!   9. Open the voucher created after priced contract   +Issue 2:+   Contract line items have incorrect Contract, Ordered and Billed   !pastedImage_d114971_9.png!   Acceptance:   1. Should be coming from Settlement Price + Basis Entry (8.97 + 0.35 = *9.32* ).   2. Ordered, Billed and Cost for the basis purchase contract line item only should be shown:   a. Basis purchase contract line item (3236) should have:   Contract = basis purchase contract (3239)   Ordered = 10,000   Billed = 1,000   Cost = 9.25 (Final Price after Priced Contract)