CLONE - TR's Surcharge Amount is wrong in Inventory Receipt > Charges & Invoice tab

Issue No: IC-7636
Created 8/8/2019 11:47:18 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-234378 - FREIGHT INVOICE INCORRECT IF MORE THAN ONE PRODUCT - refer to Concepcion|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-234378]           *Steps to Reproduce:*     *Step 1* : Go to Transports > Transport Load   *Step 2* : Click New Button   *Step 3* : Enter the following details: !pastedImage_d122631_0.png|height=808,width=1100!   *Step 4* : Click Receipt Detail   *Step 5* : In Inventory Receipt, Click Charges & Invoice Tab   *Step 6* : Check the Freight and Surcharge Calculations   {color:#e74c3c} *Issue:* {color} !pastedImage_d122631_1.png|height=327,width=1471!     {color:#2ecc71} *Acceptance Criteria:* {color}   Values should be correct same as the below:   |RL|Quantity|Unit Cost|Freight Rate|Surcharge %|Surcharge $|Freight Amount| |RL-1|6914|1.7572|0.02016|0.28|39.0281472|139.38624| |RL-2|1978|2.2702|0.02016|0.28|11.1654144|39.87648|     This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-234378 - FREIGHT INVOICE INCORRECT IF MORE THAN ONE PRODUCT - refer to Concepcion|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-234378]     IR originated from TR, on Inventory Receipts screen > Charges & Invoice tab, Surcharge Amounts are incorrect. See screenshot in comment.     Verified Fix using 19.1.0809.327 = PASSED   Steps in testing:   1)Create a Transport load and replicate the data above   2)Click receipt detail   3)Check for the other charge   4)Check the computation   Result: The computation of Surcharge and Freight amount is matched   Acceptance: the computation for the Surcharge and Freight amount should be correct   !pastedImage_d122631_2.png|height=798,width=1110!   !pastedImage_d122631_3.png|height=826,width=1110!