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

Issue No: SC-2845
Created 6/10/2019 12:01:23 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   1. Create new purchase contract where pricing type is Basis. Sample below:   !pastedImage_d119772_0.png!   2. Create Settlement Price for the item's commodity.   !pastedImage_d119772_1.png!   3. Create Basis Entry for the basis purchase contract.   !pastedImage_d119772_2.png!   4. Create another purchase contract where pricing type is Priced.   !pastedImage_d119772_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_d119772_4.png!   !pastedImage_d119772_5.png!   6. Check Inventory Receipt created.   Issue 1:   Cost for the basis purchase contract line item is incorrect.   !pastedImage_d119772_6.png!   7. Open the voucher created for priced contract. Contract, Ordered, Billed and Cost are correct.   !pastedImage_d119772_7.png!   8. Open the Basis Purchase Contract and click Pricing button to price like shown below and save.   !pastedImage_d119772_8.png!   9. Open the voucher created after priced contract   +Issue 2:+   Contract line items have incorrect Contract, Ordered and Billed   !pastedImage_d119772_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)