Storage - Bill Discount - not calculating split portion of the discount

Issue No: GRN-754
Created 10/12/2017 2:34:44 PM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 17.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-204037 - Splits not calculating discounts correctly|http://helpdesk.irely.com/iRelyi21live/i21/#/HD/Ticket/?ticket=HDTN-204037]           Versailles 17.1.1002.     Company 01, Ticket 42403, Gary Miller, Terry Miller Grain Bank   Bill Storage for the Moisture discount based on Gross units is not splitting the total discount to the portion that each split entity owes.   example   ticket   !pastedImage_d84308_0.png!   Storage   !pastedImage_d84308_1.png!   Voucher   !pastedImage_d84308_2.png!   Steps to Replicate the Issue:   # Go to Ticket Management → Tickets # Create a Load in ticket with Discount and Split. # Distribute the scale ticket against Open Storage # Go to Storage → Click on Bill Discount button in Menu bar # Verify the Discount total for the Split Customer.   Issue: Application was calculating the Discount total on Net quantity of the ticket instead of Split amount of the quantity for the specific split customer.   Acceptance: Discount total for the Split customer should be (Discount Rate * Total Quantity)* Split % for that particular customer