HDTN-307493 - Provisional Invoice currency in EUR is not computed correctly

Issue No: LG-5132
Created 8/9/2023 10:11:05 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-324866 - Database restore request|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-324866] Steps:   # create Priced purchase contract ## Exchange ICE - USD/100 lbs ## Basis in USD/100 lbs ## Cash Price expected in USD/100 lbs # create Basis sales contract ## Exchange ICE - USD/100 lbs ## Basis in USD/100 lbs ## Cash Price expected in USD/100 lbs ## Invoice Currency in EUR/kg ## Exchange Rate 0.942420 EUR/1 USD # allocate basis purchase contract with basis sales contract # create Load/Shipment ## Drop Ship # Click Shipment # post Load/Shipment   Issue: Missing conversion to KG from 100 lb. Incorrect Provisional Invoice currency computation   Acceptance: Should have the correct price   # provisional price expected to be calculated by ## last available exchange close (USD/100 lbs) + Contract Basis (USD/100 lbs) = provisional cash price (USD/100 lbs) ## convert provisional cash price(USD/100 lbs by applying Exchange Rate 0.942420 EUR/1 USD = provisional cash price (EUR/100 lbs) ## convert the provisional invoice price to (EUR/kg)