HDTN-236150 - Grain discounts wrong - two issues

Issue No: GRN-1725
Created 9/19/2019 4:07:25 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3, 19.1
Description Steps:   1. Make sure that Discount Codes to use is calculating Discounts on Gross Weight.   !pastedImage_d124564_0.png|height=576,width=921!   2. Create Delivery Sheet for Split. Sample below:   !pastedImage_d124564_1.png|height=770,width=1044!   3. Distribute Load In tickets using the created delivery sheet.   !pastedImage_d124564_2.png|height=738,width=997!   4. Open Delivery Sheet and enter grade. Sample below:   !pastedImage_d124564_3.png|height=768,width=1048!   5. Post the delivery sheet.   !pastedImage_d124564_4.png|height=770,width=1049!   6. Distribute another load in ticket to open storage using same item and vendor.   !pastedImage_d124564_5.png|height=740,width=1156!   7. Settle the storage created from posting delivery sheet and ticket 2.   !pastedImage_d124564_6.png|height=738,width=999!   Discounts Due is computed correctly based on Gross:   !pastedImage_d124564_7.png|height=124,width=787!   8. Post the settlement and open the Settlement detail for delivery sheet   Issue:   Discount Due is incorrect.   !pastedImage_d124564_8.png|height=736,width=1000!   Checking the GL entries for Settlement, it is reflecting correct amount though.   !pastedImage_d124564_9.png|height=404,width=1785!   Opening the voucher, it has correct discount amount:   !pastedImage_d124564_10.png|height=782,width=1633!   Same amount is being offset on the ap clearing entry of voucher:   !pastedImage_d124564_11.png|height=455,width=1783!   Acceptance:   From the tabulation above, should be 686.701   =====================================   This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-236150 - Grain discounts wrong - two issues|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-236150]     Discounts are being calculated differently on the Settle Storage screen and the voucher created from settling storage. The voucher calculation for the discounts is correct.   It looks like the storage screen discount calculation might be calculating on Net or Gross weight even though the discounts are setup with combination of Gross or Net weights.   +Example+:   DS 1008-19005 and BL-21694   !pastedImage_d124564_12.png|height=483,width=661!     +Acceptance+: Calculated discounts on the settle storage screen should match the voucher once the storage is settled.