HDTN-246515 - Storage By Discount Factors Report - The Discount Code Filter is not working

Issue No: GRN-2185
Created 6/3/2020 2:27:36 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-246515 - Storage By Discount Factors Report - The Discount Code Filter is not working|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-246515]     Steps:   In Ticket Management > Storage by Dockage and Test Weight   Generate report .     Issue:     When filtering by Discount code no data is returned     If the report is run on MCP with just the commodity filter = SWW, it returns four pages with two discount factors returned Dockage and Test Weight, may want to check the results I expected more discount factors based on the delivery sheets   Now run the report a second time adding the filter Discount code = D1-test weight , no data is returned   should have seen the test weight from the first run   also the dropdown for discount code should only show options for the commodity selected   In the console I see the following errors:   !pastedImage_d137827_0.png|height=189,width=545!     When I run the Storage by Discount factors wide open the report will generate but if I put a discount code filter on nothing will print but the report header.   Seems the report is much smaller than it should be. Wide open it prints only ten pages.     Acceptance: Should be able to generate report