HDTN-264776 - LOSS/GAIN printed wrongly in the final invoice

Issue No: LG-3056
Created 9/23/2021 1:36:25 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-264776 - LOSS/GAIN printed wrongly in the final invoice|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-264776]   Refer attached mail that explains the issue in printing GAIN or LOSS in the final invoice document.   STEPS:   1. Create Purchase and Sale Contract   2. Allocate the 2 Contracts   3. Create Dropship Load Shipment   4. Create Voucher   5. Create Provisional Invoice   6. Process to Final Invoice.   7. Modify the Gross Weight > Shipped and Post   ISSUE:   1. displayed LOSS even if the Final Invoice is greater than provisional Invoice   2. displayed negative Weight   3. displayed Less even if the Final Invoice price is greater than Provisional Invoice price   4. displayed DUE TO YOU   !pastedImage_d170670_0.png|height=495,width=705!     ACCEPTANCE:   1. should display GAIN. Final Invoice is greater than Provisional Invoice   2. should not display negative qty   3. should display More   4. should display DUE TO US