Basis Advance screen quantity is wrong for ticket

Issue No: AP-8100
Created 11/26/2019 6:35:13 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.2
Description Steps:   1. Create Purchase Basis Contract amounting to 5000.   !pastedImage_d127681_0.png|height=825,width=1860!   2. Distribute 4 Load In tickets against this contract.   !pastedImage_d127681_1.png|height=735,width=1182!   !pastedImage_d127681_2.png|height=734,width=1178!   !pastedImage_d127681_3.png|height=797,width=1179!   !pastedImage_d127681_4.png|height=798,width=1180!   3. Open Basis Advance screen, Ticket Unpriced Qty is correct.   !pastedImage_d127681_5.png|height=931,width=1900!   4. Partially priced the Basis Contract and save.   !pastedImage_d127681_6.png|height=785,width=1488!   5. Reopen Basis Advance screen   Issue:   !pastedImage_d127681_7.png|height=930,width=1897!   Acceptance:   Should be:   Ticket 894 = 1050   Ticket 893 = 1150   Ticket 892 = 583.3334   Ticket 891 = should be remove from the list   ==========================================   This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-239008 - Basis Advance screen quantity is wrong for ticket|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-239008]   Basis advance screen is pulling the incorrect quantity for the ticket.       Steps to Reproduce:   # Create a purchase basis contract for 5000 bu soybeans # Deliver 3 tickets for 1000 bu against the contract # Open Basis advance screen # "Ticket Unpriced Qty" is showing incorrect values which makes other fields incorrect     Acceptance:   # Create a purchase basis contract for 5000 bu soybeans # Deliver 3 tickets for 1000 bu against the contract # Open Basis advance screen # "Ticket Unpriced Qty" should show the unpriced amount for each ticket ## In this example, each ticket should show 1000 bu # Entering a futures price and advance % should allow the Gross Settlement, Net Advanced and Amount to Advance to calculate correctly     !pastedImage_d127681_8.png|height=650,width=1904!   !pastedImage_d127681_9.png|height=277,width=1523!   !pastedImage_d127681_10.png|height=301,width=1516!