HDTN-275400 - Incorrect Derivative Future Month Encountered in Daily Diagnostics

Issue No: RM-4858
Created 7/20/2022 10:08:04 PM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-275400 - Incorrect Derivative Future Month Encountered in Daily Diagnostics|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-275400]     There are incorrect derivative future months when checking Daily Diagnostics.     Steps to replicate:   1. Go to Risk Management module > click Derivative Entry   2. Click New button > add required details especially futures market and future month   3. Click Save button     Issue: Selected future month is of different future market     Reference for Daily Diagnostics with Issue below:   h1. Summary ||Commodity||Bucket||Source Summary||DPR Summary||Difference|| |Soybeans|Futures|1,684.00|1,684.00|0.00| |Soybeans|Crush|-16,392,176.02|-16,392,176.02|0.00| |Soybean Meal|Futures|-2,547.00|-2,547.00|0.00| |Soybean Meal|Crush|360,627.87|360,627.87|0.00| |Crude Soybean Oil|Futures|-2,688.00|-2,688.00|0.00| |Crude Soybean Oil|Crush|180,313,936.22|180,313,936.22|0.00| h2. Incorrect Derivative Future Month ||Commodity||Transaction Reference||Future Month||Derivative Future Market||Future Market of Future Month|| |Soybeans|DER-16224|Aug 22|CBOT Soybeans|Oil Crush| |Soybeans|DER-16225|Aug 22|CBOT Soybeans|Oil Crush| |Soybeans|DER-16226|Aug 22|CBOT Soybeans|Oil Crush| |Soybeans|DER-16227|Aug 22|CBOT Soybeans|Oil Crush| |Soybeans|DER-16228|Aug 22|CBOT Soybeans|Oil Crush| |Soybeans|DER-16229|Aug 22|CBOT Soybeans|Oil Crush| |Soybeans|DER-16230|Aug 22|CBOT Soybeans|Oil Crush|     Acceptance: Should not save derivative if selected future month is not of the set future market.     *Program Fix:* Should add validation in Derivative Entry screen to check the selected Derivative Future Market vs the Future Market of the selected Future Month to ensure correct Future Month Id will be saved.