Price Contracts: Hedging from Price Contract Screen - Should not be able to hedge partial lots

Issue No: CT-3895
Created 10/9/2019 11:30:30 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.2
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-236958 - Price Contracts: Hedging from Price Contract Screen - Should not be able to hedge partial lots|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-236958]           Steps:     # Prerequisites ## Enter a Basis Contract ( Purchase or Sale) for a quantity less 1 full lot. For example: Purchase Basis contract for Soybeans for 1,000bu. (1 lot for soybeans is equal to 5,000bu) ## In the price contract screen select the contract created above ## Price the contract and also check the "Hedge" flag. System should enter the correct lot in the box, but user should not be allowed to save if "hedge lot" is less than a full lot. User should be able to over ride "hedge lot" box and enter a full lot even if it is greater than the contract qty and hedge a full lot.   Issue: User is able to hedge partial lots from Price contract screen.   Acceptance: User should only be able to hedge full lots. If hedge box is selected, user should not be able to save and create a hedge for a partial lot. Only full whole integer lots should be allowed to be saved.   !pastedImage_d125249_0.png|height=255,width=834!