HDTN-324492 - Derivative (long futures) wrong p-contract balance lots

Issue No: RM-5847
Created 12/22/2023 1:56:18 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-324492 - Derivative (long futures) wrong p-contract balance lots|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-324492]   *Steps to replicate:*   Follow Steps:   [https://jira.irelyserver.com/secure/Tests.jspa#/testCase/MTP-T736]   [https://jira.irelyserver.com/secure/Tests.jspa#/testCase/MTP-T737]   # Create Derivative (20 Contract Lots) # Update Derivative (15 Contract Lots) # Verify P-Contract balance lots on Assign Derivative Screen     *Issue:*   Found a mismatch between the Assign Derivatives screen and the Derivatives Entry screen (please see screenshots below).   * Assign Derivatives – Lots show 4, but P-contract balance lots show 5 * Derivative Entry screen – shows 4 contracts * Additional Context: DER-2148 was originally 9 lots. Subsequently 4 lots were rolled, and then 1 lot was rolled, leaving 4 lots   _i need to assign the remaining 4 lots for DER-2148, so after assigning, it shows 1 lot remaining (last screenshot below)._   !pastedImage_12_23_2023__0_27_04_322.png|height=70,width=617!     !pastedImage_1_2_2024__12_51_19_559.png|height=384,width=1241!   !pastedImage_12_23_2023__1_23_07_777.png|height=185,width=600!   !pastedImage_1_2_2024__12_52_58_773.png|height=160,width=1241!     *Acceptance:*   P-Contract Balance Lots should display the value of the remaining number of lots.