HDTN-262898 - Voucher BL-22947 duplicate discount between Spot and contract bu

Issue No: SC-4251
Created 7/27/2021 11:14:51 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-262898 - Voucher BL-22947 duplicate discount between Spot and contract bu|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-262898]     Steps:   Create vendor split   Create purchase priced contract for each vendor.   Create scale ticket where distribution type is split (contracts)   Manual distribute ticket.   Allocate units for 1st vendor to spot and contracts.     Issue:     Voucher BL-22947.   Instead of taking the discount from the amount of the bushels applied to contract and the amount applied to spot separately, the discount amount was duplicated and listed twice.   Ticket 108254 was split between two vendors. One part applied to contract and the other vendor Spot.   During Distribution, two IR's were created. IR-22149 and IR-22150. IR-22150 is correct but IR-22149 doubled the discounts. This created the voucher with the discounts doubled.   !pastedImage_d166600_0.jpg!   Acceptance:   Charges should be well-represented in IR charges sections