Ag Source: HDTN-263829 - Load out Discount for Ardent Mills discount does not work after update to 20.1.0816.1049

Issue No: AR-13698
Created 8/20/2021 3:15:24 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-263829 - Load out Discount for Ardent Mills discount does not work after update to 20.1.0816.1049|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-263829]   *Steps:*   1. Create a sale contract   2. Create Ticket > Load Out > Contract   3. Distribute ticket   4. Priced the contract > Open Invoice   *Issue:*   Discounts on invoices are not picking/calculating the correct Price on the invoice. Reviewing the Inventory Shipment, the discounts are calculated correctly but not when the invoice is created. Issue seems to have the last update 20.1.0816.1049.   Example:   Ticket AW00139-B   !pastedImage_d168295_0.png|height=393,width=534!     Inventory Shipment IS-4298 with correct discounts   !pastedImage_d168295_1.png|height=160,width=533!   Invoice SI-5871 with incorrect discounts.   (I've asked the scale tickets to be undistributed until this is corrected)   !pastedImage_d168295_2.png|height=225,width=540!   *Acceptance:*   To calculate discount correctly in Invoice