CLONE - Provisional invoice - invoice total calculation is wrong.

Issue No: LG-1482
Created 5/22/2018 5:46:35 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-271651 - Provisional invoice value calculation issue |https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-271651]   When provisional invoice is created then it is calculated based on the c/lb multiplied with metric ton value.   For eg:   * sales contract 320 x 60 kg bags = 19.2 MT * basis - 35 c/lb * Future settlement price for Jul 18= 151c/lb * Invoice currency in FX tab of the sales contract is EUR and 1.27 is the conversion factor.   So while calculating provisional invoice   Contract price should be 151+35 = 186 c/lb and the price should be converted value .   That is not showing in provisional invoice.   Hence the total calcualtion is showing wrong . it should multiply with the converted value and show the invoice total . instead now it is multplying with the contract price.     !pastedImage_d97328_0.png!   Issue 2:   I have fixed the sales contract and now the contract price is 190 c/lb   I clicked on process button in the provisional invoice and final inovice is created.   In Final invoice we are showing contract price is same as converted value   It shuld be 190c/lb   !pastedImage_d97328_1.png!     Sales Contract   !pastedImage_d97328_2.png!   FX Tab   !pastedImage_d97328_3.png!