HDTN-265092 - System is allowing to assign more physical contract lots than available

Issue No: RM-4385
Created 10/4/2021 2:36:58 PM
Type Feature
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-265092 - System is allowing to assign more physical contract lots than available |https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-265092]   1. Create a futures trade FT 1 with 8 lots.   2. Create a physical purchase contract P1 with 4 lots.   3. Assign futures trade FT 1 and physical purchase contract P1   4. Save it   5. Assign futures trade FT 1 and physical purchase contract P1   Issue   System is allowing to assign the lots even though physical purchase contract P1 does not have a lot.   !pastedImage_d171080_0.png|height=340,width=600!   Expectation   System should not allow user to assign the lots if enough lot is not available in physical purchase contract.