Mark to Market - In Transactions tab the value of Contract Futures is displayed wrongly

Issue No: RM-4394
Created 10/14/2021 4:28:28 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 20.1, 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-265237 - INC0238039 : Values look suspicious for Rothfos|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-265237]   JDE customer has reported the below issue in their Live environment.   Background of the issue:   In Mark to Market open the record M2M-44     *STEPS*   [http://jira.irelyserver.com/secure/Tests.jspa#/testCase/JDE-T316]   *Issue* :   In the Transactions tab for the contract 1005339.975-1 and 1005339.816-1 the Contract Futures is displaying wrongly. It should be 4,047.68 instead of 404.769,0435. Because of this the Net Gain/Loss is also showing wrongly as -69.205.030,07   *Acceptance* :   It should display the correct value in Contract Futures and Net Gain/Loss   {color:#000000}The following should be displaying{color}   * Type: Contract(P) * Shipment Level: Contract Number-1 * Counterparty: *** venfor selected * Market: NY ICE * Location: Utrecht * Market Zone: Blank * Month: Trading Month in the Contract Sequence * Open qty: 172.8 * Commodity: Coffee * Item/Basket: 49600227 * Origin: Blank * S/A/D: Shipment * Period: Month and Year of Contract Sequence End Date * Start Date: Date in Contract Sequence (First Date of the month * End Date: Date in Contract Sequence (Last Date of the month * Planned Availability: Date in the Contract Sequence * P/PP/UP: Fully Priced * Pricing Type: Priced * Contract Basis: 0 * Contract Ratio: 0 * Contract Futures: 4,047.6904 * Contract Cash: 0 * Contract Price: 4,047.6904 * Cost: 0 * Adj Price: 4,047.6904 * Market Basis: 0 * Market Ratio: 0 * Market Futures: 4276.97 * Spread * Market Cash * Market Price: 4,276.9714 * Net Gain/Loss: 39,619.75 * Basis Gain/Loss: 0.00 * Ratio Gain/Loss: 0.00 * Futures Gain/Loss: 39,619.7464 * P & L Cash: 0